I am working on a workflow in n8n where I have a “Loop Over Items” node that should iterate over an array of data (containing Defender information) to perform an update query.
The flow is structured as follows:
“Loop Machines4”: manages the data for multiple customers (each customer has a separate array with Defender data).
Each time the loop moves to the next customer, the “Loop Over Items” node should iterate over the items of the corresponding array for the new customer’s data and perform the update query.
The issue I’m encountering is that when the loop moves to the next customer, the array with Defender data is correctly loaded, but the “Loop Over Items” node never enters the loop to perform the update for the new customer’s items. It seems that the new array of data is not being handled correctly or passed properly to the “Loop Over Items” node.
I’ve found the editor to struggle with rendering updates to a running workflow with nested loops so would advise checking the external output to validate rather than relying on the cached data/numbers given in the canvas.
I think it would help if you could provide a simplified version of the problem eg. strip away most of the nodes and just leave in the minimum + loops - and see if it’s reproduceable. If you can, definitely share it in this thread again.