Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Web Messenger Integration - Passing custom data into a web message from external source(Webpage Form)

    Posted 05-16-2023 20:57
    No replies, thread closed.

    Hello, 

    We are trying to implement Web messenger in our org, From our web page we are asking customers to enter their name, email and phone number and when they click submit we want to pass those information to the messenger, and then pass that data on to the Web Messenger flow before the customer/user can start an interaction . is that possible and any way to do it?

    Thanks,
    Manjunathan Subramaniam


    #Community Videos (TAM, QA, etc.)

    ------------------------------
    Manjunathan Subramaniam
    Cognizant Technology Solutions India Private Limited
    ------------------------------


  • 2.  RE: Web Messenger Integration - Passing custom data into a web message from external source(Webpage Form)
    Best Answer

    Posted 05-16-2023 21:41
    No replies, thread closed.

    You have a couple of ways.  First, you could just use a simple digital bot flow to ask for the information and set attributes/screen pop variables.  Second, you could use the Web Messaging Guest API to pass through Customer Data.  Here is a link for that.  Web messaging Guest API (genesys.cloud)


    Here is sample

    "metadata": { "customAttributes": { "department": "sales", "property_type": "apartment", "device": "mobile"



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: Web Messenger Integration - Passing custom data into a web message from external source(Webpage Form)

    Posted 05-17-2023 09:29
    No replies, thread closed.

    Hi @Robert Wakefield,
    Thanks for sharing,

    We tried the logic which you have suggested, however we are getting only the hardcoded values will be displayed on the agent script screen pop, we want to see the dynamic values from customer to be displayed to the agent script,
    We have our own website where we will be asking customer to enter their name, email and phone number, and this need to pass inside messenger and the same has to be displayed to agent script/screen pop.

    It would be great if you could share any working code, so that we will modify according to our requirements.

    Thanks,
    Manjunathan Subramaniam



    ------------------------------
    Manjunathan Subramaniam
    Cognizant Technology Solutions India Private Limited
    ------------------------------



  • 4.  RE: Web Messenger Integration - Passing custom data into a web message from external source(Webpage Form)

    Posted 05-17-2023 12:47
    No replies, thread closed.

    The first thing I would do is try to parse out the customer data and display the result to make sure it is being passed by the code on the web form.  If that shows up, then you take each of those and assign them to variables then assign those as inputs into the script using the Set Screen Pop tool.  Let me know if that gets you further down the road.



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------