Problem Loop over item nested nodes (3 levels deep)

Describe the problem/error/question

I have to extract some inventory information from Shopify and dump to Google sheets.
However I had some problems because I need to use several loop over items nodes in order to dump the final data.
These nodes are nested as you can see on the workflow.
I read other posts and looks like n8n has some bugs related to nested loops.
What I realize, it’s after the second level, only execute for one item, the second item is not processed.
it’s like the node realize it was executed and returned the Done branch for the second item.
I did a test in a more basic workflow and I got the same results.
For my workflow I only select two product information expected to process 4 rows by product, but only process 1 row for one product.

Also make some test using {{ $(‘Lopp Over Item’).context[“noItemsLeft”] }} in a IF Node, but also doesn’t work.
And the reset option inside Loop Over Item node make an infinite loop.

It is really possible make this processes on n8n?
How I can a report a bug?

Thanks

What is the error message (if any)?

There’s no error message, but as I described above, loop over items node doesn’t work properly

Please share your workflow

Here you can see the workflow.

Also I share the input data extracted from Shopify I want to process:

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

[
{
“product_id”: 5582727413921,
“SKU”: “BPB101010”,
“Price”: 129,
“title”: “BRIEFS - AMARILLO”,
“handle”: “briefs-amarillo”,
“option1_name”: “Talla”,
“option1_value”: “CH”,
“option2_value”: “”,
“option3_value”: “”,
“Location”: “Almacén Babylon”,
“location_country_code”: “MX”,
“available”: 0,
“variant_id”: 35879490846881,
“option2_name”: “NA”,
“option3_name”: “NA”
}
]

Information on your n8n setup

  • n8n version: 1.31.1
  • Database (default: SQLite): NA
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: Windows 11, Chrome

This is a basic version with 2 levels nesting

Actually, Nested loops are not supported as they have unpredictable behavior. Better to divide the workflow into smaller ones and loop only once within a workflow. You can execute sub workflow inside the loop, where you can execute a sub-sub workflow inside the sub-loop and so on.