Trying to map a nested field from a REST API response into a CXone Data Action output. The endpoint returns a 200 OK with a standard JSON body containing a data object with a userId field inside. I’ve set up the Data Action with a simple GET request and configured the success output to map the response body. The goal is to pass this userId into a subsequent to look up customer details. The request works fine in Postman, but inside the Architect flow, the output variable always comes back as undefined. I’ve checked the logs and the response is definitely hitting the success branch.
Here is the JSON path I’m using in the Data Action configuration: $.data.userId. I’ve also tried $.data["userId"] and just $.data to see if the root object is the issue, but $.data returns the whole object correctly while the nested field stays undefined. The response structure looks like { "data": { "userId": "12345", "name": "Test" } }. I’m using the default JSON parser in the Data Action. Have I missed a configuration step for parsing nested objects in the output mapping? The is expecting a string value.