Condition
A Condition block steers the conversation in a way or another if variables meet certain condition(s).
Add a Condition block by dragging and dropping it to your flow.

Condition blocks enable your bot to redirect the user to another block depending on the conditions of the session variables, following an if-then logic.

Set up your Condition block logic
Condition blocks follow an if-then logic, where each condition leads to a certain result. The bot will understand this logic by reading it from the top to the bottom.
In other words, this means that:
If statement A is true,
then the bot will Go to block X
Else if statement B is true,
then the bot will Go to block Y
Else,
then the bot will Go to block Z.
The order of the conditional items determines their priority. If a conditional item is met, other conditional items will not be taken into account.

🆕 Expression syntax (beta)
We launched expression syntax as a beta feature. You can use expression syntax inside Condition blocks as variables. Read more below 👇
🆕Expression syntaxLast updated
Was this helpful?