Loop block not iterating over nested JSON array from REST Data Action

Hey everyone,

Trying to figure out the correct approach to iterate over a JSON array returned from a custom REST Data Action in Genesys Cloud. I’ve got a Data Action that calls an internal API to fetch a list of ticket IDs for a given customer. The response comes back fine when I test it manually, but the Loop block in Architect seems to choke on the structure.

Here’s the raw JSON response I’m getting from the external API:

{
 "status": "success",
 "data": {
 "tickets": [
 { "id": "12345", "subject": "Billing issue" },
 { "id": "12346", "subject": "Login fail" }
 ]
 }
}

I’m mapping the output of the Data Action to a variable called ticketResponse. Then I’m trying to set the Loop block to iterate over ticketResponse.data.tickets. The loop starts, but the currentItem variable inside the loop is always null or undefined. I’ve tried mapping it to ticketResponse.data.tickets[*] and even just ticketResponse.data, but nothing sticks.

Is there a specific JSON path syntax I need to use in the Loop block configuration? I feel like I’m missing something obvious about how Genesys parses nested arrays in these blocks. I’ve checked the Data Action logs and the full payload is definitely arriving.

If I map the whole data object to the loop, I can see the tickets key, but I can’t seem to drill down further. The documentation is pretty thin on this specific scenario. Any ideas? I’m just trying to process each ticket ID sequentially to update their status in our CRM.