Report post-deploy visual regressions with Snapshot Site, Slack, and GitHub
UnknownWhat this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack, GitHub and Snapshot Site (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Wait: waits 45 seconds
- Compare Deploy to Baseline (Snapshot Site): compare
- Check for API Error (If): checks a condition and branches into true / false
- Notify Comparison Failure on Slack (Slack): uses Slack
- Check for Layout Regression (If): checks a condition and branches into true / false
- Notify Visual Regression on Slack (Slack): uses Slack
- Create Visual Regression Issue on GitHub (GitHub): uses GitHub
Services it uses
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 Deploy to Baseline).
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Wait
n8n-nodes-base.wait - Snapshot Site
n8n-nodes-snapshot-site.snapshotSite - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - GitHub
n8n-nodes-base.github - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow receives a post-deploy webhook from your CI pipeline, waits for the site to settle, compares the deployed page against a baseline using Snapshot Site, and reports failures to Slack while opening a GitHub issue when the visual…