← All flows

⚡ Weekly Sitemap New and Removed URLs

Once a week, reads one XML sitemap, compares it with last week's copy stored inside the workflow, and writes a Markdown list of URLs that were added or removed.

Site auditsIntermediate · Edit variables or configuration before use.FreePublished Nov 2, 2026
Free

n8n workflow JSON.

Download JSON

What it does

Handy for watching your own site after a migration or a CMS change, or for keeping an eye on what a competitor publishes, without a crawler subscription. Each run produces one Markdown file listing new and removed URLs since the previous run.

What it does

  1. Every Monday at 09:00 (your n8n timezone) the Schedule Trigger starts.
  2. Config holds sitemap_url. Change it after import.
  3. HTTP Request downloads the sitemap as text.
  4. A Code node pulls every <loc> URL, compares the list with the copy saved by the previous run (stored in the workflow’s own static data), saves the new list, and builds a Markdown report. The first run just records a baseline.
  5. Convert to File turns the report into a .md file on the execution, ready to download or pass to an email, Slack or Drive node you add yourself.

No credentials are embedded and nothing is sent anywhere by default.

Setup

  1. Import the JSON.
  2. Open Config and set your sitemap URL (a single sitemap file, not a sitemap index).
  3. Activate the workflow. Static data is only saved on production (activated) runs, so manual test runs will always look like a first run.

Good to know

  • For a sitemap index, point Config at one child sitemap, or duplicate the workflow per child.
  • Very large sitemaps (tens of thousands of URLs) make the stored list big; split them by child sitemap.

Required nodes

  • Schedule Trigger
  • Edit Fields (Set)
  • HTTP Request
  • Code
  • Convert to File

Credentials

None. This flow runs without any credentials.

Our JSON never contains credentials, credential IDs or webhook URLs. You connect your own after import.

Import steps

  1. Download the JSON file above.
  2. In n8n, open a new workflow, then open the Workflow menu in the canvas header and choose Import from File…. You can also paste the JSON straight into the editor.
  3. Check the settings in each node (URLs, schedules, recipients) and change them to your own.
  4. Click Execute workflow once to test, then click Publish so schedules and webhooks run in production. Full guide.

Test log

No recorded test runs yet. We only list a tool under “Tested on” after a real run passes, with the date and model.