Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Building Custom UI for rendering Web Messages from Embeddable Framework

    Posted yesterday

    Hello!

    In my team's application, we currently use the Embeddable framework to integrate telephony.

    We're now looking into adding chat but we want to render the messages in our own UI.

    At the moment, I have a dummy website with the Web Messaging deployment so I can send messages to my agent.

    The embeddable framework is able to send me interaction related messages such as the id of the conversation but it doesn't seem to send messageUpdates under the notification type. I was thinking of getting messages through this event to build the message log. Is there a specific type of configuration needed to allow for these events?

    I also wanted to know api endpoints or event messages I could use for ending a conversation and replying messages.

    Thanks!


    #EmbeddableFramework
    #WebMessaging

    ------------------------------
    Andrew Dong
    ------------------------------


  • 2.  RE: Building Custom UI for rendering Web Messages from Embeddable Framework

    Posted 22 hours ago

    Hi @Andrew Dong,

    You can find all the information about Web Messaging and how to build a custom UI in the official developer documentation:

    https://developer.genesys.cloud/commdigital/digital/webmessaging/
    https://developer.genesys.cloud/commdigital/digital/webmessaging/messengersdk/SDKCommandsEvents/

    This documentation covers the available events, APIs, and how to handle conversations and messages when implementing Web Messaging.

    Hope this helps.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 3.  RE: Building Custom UI for rendering Web Messages from Embeddable Framework

    Posted 8 hours ago

    Thanks for responding Luiz

    I was having issues transmitting the messageUpdate events from the embeddable framework but managed to get the fix for it - missed some config in the framework.js.

    Also found the APIs I needed.



    ------------------------------
    Andrew Dong
    ------------------------------



  • 4.  RE: Building Custom UI for rendering Web Messages from Embeddable Framework

    Posted 6 hours ago

    Hello,

    Haven't tried building my own client for the agents, but my best guess is that you would need to build this with web sockets and notification through the Notification API.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------