Transcript Snippet

The information on this help page applies to both CXone Studio and Desktop Studio.

Use the Transcript snippet with the Get Bot Transcript actionaction. The snippet creates a dynamic data object to hold the transcript data. The name of the object you create must match the name used in the transcriptVarName (out) property in the Get Bot Transcript action.

If you set the Format property of the Get Bot Transcript action to HTML, use this snippet: 

DYNAMIC mytranscript
ASSIGN transcriptHtml = '{mytranscript.messages}'

If you set the Format property to JSON, use this snippet: 

DYNAMIC mytranscript
ASSIGN transcriptJson = '{mytranscript.messages.asjson()}'