worried-window-19446
08/14/2024, 3:13 AMTalk to sales
and See offers
. If the user clicks on a quick reply button, I need to check whether the text matches the button text with an expression, and send the user to the appropriate flow. This can be easy for a bot that manages only one template, but currently my chatbot handles multiple templates. For example, suppose you have 3 templates and want to create a custom flow for each one:
Webhook Trigger 1 -> Start Conversation (Template 1) -> Handle Buttons 1 -> Flow 1
Webhook Trigger 2 -> Start Conversation (Template 2) -> Handle Buttons 2 -> Flow 2
Webhook Trigger 3 -> Start Conversation (Template 3) -> Handle Buttons 3 -> Flow 3
Currently, I need to manage the Handle Buttons 1, 2, 3 and the Flows 1, 2, 3 after the Start Node. I wish it was possible to do everything in the Webhook Trigger context.