Hi there,
Really cool chatbot interface!
I'm a student experimenting with chatbots.
Been trying out the webhook feature for flow ai and have been having trouble sending a response back to flow ai. The JSON I'm looking to send is the Carousel one. If you could please take a quick look and identify what's wrong, it will be greatly appreciated. Cheers!
I've referred to https://github.com/flow-ai/flowai-js-templates/blob/master/JSON.md and https://docs.flow.ai/reference/webhook_replies.html.
Been receiving this message:
Webhook
error:Received invalid messages. Please check your JSON data.
This is the format of the JSON response I'm trying to send back.
"messages": [
{
"fallback": "Fallback message here",
"responses": [
{
"type": "carousel",
"payload": {
"cards": [
{
"title": "Item1",
"subtitle": "",
"media": {
"url": "image1_url",
"type": "image"
}
},
{
"title": "Item2",
"subtitle": "",
"media": {
"url": "image2_url",
"type": "image"
}
}
],
"delay": 0
}
}
]
}
],
"verifyToken": "token_value"
}```
Hi there,
Really cool chatbot interface!
I'm a student experimenting with chatbots.
Been trying out the webhook feature for flow ai and have been having trouble sending a response back to flow ai. The JSON I'm looking to send is the Carousel one. If you could please take a quick look and identify what's wrong, it will be greatly appreciated. Cheers!
I've referred to https://github.com/flow-ai/flowai-js-templates/blob/master/JSON.md and https://docs.flow.ai/reference/webhook_replies.html.
Been receiving this message:
This is the format of the JSON response I'm trying to send back.