Hi team,
Our system are genesys and google dialogflow es. I create a intent with enable webhook to handle custom payload. My google fulfilment webhook will return the response below:
{
"response": {
"fulfillmentMessages": [
{
"payload": {
"genesys_carousel": [
{
"actions": [
{
"text": "",
"type": "Postback"
}
],
"defaultAction": {
"payload": "link",
"text": "",
"type": "Postback"
},
"description": "Button link",
"title": "ButtonLink"
}
],
"genesys_quick_replies": [
{
"text": "Yes"
},
{
"text": "No"
}
],
"genesys_prompt": "Is there anything else"
}
}
]
}
}
The problem are the genesys show not correct order and the quick replies also not working
Actual result:
- Is there anything else?
- carousels card show
- quick replies not show
Expect result:
- carousels card show
- Is there anything else?
- quick replies "Yes" "No"
Anything implementation I missing here? Does I return in payload of fulfillmentMessages is correct place? I see in fulfillmentMessages also have card and quickReplies can I use this?