Retrieve user context in Whatsapp

Hello,
I have a use case where a customer authenticates from a website with login and password and initiate a whatsapp conversation from the website when he is authenticated. the goal is to retrieve the user context (name, firstname, idclient,..) in the whatsapp conversation started.
I can see the API for whatspp here Webhooks - Cloud API - Documentation - Meta for Developers, for example use the statuse object "biz_opaque_callback_data" for retrieve user context.
Has anyone already tested this type of integration? How can we retrieve the whatsapp data sent in a inbound message flow in architect (with a get particpant data,...)
Any hints?

thanks

I'm a little confused by the your post there, but some follow-up questions...

  1. You are using a Whatsapp integration in Genesys Cloud already for receiving the end customer inbound message?
  2. If #1 is yes, then you should already be receiving some of the end customer information on the Conversation model Genesys Cloud Developer Center

I would not advise to call out to a FB api, from within the architect flow, unless you have no other means of accomplishing what you want. You are going to be dealing with FB API authentication, contracts, etc. yourself in that scenario.

Hi Greg,
thanks for your reply, my comments.
1 - I'm using a whatsapp integration in Genesys Cloud.
2 - I can retrieve information from conversation model but some information from customer required are very specific (Ex : customerid, ..) and are only displayed on the website and not displayed in Genesys API.
That's why I think the only way is to create participant data from the website data.

BR
jeremy

Ah okay, as mentioned above that is going to require you to interface directly with FB api OR some other service, for instance originally you mentioned

"I have a use case where a customer authenticates from a website with login and password and initiate a whatsapp conversation"

So that website must already be interacting with FB/WA api to authenticate that user? Can you query their backend service to GET the information. I'm honestly not sure if this is easier for you than querying FB api directly. Both are likely going to be a little challenging, depends if you are the developer for this website/service or not probably.

Hello,

The user authentifcates from a website without using the FB/WA api but from other data source.
After create an internal Genesys case, it seems not recommended to use FB/WA api in Genesys cloud, I think one way is to use Geneys cloud API to create participant data/webhook for retrieve these informations in Genesys cloud Architect flow.
BR

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