Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

ujet websdk not showing inline buttons using demo code in DF CX ...

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 Solved
0 1 201
1 ACCEPTED SOLUTION

The above example now works (something has clearly been fixed in the meantime) so I am setting to resolved!

View solution in original post

1 REPLY 1

The above example now works (something has clearly been fixed in the meantime) so I am setting to resolved!