Loop node executes the Done branch in every loop

You could see that there are 10 items flow to the “Loop Completion Msg” node and 6 messages were sent, yet the node should be triggered after the loop is completed.

Share the output returned by the last node


Information on your n8n setup

  • n8n version: 1.85.4
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker

Thank you.

Try to use this expression in “reset”: {{ $(‘node_name’).context[‘done’] }}

Hi Aethera,

Thank you for your assistance. I have tried your solution but it seems it returns an error as below. Could you please help?

After your inspiration, I use the below method in Done branch to resolve it.
(During testing, I changed the node name)

Thank you!

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