I’m trying to map a nested JSON response from an external REST API into Architect variables using a Data Action. The external API returns a list of items under a results key.
{
"status": 200,
"results": [
{ "id": 123, "name": "Test" }
]
}
The mapping works fine for flat objects, but when I try to loop through results to set individual agent variables, the action fails silently. The logs show a 200 response from the external service, but the variables never update. Is there a specific syntax for iterating over arrays in the JSON mapping configuration?