I am really struggeling to understand why this doesnt work. I load 3 different RSS feed urls from a sheet, load the feed, limit it to 10 articles and then loop over these articles, excluding the ones I already have, summarizing and saving them. But it only takes the one from the first feed/run in “Loop over articles”. If I set “Reset” on the loop, it runs infinite with the “IF” node…
Hi @dmdba
You’re running into a known limitation/quirk: nested Loop Over Items nodes don’t behave intuitively and often only run correctly for the first outer iteration . After that, the inner loop keeps its “I’m done” state and immediately goes to the done branch for subsequent feeds.
There are two established ways to handle this.
If you keep both loops in the same workflow, use one outer loop for the RSS feed URLs and one inner loop for the 10 articles of the current feed. On the inner Loop Over Items node, enable Options → Reset, switch it to Expression, and use something like:
{{ $prevNode.name === 'Limit to 10 articles' }}
(replace the name with the node that outputs the 10 articles for the current feed).
This makes the inner loop reset only when a new batch of articles comes from that node.
or
Instead of two nested loops in one workflow, keep only the outer loop in the main workflow. For each feed: fetch RSS, limit to 10, then call an Execute Workflow node and pass those 10 items to a sub-workflow. The sub-workflow processes that batch (filter existing, summarize, save). Each call starts fresh, so there is no shared loop state and you completely avoid the nested-loop reset and infinite loop problems.
[Nested loop not working; Nested loop bypassing data]
[Nested Loop Over Items fix; Classic nested loop fix]
[Issue with nested loops; Loop inside loop not working; Use subworkflow instead; RSS nested loop não possível]
This did the trick. Thank you very much!
I’m really really happy to hear this helped ![]()
If this solution solved the issue for you, please consider leaving a like or marking the reply as the solution ( it helps others find the answer more easily and also supports community contributors.)
