I've loaded my common module that does the search and associate of the conversation
Original Message:
Sent: 02-13-2025 12:54
From: John Elgethun
Subject: Passing External Contact Data to Web Messenger
@Lawrence Drayton, I stumbled on this thread and your input on this topic is the best I've seen. I am just now attempting to do this for my organization as well; pulling customer data from our external contacts, that is. Wondering if you might also send me the data actions you've shared with April. It's been a while since you chimed in with her, so I'm hoping you might still be available to assist. Thanks in advance!
------------------------------
John Elgethun
Workforce Manager
Original Message:
Sent: 07-03-2024 06:57
From: Lawrence Drayton
Subject: Passing External Contact Data to Web Messenger
@April Uran - Apologies! I have been offline a little as it's our busy period! I can help for sure. Just wanted to check, that you're using the external contacts feature in Genesys - This is how we pull and display the name on the chat widget for the agent.
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 05-06-2024 15:39
From: April Uran
Subject: Passing External Contact Data to Web Messenger
@Lawrence Drayton I am tagging you since it didn't work in my message above.
------------------------------
April Uran
Utilities Protection Center
Original Message:
Sent: 05-06-2024 14:16
From: April Uran
Subject: Passing External Contact Data to Web Messenger
Hi Lawrence,
Do you mind sending me the data actions? I am trying to set this up as well and really struggling.
------------------------------
April Uran
Utilities Protection Center
Original Message:
Sent: 10-10-2023 18:52
From: Lawrence Drayton
Subject: Passing External Contact Data to Web Messenger
My pleasure mate :)
If you need, I can export the data actions and send to you to assist etc. Let me know how you go :)
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 10-10-2023 08:39
From: Steven Strom
Subject: Passing External Contact Data to Web Messenger
Lawrence, this is great work and thank you very much for your detailed response ! We will work on this today. Very helpful.
---------------------------------
Steven Strom
Financial Industry Regulatory Authority, Inc.
Original Message:
Sent: 10-09-2023
From: Lawrence Drayton
Subject: RE: Passing External Contact Data to Web Messenger
Hey Steven,
What you need to do here is once you get the details, complete a search and get the external contact ID - then use this in another data action to then link it to the contact. It's a few steps, and there are some edge cases like if you have a customer that has the same number/email it will return multiple results and you'll need to decide which one to use etc. All of which you can create decisions for.
As an example - here is part of what we do.
- Get phone number from bot flow
- Run search on external contacts using the phone number as the search term
- If results of that = 1 then move to step 4 - If results >1 we exit flow (To have agent double check and confirm which contact to link to)
- Get communicationID of the message type media type
- Run contact association with message and external contact.
For the search we use /api/v2/externalcontacts/contacts?q=${input.searchTerm} This will return all the details for matched. We take the first result in these and take a bunch of details out from the API response to move on. One of these is the externalContactId
For communicationID we use the interactionID /api/v2/conversations/${input.conversationId} and take the first participants message ID
For the contact association we use /api/v2/externalcontacts/conversations/${input.conversationId} and in the body use the externalContactId, interactionID, communicationID and the mediaType.
Happy to assist further - I've attached a simple flow of this for one of my centres.
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 10-09-2023 16:50
From: Steven Strom
Subject: Passing External Contact Data to Web Messenger
We configured the inbound Digital Bot flow to call the Genesys Data Action and retrieve External Contact information if the customer enters their phone number in the web messenger. When the customer requests to speak to an agent, the bot flow exits to our inbound message flow and targets the queue. Unfortunately, none of the customer data is passing and the customer contact information doesn't appear in the agent message window. Just displays "No Name" Any thoughts on how to resolve?
#ConversationalAI(Bots,AgentAssist,etc.)
------------------------------
Steven Strom
Financial Industry Regulatory Authority, Inc.
------------------------------