I’m trying to map a JSON response from an external API into a Genesys Cloud Architect Data Action, but the success output keeps coming back as undefined. The HTTP request itself is fine, returning a 200 status code with the expected payload. Here’s the JSON I’m getting back:
{
"userId": "12345",
"tier": "gold",
"active": true
}
In the Data Action configuration, I’ve set the output variable name to tier. For the value, I’ve tried using the JSON path $.tier and also just tier. Neither seems to work. When I log the output in the flow, it just shows undefined. I’ve checked the documentation and it mentions that the path should be relative to the root, but I’m not sure if I’m missing a prefix or if there’s a case sensitivity issue. I’ve also tried wrapping it in {{ $.tier }} but that didn’t help either. The Data Action is a simple GET request to a mock endpoint I set up for testing. I’m using the standard HTTP client in the Data Action. Is there a specific format for the JSON path in the output mapping? I’ve been staring at this for an hour and it’s driving me mad. Any help would be appreciated. I’m sure it’s something simple I’m overlooking.