Technical Z-Score Logic
FREE MINI-REPORT — 2026-03-11T00:00:00.000Z
Technical Z-Score Logic in n8n
Subject: The Mathematical Engine of Anomaly Detection
Why “Fixed Thresholds” Fail
Setting a rule like “Alert if Spend > $500” is useless if your budget scales or fluctuates. You need Statistical Significance.
The Z-Score Architecture (Expert Lesson 1, Fix 3)
The Formula: (Today’s Metric - 8-Week Same-Day Mean) / 8-Week Standard Deviation = Z-Score.
The Logic: A Z-Score of 2.0 means the data point is 2 standard deviations away from the norm.
The Alert:
Z > 1.5: Warning (Slack notification).
Z > 2.5: Critical Anomaly (Immediate escalation).
Operational Benefit
This logic ensures your Budget Pacing Watchdog (Appendix A4) only “barks” when the change is statistically rare for that specific day and campaign. It turns your anomaly detector from a noise-generator into a precision surgical tool.