Condition
Create conditions to branch your chatbot flow.
To branch out to the next step in a chatbot flow based on a logical condition, use the condition action block.
You can create a set of conditions for each branch in the chatbot flow.
Condition action block is made up of three sections:
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
Conditions can be evaluated using ANY for at least one condition to be satisfied, or ALL for all conditions to be satisfied.

Operators Supported
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.
Last updated