Interactive Message Templates (Adding buttons to whatsapp chat)

I Think Twilio have updated the UI where you can add WhatsApp buttons, you have to create templates in the dashboard and submit it for approval, once approved when you will send the exact message Twilio will append the buttons.

And to understand the buttons on the rasa end I had to create a custom channel. All you have to add is one if condition in the existing Twilio channel and rename it. if Rasa haven’t updated it yet.

text = request.form.get("Body", None)

if not text:
      text = request.form.get("ButtonText", None)

Hope this will :slightly_smiling_face:

1 Like