Templates / Find broken links and redirect chains from sitemaps with Slack reports

Find broken links and redirect chains from sitemaps with Slack reports

Ready for 3.0

by Daniel Shashko ✓ · 6 views · created 2026-09-01 · Document Extraction

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-10-19.

What this workflow does

This workflow has 22 nodes and runs on a schedule (every week at 07:00) (plus 1 other trigger). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every week at 07:00) (plus 1 other trigger).

  1. Settings (Edit Fields (Set)): sets 6 fields: sitemap, url_must_contain, max_pages…
  2. Fetch The Sitemap (HTTP Request): calls an HTTP API
  3. Read The Sitemap (Code): runs custom JavaScript code
  4. Is It An Index Of Sitemaps? (If): checks a condition and branches into true / false
  5. Fetch Each Child Sitemap (HTTP Request): calls an HTTP API
  6. Gather Every Page URL (Merge): merges the data from its input branches
  7. Read The Child Sitemaps (Code): runs custom JavaScript code
  8. Pick The Pages To Crawl (Code): runs custom JavaScript code
  9. Fetch Each Page (HTTP Request): calls an HTTP API
  10. Collect Every Link (Code): runs custom JavaScript code

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

Services it uses

Slack

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.

Nodes used (10)

From the author

Quick overview This workflow runs weekly (or on demand) to crawl your sitemap, extract and deduplicate links from your pages, check each link’s HTTP response without following redirects, and post a summary of new broken links and redirect chains to Slack…

Excerpt from Daniel Shashko'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.