How to change virtual agent live agent message different from chat -Tokyo

Debosree Sinha
Tera Contributor

Hi All,

My virtual agent closing message and Live Agent closing message showing same message.

Is it possible to change the Live Agent closing message separately from my normal closing message for Vitual Agent?

Could you please help me with the design steps?I'm using Tokyo release.

Thanks

Debosree

5 REPLIES 5

Debosree Sinha
Tera Contributor

I observed following msg shows up when I'm in live Agent window

'Hello! Please provide a brief description of your issue today.'

Hence, I made branches based on the chatbot transcript so far gathered and it contains above msg, then its a LA window otherwise a VA window.

 

(function execute() {

vaVars.transcript =vaSystem.getTranscript();
if(vaVars.transcript.indexOf(vaVars.va_closing) != -1) {
vaVars.Flow_switch = 'LiveAgent';
} else {
vaVars.Flow_switch= 'VA';
}

})()