Rss Duplicates - Static workflow not working as expected

Describe the issue/error/question

Trying to stop RSS duplicates by using static workflow (and yes I copy pasted another example), However workflow is still getting duplicates from the rss feed

I have 100% done something wrong but can’t see myself where the error is.
From here the data gets split off and sent to a discord webhook

Any help or other ideas of how to stop duplicates would be appreciated :slight_smile:

Information on your n8n setup

  • n8n version: 0.179.0
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default)]:
  • Running n8n via [Docker]:

Hey @FlippinTurt,
deduplication can be hard :grinning:

Your are storing an array of old ids in the global context of your function node and check those the next time your node is running. So far so good, but this approach is a bit hard to debug. The getWorkflowStaticData approach only works in production executions, not when you are manually trying out your workflow.

It would be better if you save all processed Ids in a data store. This can be a database of your choice or you can use a service like airtable. I like airtable because it has a great free tier and it is easy to use. Checkout our n8n Course Level 1 where we use our Airtable Node to store data.