Hi,
I am trying to use DF CX to render inline buttons in the CCAI WebSDK (aka "ujet code"). Using the example for an inline button here (https://cloud.google.com/contact-center/ccai-platform/docs/va-custom-payload) pasted into the DF CX custom payload does not render the buttons instead hands over to a live agent (I assume there is an error). I have pasted the exact same sample JSON payload example from above into DF CX. Using the "messages" example works fine so I know I am in the right place!
The example code I am placing into the custom payload is this:
{
"ujet": {
"type": "inline_button",
"title": "Select a menu",
"buttons": [
{
"title": "Lorem Ipsum",
"action": "quick_reply"
},
{
"title": "Lorem Ipsum Dolor Sit Amet",
"action": "escalation"
}
]
}
}
Is there an issue with the WebSDK do you think, or the documentation?
Thanks
Mark
Solved! Go to Solution.
The above example now works (something has clearly been fixed in the meantime) so I am setting to resolved!
The above example now works (something has clearly been fixed in the meantime) so I am setting to resolved!