See llms.txt for all machine-readable content.

Back to Templates

Fetch and emit only new items from public RSS and Atom feeds

Quick overview

This workflow runs manually to fetch multiple public RSS/Atom feeds over HTTP, tracks previously seen entries using n8n workflow static data, and outputs a single JSON payload that includes only newly detected items plus any per-feed fetch/parse errors.

How it works

  1. Starts when you click Test workflow in n8n.
  2. Reads a comma-separated list of feed URLs and a per-feed item limit, and optionally resets the stored “seen” cache.
  3. Sends an HTTP GET request to each RSS/Atom feed URL and continues even if a feed fails.
  4. Parses each feed response into a normalized list of items (title, link, id, published, summary) and compares them against the workflow’s stored “seen” keys.
  5. Marks inspected item IDs as seen and compiles a single JSON result with counts plus arrays of new items and errors.
  6. Routes the output to a “new items” or “no new items” JSON payload depending on whether any new entries were found.

Setup

  1. Replace FEED_URLS with your public RSS/Atom URLs (comma-separated) and adjust MAX_PER_FEED in the configuration step.
  2. Leave RESET_SEEN set to false for normal operation, and set it to true only for a one-time reset/backfill before switching it back.
  3. If you want automation, add a Schedule Trigger before the configuration step and set the interval you want.