Hitting a weird null pointer in my Data Action when trying to pull participant attributes injected via the Web Messaging widget.
The flow is inbound message → Architect → Data Action. I’m trying to grab the email and firstName to tag my OpenTelemetry spans. The widget sends this data, and I can see it in the raw event payload in the browser dev tools.
However, inside the Data Action, event.participantAttributes comes back empty. I’m using the standard REST proxy to fetch the conversation details, but the attributes aren’t populating there either.
Here’s the relevant part of my Data Action config:
{
"type": "REST",
"method": "GET",
"url": "/api/v2/conversations/messages/{conversationId}",
"headers": {
"Authorization": "Bearer ${token}"
}
}
I’m injecting the trace context into the header manually. The call succeeds (200 OK), but the JSON response body has participants array with no attributes object attached to the initiator.
Is there a specific endpoint or header I’m missing to force Genesys Cloud to return the custom attributes set by the web client? I’ve checked the docs, but everything points to the standard conversation endpoint. The trace ID is propagating fine, just the data is missing.