Bhagyaraju_Pati | 2023-04-19 07:44:42 UTC | #1
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.
Angelo_Cicchitto | 2023-04-19 06:20:53 UTC | #2
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 https://help.mypurecloud.com/releasenote/april-5-2023/
Bhagyaraju_Pati | 2023-04-19 06:38:19 UTC | #3
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. .
I am trying to identify the similar event (when agent ends the conversation) for when we using Web Messenger
Angelo_Cicchitto | 2023-04-19 06:43:06 UTC | #4
You should try to enable the new feature I mentioned earlier: it does add an Event to the conversation transcript, so that might help.
Bhagyaraju_Pati | 2023-04-19 07:12:39 UTC | #5
I have enabled the below in messenger configuration, but still I am unable to identify the event.
Mark_Siggins | 2023-04-19 13:38:56 UTC | #6
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
Bhagyaraju_Pati | 2023-05-09 10:19:25 UTC | #7
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
system | 2023-06-09 10:19:31 UTC | #8
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19500