Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  "Ask Me Anything" answers not helping :(

    Posted 8 hours ago

    Hi All. 

    I'm hoping someone can help with some 'real world' advice :) Neither of the below solutions suggested by "Ask Me Anything" appear to work. Unless I'm not following the instructions correctly of course? Thoughts please?

     

    According to the "Ask Me Anything" interface, one should be able to variable Message.ToAddress.addressNormalized to discover the Messaging Deployment ID that triggerred the flow....

    Q: In an Inbound Messenger flow, how can I determine the Messenger Deployment ID that triggered the flow?

    A: In your Architect Inbound Message flow, you can access the deployment ID using:
    Message.ToAddress.addressNormalized This will return the Web Messaging Deployment ID (UUID format) that triggered the flow.

    If you need the deployment name instead, you can use: Message.ToAddress.name

    These are read-only built-in variables available in all inbound message flows for Web Messaging/Messenger conversations.

    Yesterday, "Ask Me Anything" suggested using "Get Participant Data".....

    To determine the Deployment ID that triggered a messaging flow conversation, you can use the Get Participant Data action to retrieve the deployment information from the conversation.

    The deployment information is stored at the participant level and can be accessed through participant attributes. According to the Web Messaging conversation address payload structure, the deployment information includes:

    • WebMessagingDeployment.name - The name of the deployment
    • WebMessagingDeployment.id - The ID of the deployment


    #WebMessaging

    ------------------------------
    Richard Billett
    Contact Centre Solution Implementation Consultant
    ------------------------------


  • 2.  RE: "Ask Me Anything" answers not helping :(

    Posted 4 hours ago
    Edited by Phaneendra Avatapalli 4 hours ago

    Hi Richard,

    It looks like you're trying to identify which Messenger deployment triggered the inbound message flow.

    I found this related thread which may help:
    https://community.genesys.com/discussion/web-messenger-2

    In that example, they handled it by passing the deployment/site value from the Messenger website configuration as a custom attribute, then retrieving it in Architect using Get Participant Data.

    So the safest real-world workaround may be to pass your own custom attribute, such as deployment_id or site_context, from the Messenger website/SDK and use that in the flow.

    Hope this helps, and I’d be interested to hear if anyone has found a native Architect variable for this.


    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 3.  RE: "Ask Me Anything" answers not helping :(

    Posted 3 hours ago

    Hello Richard,

    if you are looking for Messaging Deployment ID, look for Message.Message Object in Inbound Message Architect flow and retrieve it using 

    Message.Message.targetAddresses[0]



    ------------------------------
    Jyoti Sharma
    Senior Design Consultant
    ------------------------------



  • 4.  RE: "Ask Me Anything" answers not helping :(

    Posted 3 hours ago

    Thank you Jyoti this is helpful.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------