Insert third party Chat conversation log, in Customer Agent script tab

Is it possible somehow to pick up the conversational log from third party chat system, and copy it to the customer agents script tab, so that they know when customer escalates to a purecloud chat widget, that the agent know where to pick up?

I searched thru API documentation, but havent find apropriate way to do this.

You can use an iframe in a script to embed a page with that info (either the external web page or a custom one you build to show the data).

That's an interesting Idea, that direction would never crossed my mind. I will try that and see how it goes. Thanks once again Tim.

Okay it's related to this topic. I managed to import chat history to custom field of the purecloud Chat Config window using converting an array to string. But do you have an idea how the custom field is formatted. I am asking that because I want to replace all the dots with the new line breaks, so that text is displayed much clearly for the agents. I used: chatHistory = chatHistory2.replace("/./gi", "\n"); but with no sucess.

Do you have any idea how to break string so on every dot it prints text in new line.

Thanks for any reply :slight_smile:

I tested this with custom data on a web chat and sent a string that contained newline characters (from a textarea input in the page). This content was displayed correctly showing the text multiple lines. The trick is that you must set the variable with a value that contains the actual newline character, not the string \n.

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