@Vaun McCarthy I got of of it figured out but what is the most efficient way to get the visitor participant ID in Architect to send over to my AI Agent so it can call the REST API to update the contact attributes.
The steps I have are:
1. Being able to look up the Interaction ID to get the participant ID (need both to update contact attributes)
GET /api/v2/conversations/calls/92f6fc39-b4e5-48cc-b6bc-5ddcb9f6c41f HTTP/1.1
https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-analytics-conversations--conversationId--details
* Is there a built in dynamic variable in Architect that surfaces the participant ID?
---
2. Being able to push attributes
PATCH /api/v2/conversations/{conversationId}/participants/{participantId}/attributes
https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-conversations--conversationId--participants--participantId--attributes
Content-Type: application/json
Authorization: Bearer <access_token>
{
"attributes": {
"customerId": "12345",
"priority": "high",
"caseNumber": "ABC-6789"
}
}
---
3. Being able to view attributes once updated
GET /api/v2/conversations/{conversationId}
https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-conversations-calls--conversationId-
* I imagine I can refer to these contact attibutes in Architect some way (Get Participant Data?)
------------------------------
Alan Klein
SA
------------------------------
Original Message:
Sent: 09-17-2025 21:41
From: Vaun McCarthy
Subject: Pushing Content/Metadata collected by a third party Voice AI Agent to an Architect Flow
Hi Alan, how you describe is more or less how a number of third party bots/AI agents operate. You provide them with oauth credentials and while they're processing things on their side they attach/update participant data. The call then goes back to Genesys Cloud. Most of this is relying on the conversation staying the same all the way through. When Genesys sends the call to the third party, the conversation id would normally be in the INVITE headers so the third party platform can use that. When the call comes back to Genesys it's done as a REINVITE and again using the same conversation ID. So the flow triggered on return back to Genesys will be able to do simple GET participant data requests to see what's been added by that other party.
------------------------------
Vaun McCarthy
------------------------------