# Find broken links and redirect chains from sitemaps with Slack: n8n workflow

> Started by a clock, and works across Slack and n8n data table. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/find-broken-links-and-redirect-chains-from-sitemaps-with-sla (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Find broken links and redirect chains from sitemaps with Slack

Started by a clock, and works across Slack and n8n data table. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-broken-links-and-redirect-chains-from-sitemaps-with-sla)

**22 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 13 Service 7

The steps in the order they run, from what starts it.

- 1 **Check Every Monday** Schedule trigger *Starts it*
- 2 **Or Run It Now** Manual trigger *Starts it*
- 3 **Settings** Set *Logic*
- 4 **Fetch The Sitemap** Http Request *Service*
- 5 **Read The Sitemap** Code *Logic*
- 6 **Is It An Index Of Sitemaps?** If *Logic*
- 7 **Fetch Each Child Sitemap** Http Request *Service*
- 8 **Gather Every Page URL** Merge *Logic*
- 9 **Read The Child Sitemaps** Code *Logic*
- 10 **Pick The Pages To Crawl** Code *Logic*
- 11 **Fetch Each Page** Http Request *Service*
- 12 **Collect Every Link** Code *Logic*
- 13 **Check Each Link Once** Http Request *Service*
- 14 **Judge Every Link** Code *Logic*
- 15 **Read What You Reported** Data Table *Service*
- 16 **Only The New Problems** Code *Logic*
- 17 **Anything New To Report?** If *Logic*
- 18 **Build The Report** Code *Logic*
- 19 **Nothing New This Week** No Op *Logic*
- 20 **Post The Report** Slack *Service*
- 21 **One Row Per Problem** Code *Logic*
- 22 **Remember What You Reported** Data Table *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack, n8n data table
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Slack account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-broken-links-and-redirect-chains-from-sitemaps-with-sla)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**AI-powered viral trend analysis for TikTok and Instagram** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-viral-trend-analysis-for-tiktok-and-instagram)
- [**Audit AI decisions and route risks with OpenAI and Slack** 22 steps · calls a model · Email, Slack](https://millionrounds.com/workflow/audit-ai-decisions-and-route-risks-with-openai-and-slack)
- [**Automate satellite data analysis and regulatory reporting** 22 steps · calls a model · Email, Postgres](https://millionrounds.com/workflow/automate-satellite-data-analysis-and-regulatory-reporting)
- [**Track competitor App Store listing changes with Bright Data** 22 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/track-competitor-app-store-listing-changes-with-bright-data)
- [**Validate emissions data and generate carbon compliance reports** 22 steps · calls a model · n8n data table](https://millionrounds.com/workflow/validate-emissions-data-and-generate-carbon-compliance-repor)
- [**Automate privacy risk detection, approvals, and audit reports** 23 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/automate-privacy-risk-detection-approvals-and-audit-reports)
