We are building a chatbot and using angular as frontend. I am using rest api to get bot response to frontend. Currently, the bot response object contains text . But i want to send custom payload from custom action server and use the template. But i am getting empty response when i use “/webhooks/rest/webhook”.
Can you please let me know, if i am missing out any thing or how to achieve the above use case.
stories.yml file :
Domain.yml file
Custom Action Server Response:
{
“events”:,
“responses”:[
{
“template”: “utter_welcome_message”
}
]
}
REST API request to bot:
Response :