How do I prevent RSS node from spilling all previous feed content when the flow starts

Describe the issue/error/question

Hello! I’m trying to make a flow to check for a RSS feed and then post the new items in Discord. But i’m running into a question: when i start the flow the RSS node always send the whole feed, flooding the webhook of items.

That would be problematic in the case of flow/n8n/even the pi restarts, since in this case i suspect the RSS node will send again the previous items.

So my question is: how can i prevent the RSS node to send the previous items at the first run, only monitoring for new items that are posted after the node starts?

Thanks in advance for any insight!

Information on your n8n setup

  • n8n version: 0.178.2
  • Database you’re using (default: SQLite): How can i check it?
  • Running n8n with the execution process [own(default), main]: systemd
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm

Hi @vico, welcome to the community :tada:

You’d essentially need to build some logic for de-duplicating your feed elements.

A possible approach supporting multiple feeds and using Grist to keep track of the processed elements would be described here:

A simpler way could be to run your workflow every hour and then filter out all items posted longer than hour ago before using the IF node before sending them to Discord.

Hope this helps! Let me know if you get stuck somewhere :slight_smile:

1 Like