Better Integration with Whatsapp Templates
# 👀feature-requests
w
Hi, there! I was wondering if there could be a better integration between Botpress and Whatsapp Templates. Currently, I see no easy way of properly handling user interaction with templates' buttons. For instance, I may create a template asking whether the user wants to talk to a sales person or see some offers, and present two buttons:
Talk 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.
2 Views