vaidehi16
(Vaidehi Deshpande)
September 25, 2020, 12:46pm
1
So I have chatbot deployed on a website using the REST channel.
I want to have the following things displayed by default when I open the chat window.
Bot: Hi how may I help you?
Bot: Get started by asking:
(5-6 Buttons will be displayed)
The user will select anyone button & henceforth the conversation flow will continue.
For this task , what are the things to be done exactly , in html or use the custom actions?
Please help.
Thanks & Regards,
Vaidehi Deshpande
gaushh
(Gaurav Sharma)
September 25, 2020, 2:25pm
2
This can be done on the frontend.
For instance, you can make buttons on the frontend display them to the user at the start of each session. When the user clicks on a button, the value associated with that button can be sent to the bot as the user message to initiate the conversation, to which the bot can reply accordingly.
vaidehi16
(Vaidehi Deshpande)
September 28, 2020, 5:09am
3
how do I send the value associated with buttons to the bot ?
gaushh
(Gaurav Sharma)
September 28, 2020, 5:39am
4
See how button name and value works here .
vaidehi16
(Vaidehi Deshpande)
September 28, 2020, 5:46am
5
This is my Frontend code… where the button is Frequently Asked Questions.
gaushh
(Gaurav Sharma)
September 29, 2020, 11:34am
6
Hi @vaidehi16
See if this thread helps your use-case.
I try it, but the response data is null, what happens? thanks
1 Like