Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello,
I have an integration with RASA and in RASA I can define answers with buttons (and other graphical elements), how can I make these buttons show to the user?
request:
curl --request POST --url http://localhost:5005/webhooks/rest/webhook --header 'content-type: application/json' --data '{
"message": "Hello"
}'
response:
[
{
"recipient_id": "212231200",
"text": "How are you?",
"buttons": [
{
"title": "Happy",
"payload": "/happy"
},
{
"title": "Sad",
"payload": "/sad"
}
]
}
]
tks
Last edited by diegpied (2022-05-04 22:07:18)
Offline
The only way to support buttons you will have to send response as Trigger body
https://doc.livehelperchat.com/docs/bot/trigger-body
Offline
Hello Remdex,
I'm executing the steps in the manual, but I don't have the expected results, could it be that I'm doing something wrong?
Create a demo web service
This responds the message that is in the documentation
And I configured it like this:
But the response to the user is the code of the web service.
I would appreciate the help
Offline
Hi,
I'm afraid that it won't work please see. Samples. https://doc.livehelperchat.com/docs/bot … on-intent/
You still would need lhc triggers unless you make so intermedia service.
Offline
Thanks for your answer.
I can make a custom channel in RASA and customize the response, but I need to know how LiveHelperChat needs to receive the message with the structure needed to paint buttons or other graphical components.
Tks
Offline
You can just in bot builder interface use "Show code" button and see how response has to look like and afterwards provider same response. In bot trigger response.
Some thing like that
Offline
Pages: 1