Running into a weird issue with a custom Data Action in Architect. The external API call is hitting fine and returning a 200 with the expected JSON, but when I map the output in the success block, the field comes back as undefined.
Here is the raw response body I’m seeing in the logs:
{
"status": "success",
"data": {
"customer_id": "12345",
"tier": "gold"
}
}
In the Data Action config, I’ve set the output mapping to use the JSON path $.data.customer_id. I’ve also tried $.data["customer_id"] just in case, but no luck. When I debug the Architect flow, the variable {{DataAction.response.customer_id}} is literally undefined.
I’ve checked the API docs and the endpoint is definitely returning that structure. Is there something specific about how Genesys parses nested objects in Data Action outputs? Or am I missing a step in the JSON path syntax?
GET /api/v2/architect/dataactions
Using the latest platform version. Any pointers would be appreciated.