WooChat Docs
Login
  • 👋Welcome to WooChat Docs
  • GET STARTED
    • Signup
  • Connect WhatsApp Channel
    • Pre-requisites
    • Connect your WhatsApp
    • Meta Business Verification
    • Apply for WhatsApp Green Tick
    • Messaging Limits & Quality Ratings
    • WooChat Account Setup FAQs
  • CONVERSATIONS
    • WooChat Conversations Glossary
    • Inboxes
    • Team Inbox
    • Initiate a New Chat
    • Compose Box
    • Manage Inbox
    • Quick Replies
    • WooChat Conversations FAQs
  • Audience
    • WooChat Contact Glossary
    • Add Contact
    • Tags
    • Contact Segments
    • Field Collection
    • Contact Updation
    • Contact Deletion
    • Marketing Opt-In
      • Marketing opt-in on contact creation
      • Marketing opt-in Handling Methods
      • Marketing opt-out Management
  • BOTS
    • WooChat Bot Glossary
    • Bot Essentials
    • Bot in WooChat
    • Flow in the Bot
    • Send Card
      • Send Text
      • Send Media
      • Send Collection
      • Send Voice
      • Send Products
      • Send Template
      • Send Form
      • Send Payments
      • Send Location
    • Ask Questions
      • Ask Text
      • Ask Date
      • Ask Email
      • Ask Number
      • Ask Phone
      • Ask URL
      • Ask File
      • Ask Location
      • Ask Button Option
      • Ask Address
      • Ask Keyword Option
      • Ask List Option
      • Ask Collection List
      • Ask Form
      • Ask Payments
    • Bot Utilities
      • Send Button Option
      • Send List Option
      • Delay
      • Condition
      • Set Variable
      • Jump to
      • Switch
      • AI node - GPT Dialog
      • AI node - GPT Knowledge Base
      • Working hours
      • Hint
    • Bot Actions
      • Assign Conversation
      • Unassign Conversations
      • Resolve Conversations
      • Update Conversation Fields
      • Update Contact Fields
      • Update Company Fields
      • Push to Sequence
      • Add Note & Mention
    • Set up Default Bot
    • Bot Management
    • WooChat Bot FAQs
  • Whatsapp Campaigns
    • WooChat Campaigns
    • Select Audience
    • Select Template
    • Review and Send Campaigns
    • Campaigns Analytics and Report
    • WooChat Campaigns FAQs
  • ACCOUNT MANAGEMENT
    • Account Essentials
    • User, Teams, and Roles
    • Account Details
  • Pricing & Billing Modules
    • Conversation Pricing
    • Message Credits
    • Billing & Subscriptions
    • FAQs
  • Whatsapp Templates
    • WhatsApp Templates
      • Template Creation and Editing
      • Custom Marketing and Utility Templates
      • Product Marketing Templates
      • Order Details Template
      • Carousal Template
      • WhatsApp template URL tracking
      • FAQs - WhatsApp Template Messages
  • DEVELOPER RESOURCES
    • API Key
    • API Docs
  • Privacy and Security
    • Data Security and Infra
    • Security FAQ
    • Subprocessors
  • EXTRAS
    • WhatsApp Business API - Unsupported Messages
    • Understanding Message Delivery Issues on WhatsApp
    • WhatsApp’s New Per-user Messaging Limits
Powered by GitBook
On this page

Was this helpful?

  1. BOTS

Bot Essentials

PreviousWooChat Bot GlossaryNextBot in WooChat

Last updated 9 months ago

Was this helpful?

Bot Essentials

Create and customize your chatbot using WooChat's Bot Builder tool to enhance interactions and automate processes. Test your chatbot on WhatsApp and publish it with confidence.

WooChat Bot Interface

The Bot Builder is the core of the app, allowing you to design and personalize your chatbot to elevate your conversations. Here's a breakdown of the interface features:

  • Auto Grid Alignment:

    • '+' (Zoom In): Zooms in on content for a closer look at details.

    • '-' (Zoom Out): Zooms out to give a broader view of the canvas.

    • '[ ]' (Fit to Screen View): Adjusts the view to fit the entire content on the screen.

    • Lock (Enable View-Only Mode): Locks interactive elements to prevent accidental movement or modification, ideal for presentation.

    • Beautify Flow: Automatically arranges cards or elements to improve readability and flow.

  • Side Panel:

    • Contains five categories: Send Text, Ask Questions, Actions, Utilities, and Connections. Use the search function to quickly select a card or node.

  • Renaming a Node:

    • Allows you to rename bot cards or nodes for easier management. Custom names (up to 32 characters) can be assigned and will be visible in the Canvas, node editing mode, and bot session logs.

  • Test Bot:

    • Test your bot on WhatsApp before publishing by entering your number and clicking "Test."

  • Publish:

    • Ensure you publish any changes made to your bot to update it. Remember to do this during testing to apply new changes.

What is a Variable?

In WooChat bots, a variable acts as a digital container for storing user responses. Here’s how variables can be used:

  • String (Text): For storing text, numbers, emojis, and links.

  • Number: For storing numeric values only.

  • Date: For storing dates.

  • Array: For storing multiple elements of the same type.

  • Object: For holding structured data.

  • Boolean: Used in Condition blocks to check status (e.g., whether agents are online).

Creating Variables

Variables store values based on user inputs or choices within the bot flow. To create a variable:

  1. Choose a card and scroll to "Store response in the variable."

  2. Name the variable (should start with a letter and can include underscores).

  3. Click "Create."

Examples:

  • Save a customer's name in a variable called "name."

  • Save a customer's phone number in a variable called "phone."

Deleting Variables

To delete a variable:

  1. Choose the card and scroll to "Store response in the variable."

  2. Click the variable and hover over the delete button.

  3. Confirm deletion in the pop-up.

Validation Settings for Cards

Validation settings ensure the accuracy of data captured by the bot. Core and additional settings include:

  • Core Validation Settings:

    • Attempt: Number of attempts allowed for valid input.

    • Validation Error Message: Custom error message shown when validation fails.

    • Action on Invalid Response: Defines the action for invalid inputs.

  • Additional Validation Settings:

    • Minimum Range: Specifies the lowest valid numeric value.

    • Maximum Range: Specifies the highest valid numeric value.

    • Regex (Regular Expression): Describes text patterns using special characters.

      • Example Regex Patterns:

        • \d{3}-\d{3}-\d{4}: Matches phone numbers in the format ###-###-####.

        • [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,}: Matches email addresses.

        • ^https?://: Matches URLs starting with http or https.