N8n Loop Stopped at Split-In-Batches node on 2nd loop (mine is not working)

I´ve read all topics about this but I still did not understand how to reset my split in batches to read the data for the second loop. Can anyone explain me how to do this?

Hi @rcandeo, welcome to the community!

I am sorry you are having trouble. From looking at your screenshot I suspect you are using an older version of n8n, meaning this example should work for you using the reset logic available on the older Split in Batches node.

In general, I’d suggest avoiding nested loops though as they are not only hard to build, but also hard to read and maintain.

Instead, you could consider moving the inner loop into a separate workflow, then call this separate workflow through the Execute Workflow node in your parent workflow. This way you would not have to worry about resetting your loops.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.