How to branch your chatbot in 3 steps
When designing a flow with multiple options you might want to branch or split your flow. This article will show how to branch your flows by combining multiple triggers.
1. Create a Flow
Create a new flow where you would like to create a branch. In most cases this will contain a question prior to the split or branch. In the example below we will be working with the question: “Would you like to know more about branching your flows?”.
2. Add Triggers
The closed question above will result in a yes or no input by the end-user. Our next step is to make sure that the user-input will trigger the bot. Therefore, we drag & drop two text replies next to each other.
3. Add content
After adding both of the triggers you can now follow up with a reply by the bot in both branches and your done. You’ve create a branched flow.
Tip 1: Combine branching with Quick Replies
Branching flows and Quick Replies are a great combination. Improve the speed of interaction and reduce errors by using quick replies. Read more about quick replies at our Quick Replies article
Tip 2: Expand and collapse branches
While branching your flows, you can change between views. The expanded view is great for visualizing but takes more space on your canvas. The collapsed view is great for narrowing down your view.
You can switch between views by clicking the “> <” sign in your expanded view or by clicking the “<-|” sign in your collapsed view.
Tip 3: Multiple branches vs. linking flows
Branching is great but branching to often within the same flow might affect the readability of your design. You might want to branch in some cases but link to other flows in other cases. If you’re not sure to go for branching or for linking flows, feel free to contact our team at [email protected]