Hi Chudi,
We're running Pure Connect Cloud 2021 R3. We host a custom JSON file on our web server. There we assign a label to the values that will be used in the handler. Hope this helps!
{
"wrapper": "<table></table>",
"inputs": [
{
"id": "cx_webchat_form_firstname",
"name": "firstname",
"maxlength": "100",
"placeholder": "@i18n:webchat.ChatFormPlaceholderFirstName",
"label": "@i18n:webchat.ChatFormFirstName"
},
{
"id": "cx_webchat_form_lastname",
"name": "lastname",
"maxlength": "100",
"placeholder": "@i18n:webchat.ChatFormPlaceholderLastName",
"label": "@i18n:webchat.ChatFormLastName"
},
{
"id": "cx_webchat_form_email",
"name": "email",
"maxlength": "100",
"placeholder": "Required",
"label": "@i18n:webchat.ChatFormEmail"
},
{
"id": "cx_webchat_form_serialnumber",
"name": "serialnumber",
"maxlength": "20",
"placeholder": "Optional",
"label": "Serial Number"
},
{
"id": "cx_webchat_form_subject",
"name": "subject",
"maxlength": "100",
"placeholder": "Required",
"label": "@i18n:webchat.ChatFormSubject",
"type": "select",
"options": [
{
"text": "General Question",
"value": "General Question"
},
{
"text": "Product Concern",
"value": "Product Concern"
},
{
"text": "Shop",
"value": "Shop"
},
{
"text": "Website Suggestion",
"value": "Website Suggestion"
},
{
"text": "Other",
"value": "Others"
}
]
},
]
}
------------------------------
Kristin Rappe
Roche Diabetes Care, Inc.
------------------------------
Original Message:
Sent: 07-18-2022 11:03
From: Chudi Igboemeka
Subject: Chat Widget - Interaction Attributes
Hello all,
We are running PureConnect CIC 2021 R4 and I just starting working on configuring a new chat widget to update our chat look and feel of our chat using Interaction Connect. I have created the form to start the chat but I need to use the email address that the visitor enters in the field as an attribute in the interaction that can be used in a handler. Does anyone know how I can get the user filled data in the chat widget form to appear as an attribute in CIC?
Let me know if any other info is needed.
Thanks
#ArchitectureandDesign
#AskMeAnything(AMA)
#Unsure/Other
------------------------------
Chudi Igboemeka
Start.ca
------------------------------