Rapidbott Help Docs
HomeInstagramFacebookLinkedInTwitterWebsite
  • Welcome !
  • start here
    • Getting Support
    • FAQ's
    • WhatsApp Common Questions(FAQ)
    • Pricing Plans
  • getting started guide
    • Introduction
    • Set your goals
    • Building your Chatbot with Rapidbott.
    • Maintain success
  • Rapidbott guide for beginners
    • Introduction
    • What is a Chatbot
    • Channels
    • Benefits & importance
    • Use cases
  • platform
    • Introduction
      • How to start free trial
      • Forgot Password
      • Getting Started Checklist
      • Platform Overview
      • Workspaces & Members
      • Platform default limits
      • Integrations
        • Stripe
        • PayPal
        • Cloudinary
        • Shopify
        • Facebook Business
        • Calendly
        • Slack
        • Google Sheets
        • Data Store
        • Twilio
        • Signalwire
        • Email (SMTP / Gmail)
        • MailChimp
        • VideoSdk
      • Ecommerce
        • Setup Ecommerce
        • Use Ecommerce in the Flow
        • WooCommerce
    • Connect to Channels
    • Agents Group Chat
    • Website Chat
    • My Contents
      • Email Templates
      • Rapidbott Bot Templates
    • WhatsApp Channel
      • Connect with WhatsApp Cloud API
        • Using a phone number already in use with WhatsApp App
        • Step-by-Step Coexistence Onboarding
      • WhatsApp Cloud API Old
      • Connect with Com.bot
      • Connect with Twilio
      • Connect with 360Dialog
      • Connect with 360 Dialog Sandbox
      • How to get your business verified?
      • WABA Policy Enforcement
  • flow builder
    • Flow builder overview
    • Basic Actions
      • Add & Remove Tag
      • Subscribe and Unsubscribe to Bot
      • Set Email Opt-in & Opt-Out
      • Set SMS Opt-in & Opt-Out
      • Steps
      • Question step
      • Variable Operation
      • JSON Operation
      • Send Notification
      • Condition Step
      • Split Step
      • Go To Step
      • Mark Conversation Open/Pending/Spam/Done/Invalid
      • Add note to teammates
      • Delete Bot User
      • Assign to agent/agent group
      • Resume Bot Automation
      • Talk to human/Pause automation
    • Advanced Actions
      • External Request
    • Field variable
    • Sub Flows
      • Sub Flow
      • Workflow
      • Function Flow
  • Artificial Intelligencs
    • OpenAI | ChatGPT
    • DeepSeek AI
    • Google Gemini
    • Claude AI
    • X.AI Integration
    • Coze
    • Dialogflow
  • Mini Apps
    • What is Mini-App?
    • Create Mini-Apps (1.0)
    • Use Mini-Apps
    • Publish Mini-App
    • Mini-App 2.0
      • Overview (mini-app 2.0)
      • Flow Builder (mini-app 2.0)
      • Flows
      • App Fields
      • Auth
      • Action Subflow
      • Triggers
      • One Time Urls
      • Sources
      • Settings
      • Razorpay Demo (Indian Payment Gateway)
  • Users
    • Live Chat
    • Bot Contacts/Users
  • bot automation
    • Keywords
    • Sequences
    • Triggers
    • Comment Keywords
  • contents
    • Custom Fields
    • Tags
    • One Time Notification (Facebook)
    • Personas
    • Menus
    • Customer Feedback (Facebook)
  • tools
    • Error Logs
    • Testers
    • Admins
    • Multi Languages
    • Inbound Webooks
  • Broadcasting
    • Broadcasts
  • developers
    • Rapidbott API
    • Dynamic Content
      • Messages format
      • Buttons
      • Actions format
      • Quick replies
      • Goto
      • Variables
  • Beta Launch
    • Day One
  • Common Error Log Database
    • Common Errors
      • Global Error
      • Facebook Channel Common Errors
      • WhatsApp Channel Common Errors
      • Instagram Channel Common Errors
      • Webchat/Omnichannel Errors
      • SMS Channel Common Errors
      • Voice Channel Common Errors
      • Telegram Channel Common Errors
  • Bot Add-Ons
    • Bot Add-Ons
  • community
    • Website
    • Facebook
    • Instagram
    • Twitter
    • LinkedIn
Powered by GitBook
On this page
  • Tag & Sequence Condition
  • Text Variable Condition
  • Number Variable Condition
  • DataTime Variable Condition
  • JSON Variable Condition
  • Custom Input
  • Math Formula

Was this helpful?

  1. flow builder
  2. Basic Actions

Condition Step

PreviousSend NotificationNextSplit Step

Last updated 4 months ago

Was this helpful?

With the Condition step, you can go to different steps/sub flows depends on conditions.

In your Condition step, click on "+ Add Condition Group" to set at least one condition group. "Otherwise" group is always there.

You can make as many condition groups as you need. The matching start from the top to the bottom, once a group matched, the system goes to a named step. When it fails to match all condition group, the "Otherwise" group will take over it. So it's always a good practice to name a step in the "Otherwise" group even it is very unlikely to be used.

Another important thing to know is the difference between "All conditions" and "Any conditions". It is sitting at the upper right corner of each condition group.

You can list more than 1 condition in a condition group. When you do, it matters whether you choose "All" or "Any".

"All Condition" means to get this group matched, you will need to have all the conditions matched in the group.

However, to get a group with "Any Condition" matched, you only need to have one of the conditions matched.

Tag & Sequence Condition

For tag and sequence condition, you can choose "in" or "not in" from the "Operator". Choosing multiple tags/sequences is allowed.

Text Variable Condition

These are all the operators for text condition.

For "has any value" and "is empty" of all variable types, when you clear a variable, the variable becomes empty. Thus, "has any value" is false and "is empty" is true for this variable.

Number Variable Condition

These are all the operators for number condition.

DataTime Variable Condition

These are all the operators for DateTime condition.

Note that you will need to put "value" always as the correct format "yyyy-MM-dd HH:mm:ss" no matter which displayed format you choose for that variable.

"before/after" is different from "time before/after". The former compare the whole datetime value while the latter only compare the time value.

JSON Variable Condition

These are all the operators for JSON condition.

The very last 3 operators, "has item matched with ...", require the JSON to be a list of variables, not a list of JSON. In other words, if your JSON is storing a list of normal variables, these 3 operators work. They won't work for a JSON storing a list of JSON.

Custom Input

Custom input is built for compare values in JSON variable. Search "custom input" in the if field:

Pick a value from a JSON, then you can compare it as you use the text variable condition.

Math Formula

With this operation, you can now do formula calculation directly in the Action Step - "Set Variable Value" and Condition Step - "Value".

Math operations and function supported:

+, -, *, e, pi, PI, abs(), min(), max(), ceil(), floor(), log(), pow(), round(), sqrt(), sin(), cos(), tan()

Please note that

If the formula is invalid, the system will return 0 to number variable and empty to text variable.

condition