Legacy Dev Forum Posts

 View Only

Sign Up

Notification on website side

  • 1.  Notification on website side

    Posted 06-05-2025 18:37

    Ewoud | 2024-02-20 12:19:33 UTC | #1

    Hi,

    Is there a way to notify the user of the web messaging on the website side when an agent replied. We are looking for a simple sound. I have been looking around but could not find anything like it.

    Thanks


    Ebenezer_Osei | 2024-02-20 16:52:44 UTC | #2

    Hi,

    You could add some extra JS to the Genesys snippet. When loaded, for example, you can subscribe for new messages (via MessagingService.messagesReceived. From there in the JSON of the message, you can detect if the sender was the agent or the bot, and then trigger a custom audio file.

    Best


    Ewoud | 2024-02-21 13:46:39 UTC | #3

    Hi Ebenezer,

    Many thanks for you reply. This will do the trick.

    Ewoud


    system | 2024-03-22 13:46:50 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 24745