I’ve got a Data Action hitting an internal endpoint that returns a list of user IDs. The response payload is straightforward, just a JSON array like [“id1”, “id2”]. I’m using a Loop block in Architect to iterate through this array so I can process each ID in subsequent steps. The loop count is set to the length of the array, but the loop body only executes once. I’ve checked the debug logs and the array is definitely populated with multiple items before the loop starts.
Here’s the mapping I’m using in the Loop block configuration: $.response.data. I’ve tried wrapping it in a JSON object like { "ids": $.response.data } and iterating over ids, but the behavior is identical. The loop counter increments correctly in the trace, but the internal logic doesn’t trigger for the second element. Is there a specific syntax required for iterating over raw arrays in the Loop block, or does it strictly need an object with named keys?