Architect Loop block failing to iterate Data Action JSON array

Is there a specific way to structure the JSON response from a Data Action so the Loop block actually picks it up? I’m pulling a list of contact IDs from an external API via a Data Action, but the Loop block seems to think the array is empty.

The Data Action returns a 200 OK with this payload:

{
 "data": [
 {
 "id": "123",
 "name": "Test"
 }
 ]
}

I’m setting the loop input to Data Action Response. The loop condition is Length > 0. It skips the loop entirely. If I log the response in a Set Variable block before the loop, it shows the full JSON string.

I tried parsing it with JSON.parse in a script block first, but the Loop block expects a list object, not a string. I can’t seem to get the type conversion right. The documentation says it should handle arrays automatically, but it’s treating the whole response as a single string object.

Any ideas on how to force the Loop block to recognize the array? I’ve checked the data type mapping in the Data Action settings and it’s set to JSON.