Loop block iteration over JSON array from Data Action in Architect

Looking for advice on handling array iteration within a Genesys Cloud Architect flow using a Loop block.

I have an External HTTP action that calls a custom endpoint, returning a JSON payload containing a list of items. The response looks like this:

{
 "items": [
 {"id": 1, "name": "Item A"},
 {"id": 2, "name": "Item B"}
 ]
}

I need to process each item in the items array. I am setting the Loop block’s input to the items property of the HTTP response. However, inside the loop, I am struggling to reference the current item’s properties correctly.

I tried using the system variable loop.current but it seems to return the whole object instead of allowing me to access specific fields like id or name. I also attempted to use loop.index but that only gives me the numeric index, which is not helpful for extracting data.

The goal is to use the id from each iteration to trigger a subsequent API call. My current expression for the next action’s parameter is ${loop.current.id}, but the flow fails with a null value error.

How do I correctly reference properties of the current object within a Loop block when iterating over a JSON array returned from a Data Action?