Monitors GA4 metrics for anomalies using z-scores, sends instant Slack alerts and consolidated email summaries with sparkline charts for traffic spikes/drops.
This workflow automates anomaly detection in Google Analytics 4 (GA4) data, ideal for marketing and analytics teams tracking sessions, new users, conversions, and bounce rates by channel. It fetches daily metrics via the GA4 Data API, computes 7-day rolling averages and z-scores to flag significant outliers (spikes or drops), and generates QuickChart sparklines for visual context. Anomalies trigger immediate Slack notifications per event and a single daily email consolidating all alerts into an
Platform
n8n
Category
Utilities
Price
$19.99
Creator
Jose Maurino
GA4
Google Analytics
Anomaly Detection
Slack Alerts
Email Notifications
Analytics Monitoring
Z-Score
Sparkline Charts
Business Intelligence
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.