How to setup a custom closure message in a Virtual agent topic

kartikey
Tera Contributor

Hi Everyone,

For a topic that i have created i wish to set up a custom closing message, for greeting message we can directly create a greeting before calling the script "vaSystem.connectToAgent();" , but for closure message how should it be implemented, when the agent closes the interaction, it pops up in users chat?

Can you please help me with this?

Thanks,
Kartikey

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi,

Check the out of the box Closing conversation topic.

1. Use vaSystem.getClosingMessage()

2. To modify cosing message update system property com.glide.cs.general.closing_message

Hi @Shruti  , i belive that would change the closure message for all the topics, i want to change for just 1 particular topic.

Thanks.