Hi Team,
We have created a live chat and in Chat form we have Name, Email, Language and Service Type details which we are collecting from customers. We have created two flow/custom variables, Language and Service Type to collect the language and service details respectively.
Our query is: We need to pass Language and Service Type variables to the web socket event and needs to be consumed in the custom UI when the chat is queued/received in the agent desktop.
Note: Currently we're testing it in sand box and as of now we're getting Name, Email in the field of ani, customerName in the web socket event.
Please let us know how we can achieve this
Example Web Socket Event:
"interaction": {
"callAssociatedData": {
"ani": {
"agentEditable": false,
"agentViewable": true,
"displayName": "ani",
"global": false,
"isSecure": false,
"name": "ani",
"reportable": false,
"secureKeyId": "",
"secureKeyVersion": 0,
"type": "STRING",
"value": "xy@abc.com"
},
"customerName": {
"agentEditable": false,
"agentViewable": true,
"displayName": "customerName",
"global": false,
"isSecure": false,
"name": "customerName",
"reportable": false,
"secureKeyId": "",
"secureKeyVersion": 0,
"type": "STRING",
"value": "xy"
},
}