Webchat alert / notification on new message

Hi, is there any feature to notify when new message is received on the client/customer side?

Hello,

With Widgets v1.0 (Chat v1) and Widgets v1.1, I think there is a sound alert on customer side when a new message is received.

With Widgets v2 (Chat v2), there is no alert when a message is received.
But you can create a customization if you want/need to (via javascript).
You can subscribe to some widgets events and trigger the code you want (like playing a sound/alert).
The approach would be similar to this: https://developer.mypurecloud.com/api/webchat/widget-version2.html#chat_start_and_end_events
But you could use the WebChatService.messageReceived event (subscribing to it): https://all.docs.genesys.com/WID/Current/SDK/WebChatService-combined#API_Events
From what I remember, this event is triggered as soon as a message is posted. I mean if you send a response from an Architect Chat flow, if a Contact Center Agent sends a message, but also if the customer sends a message. So you would have to filter based on the type of the sender.

Regards,

Thanks Jerome, I will try

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