A problem in processing multiple rss source till translations

Error in the loops

I’m encountering an issue with my n8n workflow that processes multiple RSS providers. The workflow features a nested loop design where the outer loop iterates over each RSS provider and an inner loop processes the items fetched from each provider. The problem is that while the inner loop correctly processes the items for the first RSS provider, for all subsequent RSS providers the inner loop is skipped entirely. Instead, the workflow directly moves to the next step (the delay node) without processing the items. It seems like the input data or the execution context from the first iteration might not be resetting properly for the next outer loop iterations.

Problem

When processing the first RSS source, each news item is successfully translated within the Loop Over Selected News node. Once this loop completes, it triggers a delay node, after which the workflow is expected to move on and begin processing the next RSS source.

However, the issue is that after the first RSS source is processed, the workflow does not continue processing the remaining RSS sources. The inner loop does not execute for any of the subsequent sources so directly goes on done option, and as a result, no further news items are translated.

I’m unsure why this is happening, and I would greatly appreciate any help or insights into what might be causing this behavior. :pray::pray::pray:

Rss news translator workflow

Information on your n8n setup

  • n8n version: 1.84.3
  • Database (default: SQLite): mongoDB
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted
  • Operating system: windows 11

Nested loops are not possible right now.
I am pretty sure the N8N team is currently working on this feature.

My recommondation.
Iterate over RSS Feeds and afterwards over the Feed items.
I also changed the behaviour of the Get news from n Hours past code node to Always Output Data.

The entire workflow stops when a node doesn’t return an item.

2 Likes

thanks sir, you are a savior :pray: :facepunch:

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