I'm using DialogFlow's webhook thing and when I send my JSON response as follows:
{
"fulfillmentText": "This is a text response",
"source": "example.com",
"payload": {
"google": {
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "this is a simple response"
}
}
]
}
}
}
}
but I get the error MalformedResponse 'final_response' must be set.
after the webserver responds.