Branch block

The branch block allows the chatbot to split a dialogue flow into two flows. You can use this as an if/else conditional logic.

To add a branch block to a dialogue flow, click the blue chatbot button and select Branch.

28502850

To create a new condition, click ADD NEW.

28722872

Enter the condition name. The branch block only supports the Python code syntax. The Condition 1 is the if statement and the following conditions are the elif statement. The else statement is created automatically as Otherwise in the branch block.

28722872

Once the condition has been specified, it will be saved automatically.

28722872

πŸ“˜

Note

There is a maximum of 10 conditions plus the Otherwise (else statement).


What’s Next