Templates / Detect sitemap URL changes with HTTP and JSON diffing

Detect sitemap URL changes with HTTP and JSON diffing

Ready for 3.0

by yedu · 0 views · created 2026-11-10 · Market Research

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 21 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Configure sitemap watch (Edit Fields (Set)): sets 5 fields: SITEMAP_URL, MAX_URLS, MAX_CHILD_SITEMAPS…
  2. Fetch sitemap (HTTP Request): calls an HTTP API (GET)
  3. Read sitemap response (Code): runs custom JavaScript code
  4. Sitemap is gzipped? (If): checks a condition and branches into true / false
  5. Gunzip sitemap (Compression): decompress
  6. Parse root sitemap (Code): runs custom JavaScript code
  7. Is it a sitemap index? (If): checks a condition and branches into true / false
  8. Loop over child sitemaps (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Diff against baseline (Code): runs custom JavaScript code
  10. Pause between requests (Wait): pauses before continuing

…plus 6 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview Watch a public sitemap and emit added or removed URLs How it works 1. Runs when you click “Test workflow” and sets the target SITEMAPURL plus MAXURLS and RESETBASELINE limits. 2. Fetches the sitemap XML over HTTP with no authentication and…

Excerpt from yedu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.