Return buttons over webhook

Is it possible to return buttons in a webhook?

Yes, we can send buttons in a webhook. For example: in your domain.yml, you can define button in the template.

templates:
   utter_did_that_help:
     - text: "Did that help you?"
       buttons:
       - title: "Yes"
         payload: "yes"
       - title: "No"
         payload: "No"

You can refer the docs page for other types of templates.

Thanks for your help. But what I meant was whether it is possible to return buttons in a webhook. So write the buttons into the response. Luckily I have found a solution in the meantime: I could extend the webhook-response with buttons which have the same structure as in the Rasa-Core Client. This works :slight_smile:

Hey Rein, Could you share how you did this? :slight_smile: I am very interested in your solution.