Customer not recognized by CRM (SFDC) for Chat Interaction

Hello team,

Hope you will feel good and merry Christmas to all of you :slight_smile:

I need your help please!

I have set up a genesys chat widget on my website :

  • Chat interactions initiated by a customer are well redirected to a chat call flow.
  • Interactions between the agent & the customer works fine. I have my customer pop’up, but it is empty.

Indeed, I am trying to find out how to identify my customer by querying the SFDC CRM via a data action that I have already created.

Which “input” should I enter in my architect ?

  • Email address ?

Could you please precise the “variable” I have to use ?

FYI: Data action testing works very well to retrieve data from the SFDC (Get Contact by Email & Get Contcat by Phone Numbers)

Thank you for your help.

Regards,

There's a number of different ways that you could approach this. You could attempt to authenticate the user in the web page, using the Salesforce APIs, then pass all of the information returned to the Chat flow using participant data on the interaction. This is going to be the most involved way forward, as it will require some development on the website to authenticate the user with Salesforce in advance, and/or create the user in your Salesforce instance if they don't already exist, but this will also likely be the most robust in terms of collecting user information.

You could use a simple form to collect as much information as possible from the user prior to initiating the chat, pass that along as participant data, then utilize whichever data you've collected to drive the data action. If you choose this route, you'll want to make sure whatever information you need to do the lookup with the data action is required in the form before allowing the user to proceed to the chat.

You'll also want to make sure that your flow is structured in a way that it can survive the user not being present in Salesforce. Even if you make something like "email address" a required field in the input form, and all of your contacts in Salesforce have an email address, you'll likely run into the scenario where someone enters a new email address, enters an incorrect email address, or simply is a new user that does not have a Salesforce record created yet (you can always use a data action to create the new user if they don't exist).

Any way it goes, the mechanism to pass data from the website to your flow is going to be participant data. In your flow, you will fetch the participant data and bind it to a variable, which you then use as the input to your data action.

Hope that helps.

To add to Richard's reply...

If you create a Chat Widget deployment using "Version 2" (the one that supports Altocloud), then it will present a UI that will prompt the user for their name, email address, and subject. All of these will be available as participant data and accessible in the Architect flow. So you would then be able to use the email address as input to your data action.

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