Web messenger member-leave event

Hi, I'm trying to load my own custom iframe in the Genesys Interaction widget.
When I try to start a chat using the Web v2 chat version, I can see the member-leave event when the agent clicks the end of the conversation.

However, when I use Web messenger, I am unable to recognize the end of the conversation event.
To know that the agent is ending the conversation, I need an event.

Please assist me in this.

Hi @Bhagyaraju_Pati can you elaborate more on what you're trying to achieve? not sure if you are referring to building custom iFrame on Agent-UI side or on Customer/Website.
We just released a feature for platform to send an event to the End-User, when Agent or Bot disconnects the conversation. See RNs April 5, 2023 - Genesys Cloud Resource Center

I am using an interaction widget to load the iframe.
Screenshot for your reference.

And just to give more clarification, I am able to identify the end event using the below code when the chat triggered from web chat v2.
image.

I am trying to identify the similar event (when agent ends the conversation) for when we using Web Messenger

You should try to enable the new feature I mentioned earlier: it does add an Event to the conversation transcript, so that might help.

I have enabled the below in messenger configuration, but still I am unable to identify the event.

Hi Bhaagyaraju_Pati.

From your earlier screenshot it looks like you are building this on the Agent-UI side and likely subscribing to these webchat specific topics? https://developer.genesys.cloud/commdigital/digital/webchat/agentchat#receiving-messages-and-typing-indicators

I believe that Web Messaging event notifications for when the agent disconnects should be available on this topic:
https://developer.genesys.cloud/notificationsalerts/notifications/available-topics#v2-users--id--conversations-messages

Hi Team,

i have got one condition like below

if (data?.eventBody?.participants?.find(p => p.purpose == 'customer').endTime)

this condition is getting satisfied when I am clicking the done on wraup codes.

But I need a event for web messenger when I click the on end conversation. PLease let me know.

Regards,
Bhagyaraju Pati

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.