Send nightly staging vs production drift digest from Google Sheets with Snapshot Site and Slack
UnknownWhat this workflow does
This workflow has 12 nodes and runs on a schedule (every day at 02:00). Along the way it connects Google Sheets, Slack and Snapshot Site (community).
How it runs
Trigger: On a schedule (every day at 02:00).
- Read Staging Path List (Google Sheets): uses Google Sheets
- Loop Over Paths (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Staging Drift Digest (Code): runs custom JavaScript code
- Build Environment URL Pair (Code): runs custom JavaScript code
- Check for Significant Drift (If): checks a condition and branches into true / false
- Compare Staging to Production (Snapshot Site): compare
- Notify Staging Drift on Slack (Slack): uses Slack
- Notify Quiet Night on Slack (Slack): uses Slack
- Check for API Error (If): checks a condition and branches into true / false
- Record Failed Path (Edit Fields (Set)): sets 10 fields: status, label, path…
…plus 1 more step. 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 Compare Staging to Production).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - Snapshot Site
n8n-nodes-snapshot-site.snapshotSite - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs nightly, reads a list of site paths from Google Sheets, compares each staging URL to its production counterpart using Snapshot Site, and posts a worst-first drift digest (or an all-clear message) to a Slack channel. How it…