Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Dynamically Update Web Messaging Bot Username in Architect Message Flow

    Posted 12-05-2024 07:28
      |   view attached

    Hello Genesys Community,

    I am currently working on a Genesys Cloud Web Messaging bot and have a requirement to dynamically change the bot's username (e.g., "TestUser") based on conditions defined in an Architect Message Flow. For instance, I would like to customize the username based on certain attributes of the inbound message or user context.

    Here's a sample scenario:

    • A customer sends a message to the bot.
    • Based on specific details from the message (e.g., the customer's location or a tag), the bot's username should change dynamically to something like "SupportAgent_US" or "SupportAgent_UK."

    Attached is an example of the Web Messaging interface where the bot's username currently appears as "TestUser."

    How can I achieve this within the Architect Message Flow or any other related Genesys Cloud configuration?

    Any guidance, suggestions, or examples would be greatly appreciated!

    Thank you in advance for your help!


    #DigitalChannels

    ------------------------------
    Balaji Balakrishnan
    ------------------------------


  • 2.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow
    Best Answer

    GENESYS
    Posted 12-05-2024 09:28

    Hi @Balaji Balakrishnan interesting use-case, I see your point: can you please create an Idea on our Ideas Portal? This way we can track and prioritize on our roadmap.



    ------------------------------
    Angelo Cicchitto
    Genesys - Employees
    ------------------------------



  • 3.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    GENESYS
    Posted 12-05-2024 11:30
    Edited by Samuel Jillard 12-05-2024 12:11


    Thanks Angelo,

    @Balaji Balakrishnan here is the link to the ideas portal: Genesys Cloud Product Ideas Lab



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 4.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    GENESYS
    Posted 12-05-2024 12:01

    The link provided is not working, can you kindly update? thanks!



    ------------------------------
    Angelo Cicchitto
    Genesys - Employees
    ------------------------------



  • 5.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    GENESYS
    Posted 12-05-2024 12:11

    corrected, thanks :D



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 6.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    Posted 12-06-2024 03:41
      |   view attached

    Angelo Cicchitto,

    Thank you for your guidance,

    I noticed the "Clear Conversation" option marked in the attached screenshot and would like to know if there is a way to access this option within the Inbound Message Flow in Genesys Cloud.

    Alternatively, is there another method or API available to achieve the same functionality?

    Looking forward to your insights.

    Thank you!





    ------------------------------
    Balaji Balakrishnan
    ------------------------------



  • 7.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    GENESYS
    Posted 12-06-2024 04:33

    The Clear command is reserved to the End-User client on the Guest Session, while Inbound Flow can operate only on the internal Conversation model.

    Alternatively, you may be able to disconnect the Conversation from Inbound Message Flow, and detect the MessagingService.conversationDisconnected event on the client, then trigger the MessagingService.clearConversation via Messenger JS Commands, to achieve similar functionality.



    ------------------------------
    Angelo Cicchitto
    Genesys - Employees
    ------------------------------



  • 8.  RE: Dynamically Update Web Messaging Bot Username in Architect Message Flow

    Posted 12-06-2024 06:35

    Thank you for your super quick response!



    ------------------------------
    Balaji Balakrishnan
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources