Issue with Nested Loop – Second Batch Skipping Loop Output and Going to "Done"

Hi everyone,

I’m currently facing an issue while working with nested loops in n8n and would love some help or confirmation if anyone else has experienced something similar.

The Problem:

  • I’m processing data in batches.
  • The first batch passes through the nested (inner) loop perfectly and returns the correct output.
  • But when the second batch enters the same inner loop, it skips the loop output and directly goes to the “Done” output.
  • Because of this, I don’t get the processed result of the second batch. Instead, the output seems to repeat data from the first batch.

:movie_camera: Reference:

To help visualize the issue, I’ve recorded and uploaded a short video (unlisted on YouTube): https://www.youtube.com/watch?v=N1hdIiYvCew

Has anyone run into this before?

  • Is this a known limitation or bug?
  • Any workaround or tips for handling multiple batches in nested loops?

Thanks in advance for any insights or suggestions. Really appreciate the awesome work the n8n team and community have been doing!

I posted about this on Medium a whole ago. Hope this is helpful.

https://medium.com/@kyle.holder/learning-n8n-tips-for-navigating-loops-without-losing-your-mind-73c51d6b3f61

1 Like

@Kyle_Holder Yes, it’s working. Thank you so much dear :heart_eyes:

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