Data Action JSON mapping failing for nested arrays

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?

{
 "results": "{{externalApiResponse.results}}"
}

Architect doesn’t auto-unwrap arrays into scalar vars. You need to map the whole array to a list variable first, then iterate using a List Action if you want to process individual items.