Can I make a menu/button based chatbot using Rasa?

Hello All,

I need to make a menu/button based chatbot using Rasa . Is it possible?

Hello All,

Kindly help?

It is possible to use buttons in Rasa. Take a look at Domains. You need to define the buttons in the templates, depending on the channel you want to use the buttons are rendered or just outputted as text.

1 Like

Have added buttons in the domain.yml

templates: utter_greet:

  • text: Hey! What is it that you want to do today ? buttons:
    • title: New Joiner payload: \options

I have an intent ## intent:options

but when i launched Rasa X to click on the buttons , it opens up a new window instead of taking it as an input .

#stories.md

Greet+bot_functions

  • greet
    • utter_greet
  • options
    • utter_bot_functions

Thanks for pointing that out! We are aware of the problem in Rasa X. We already have an issue for that in our internal repository and we are going to work on a fix as soon as possible.

1 Like

Thank you so much for replying . Happy coding :grin:

This way that button will only visible where the channel is supported. I want to integrate with WhatsApp chatbot where I’ll show a couple of options with numbers like

  1. option 1
  2. option 2
  3. option 3 then the user will only type numbers like 1/2/3.

How can we handle this this scenario in rasa nlu, stories and domain file?

1 Like

I am trying the same but can’t find the solution.