Hello everyone.
In the Web Chat we have a custom field with a drop down menu, the customer is able to select the department they want to talk.
I'm trying to route this chat for the selected department, but i don't know wich variable / value is coming into inbound chat flow.
Can anyone help me with that?
Best Regards
Custom field config:
"id": "cx_webchat_form_customField1",
"name": "customField1",
"placeholder": "Made mandatory via validate",
"label": "Department",
validateWhileTyping: false, // default is false
validate: function(event, form, input, label, $, CXBus, Common) {
if(input) {
if (input.val())
return true;
else
return false;
}
return false;},
type: "select",
options: [
{
disabled : "disabled",
selected : "selected",
hidden: "hidden"
},
{
text : "Sales",
value : "1"
},
{
text : "HR",
value : "2"#DigitalChannels#Routing(ACD/IVR)------------------------------
Harisson Tonieto
Brasil Foods
------------------------------