Condition
A Condition block steers the conversation in a way or another if variables meet certain condition(s).
Last updated
Was this helpful?
A Condition block steers the conversation in a way or another if variables meet certain condition(s).
Last updated
Was this helpful?
Add a Condition block by 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.
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.
We launched expression syntax as a beta feature. You can use expression syntax inside Condition blocks as variables. Read more below 👇