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

johndoh
Mega Sage

The first question I would have is are you willing to add a closing message/workflow to each topic? If so remove the closing from the Setup topics and manually add your created items as based on what you are saying you want two.

chat experience.PNG

Hi,

 I don’t want to add different closing message for different topics. What I want is all virtual agent topic closing should be eg- ‘Thank you for using Snowy chat.’ Also,when we are connecting to live agent(irrespective of agent availability) , it should end as - ‘Thank you for using liveagent service’. Currently, I tried to split the closing setup topic with Condition vaSystem.didConnectToLiveAgent(). Issue I’m facing is this shows up for normal topic chat closing as well as liveagent unavailable (Thank you for using Snowy chat). Only once I get connected to liveagent then liveagent specific closing is triggered.

How about this, create a new script variable called 'transferring' or something. Then in your connect to live agent script you add

vaVars.transferring = true;

Then in your closing you should be able to use that new variable in the if/else statement and clear up the bogus closing for the items not being transferred.