function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris ValkoChris Valko 

Using API: Live Agent - Show Pre-chat Custom Field in Chat box after Automated greeting.

I have a custom field called "My Question" on the pre-chat form on our website for the customer.  When this is filled in, it does not appear in the chat box for the Agent to see.

How would I get the content entered into this field to show in the Chat Box for the Agent to see and prevent our customers from having to repeat their question.

I was given a lead that there are APIs on the visitor side that can be leveraged to 'send a message' through the chat window.  After capturing the question, the string could be sent via the APIs and would show up for both the agent and the customer in the chat window.

How would I go about setting this up?

Anil JAdhav 14Anil JAdhav 14
Hi Chris,
I would like to suggest you something, Create one custom field "Question" and use it on pre chat form.
Whenever consumer opens pre form chat that will ask for details with that question which will store lets say your question field is on case.
Now account and case will be created with the question of the customer.
That will prevent to repeat their question as well.

Please let me know your thouts on this.
Also refer this blog -