Create buttons in Rasa X

Hi, I was wondering if there’s a way to create responses with buttons in Rasa X? Or does this have to be done directly via domain.yml? Thanks!

Hi @sona you can declare the payload of the buttons as intent in nlu.md and domain.yml , after that you can update the stories.md with the correct responses.

Eg:

in domain.yml :

 utter_InvestorRelations:
   - buttons:
     - payload: /CorporateGovernance
       title: Corporate Governance

in nlu.md :

## intent:CorporateGovernance
- CorporateGovernance
- Corporate Governance

in stories.md :

## Story InvestorRelations_CorporateGovernance
* CorporateGovernance
    - utter_CorporateGovernance
    - utter_did_that_help