Loop block failing to iterate over JSON array from Data Action

I’m stuck on a flow logic issue in Architect. I have a Data Action calling an external API that returns a JSON array of shift IDs. I need to process each ID individually, but the Loop block seems to choke on the data format.

Here is the JSON payload coming back from the Data Action (stored in data.action.shiftResponse):

{
 "statusCode": 200,
 "body": {
 "shifts": [
 { "id": "101", "status": "open" },
 { "id": "102", "status": "closed" }
 ]
 }
}

I’m trying to feed this into a Loop block. In the Loop configuration, I set the “Items” field to the expression data.action.shiftResponse.body.shifts. I expected the loop to run twice. Instead, it runs once, and the iteration variable loop.currentItem contains the entire JSON object as a string, not a single shift object.

I’ve tried converting it using toString() and toJSON() but nothing works. The documentation is vague about how Architect handles nested arrays from Data Actions. Is there a specific way to flatten this or should I be using a different block type?

I also checked the logs and see this error when the loop tries to access loop.currentItem.id:

Error: Cannot read property 'id' of undefined

It feels like the parser is treating the array as a single blob. I’ve been staring at this for two hours. Any pointers on the correct expression syntax for iterating over a JSON array in a Loop block? I’m using the latest Architect version. Thanks.