Catch soft 404 and error pages from sitemaps with Snapshot Site, Slack, and Google Sheets
UnknownWhat this workflow does
This workflow has 14 nodes and runs on a schedule (every day at 05:00). Along the way it connects Google Sheets, Slack and Snapshot Site (community).
How it runs
Trigger: On a schedule (every day at 05:00).
- Fetch Sitemap (HTTP Request): calls an HTTP API
- Extract Sitemap URLs (Code): runs custom JavaScript code
- Notify Sitemap Failure on Slack (Slack): uses Slack
- Loop Over Sitemap URLs (Loop Over Items (Split in Batches)): loops over the items in batches
- Log Findings to Google Sheets (Google Sheets): append
- Build Error Page Report (Code): runs custom JavaScript code
- Analyze Page for Error Content (Snapshot Site): analyze
- Check for Error Pages (If): checks a condition and branches into true / false
- Check for API Error (If): checks a condition and branches into true / false
- Record Unreachable URL (Edit Fields (Set)): sets 14 fields: url, status, signal…
…plus 3 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-snapshot-site is verified or supports 3.0 (used in Analyze Page for Error Content).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Snapshot Site
n8n-nodes-snapshot-site.snapshotSite - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs daily to fetch your sitemap.xml, sample a set of URLs, analyze each page with Snapshot Site to detect soft 404s and other error-page signals, log the results to Google Sheets, and post a Slack digest (or a sitemap-fetch…