You need to sign in to do that
Don't have an account?
Sowjanya Hegde 13
Autoclose the omnichannel chat window
Autoclose the omnichannel chat window in chat transcript object when the chat is done, that is when the user on the other end close the chat window or when they say bye or Thank you. How to write the trigger for this automation. Please help!
I don't think this can be done based on chat like bye and thank you. However use 'lightning:conversationChatEnded' for closest possible way.
Below are references along with example.
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_events_liveagent_conversationchatended.htm
https://www.infallibletechie.com/2020/07/how-to-close-chat-tab-when-conversation.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
All Answers
I don't think this can be done based on chat like bye and thank you. However use 'lightning:conversationChatEnded' for closest possible way.
Below are references along with example.
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_events_liveagent_conversationchatended.htm
https://www.infallibletechie.com/2020/07/how-to-close-chat-tab-when-conversation.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Thank you!
Does this close the record tab related to that chat which is just ended ?
Thanks,
https://www.infallibletechie.com/2020/07/how-to-close-chat-tab-when-conversation.html worked for me.
Thank you Vinay!