WotNot Help Center
Create a ticketBook a demoProduct
  • 👋Welcome!
  • 🏁Getting Started
    • Building a chatbot
    • Testing a chatbot
    • Publishing your bot
      • Web
        • Embed chatbots on website
      • WhatsApp
        • Meta
        • 360Dialog
        • Twilio
        • GupShup
        • TechAlpha
      • Instagram
      • Facebook Messenger
      • SMS
      • Mobile app
      • API
    • Utility Tools
    • Contacts
      • Scheduling a Contact Report
      • Exporting a Contact List
      • Blocking contacts
    • Chatbot Appearance
      • Custom CSS
      • Image dimensions
      • Pop-up messages
  • ⚒️Bot builder
    • Action blocks
      • Trigger
      • Send message
      • Collect input
      • Buttons
      • Reply buttons
      • Carousel
      • Agent
      • Answer AI
      • Set AI
      • Send an email
      • List
      • Condition
      • Talk to human
      • Dynamic data
      • Javascript
      • Collect file
      • Form
      • Webhook
      • Flow
      • Jump
      • Options
      • Calendar
      • Delay
      • Codeblock
      • Slider
      • Image gallery
      • Send WhatsApp
      • Send SMS
      • Send Email
      • Send Status
      • WhatsApp flow
      • Catalogue
    • Outbound bots
      • Building One Off Campaign
      • Building Ongoing Campaign
    • Variables
    • Cloning bots
    • Requesting edit access
    • Connecting action blocks
    • Creating a loop
  • ✨AI Studio
    • Building a GPT chatbot
    • Knowledge base
    • Custom Answers
    • Functions
    • Prompts
    • AI credits
    • Refresh frequency
  • 💬Live Chat
    • Overview
    • Building a bot with live chat
    • Creating views
    • Adding labels
    • Saved replies
    • Settings
  • 🔗Integrations
    • Overview
    • HTTP request
    • Ready integrations
      • Google Calendar
      • Google Sheets
      • Google Analytics
        • Using Javascript
      • Salesforce
      • HubSpot
      • Calendly
      • Slack
      • Airtable
      • Zendesk
      • Freshdesk
      • DialogFlow
      • Zoho CRM
    • Events
    • Zapier
    • Public APIs
  • 💬WhatsApp Business API
    • Getting a WhatsApp API
      • Getting WhatsApp API (Old approach)
      • Sandbox WhatsApp API
    • Facebook Business Manager (FBM) Verification
    • Creating a WhatsApp Template
    • Cost
    • Messaging Limits, Quality Rating
    • Official Business Account (Green tick verification)
  • 📊Reporting
    • Overview
    • Chatbot Report
    • Agent Report
    • Outbound Report
    • Link analytics
    • Weekly email report
  • 🛠️Troubleshooting
    • Getting notification for leads
    • JS functions to trigger chat widget
    • Opt-out management
    • Setting up link tracking
    • How do I hard refresh my browser?
    • Cookies
    • Notifications
    • Tracking Facebook Pixel
    • Setting up SSO login
    • Inviting teammates
    • Teams
  • 🧑‍💻Support
    • Creating a ticket
    • Book a demo
    • Purchasing a subscription
    • Cancelling a subscription
    • Refund policy
    • Reset password
    • Deleting account
Powered by GitBook
On this page
  • Operators supported
  • Default condition

Was this helpful?

  1. Bot builder
  2. Action blocks

Condition

Create conditions to branch your chatbot flow.

PreviousListNextTalk to human

Last updated 11 months ago

Was this helpful?

For chatbot flows requiring a logical condition to be evaluated to branch out to the next step in the flow, you can use the condition action block.

You can create a set of conditions for each branch in the chatbot flow.

Each condition is made up of:

  • Variable - which contains the value to be compared.

  • Operator - specifies the operation to be carried out.

  • Value - the value against which the variable's value is to be compared.

All conditions will be evaluated with ANY if you want any one condition to be satisfied, and ALL if you want all conditions to be satisfied.

Operators supported

Operator
Description
Example

Equals to

Commonly used when you want to match the value of the variable with the defined value

"City" 'Equals To' "New York"

Not equals to

Commonly used when you don't want the value of the variable to be matched with the defined value

"City" 'Not Equals To' "New York"

Contains

Commonly used when you want the variable to contain the defined value

"URL" 'Contains' "Web"

Does not contain

Commonly used when you do not want the variable to contain the defined value

"URL" 'Does Not Contain' "Web"

Is empty

You can use this operator to identify whether the variable is empty or not

"Phone" is 'Empty'

Is not empty

You can use this operator to ensure that variable is not empty

"Name" is 'Not Empty'

Default condition

If none of the conditions are satisfied, the chat flow will automatically proceed toward the 'Default condition' branch on the bot builder canvas.

This default branch cannot be deleted.

⚒️
Setting up 'Branch' action block