Can't pass a customField info to our webchat script

We want to Identify a user by a Custom Field. We try to find the Custom's fields on webchat Script but the system does not allow us to use {{chat.customField}} in order to pass a unique identifier. How can we pass a customField info to our webchat script?

Hello,

If you provide a custom field (let's say: myCustomData = "12345678") when requesting to create a new chat, you can retrieve its value in a "Contact Center - Script" doing the following:
Define/Add a variable (Type String) with Name = myCustomData and with the "Input" toggle enabled (i.e. Input = Yes)
You can then display it in a Text field with {{myCustomData}}

The fields are available to use. See if reading this thread where a customer had a similar question helps: https://developer.mypurecloud.com/forum/t/store-and-query-the-customer-input-data-in-purecloud/5205

1 Like

Thank you very much !

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.