Back to Cookbook
IntegrationPro

Spend Anomaly Detector

Alert when daily spend deviates significantly from normal.

1 hour
Intermediate
Level:
2h/monthAutomatable

Platforms

Integrations

n8nSlack

Best For

Prerequisites

  • n8n account
  • 30 days of spend history

Tools Used

meta_get_insightsSpend data
google_ads_run_gaqlSpend data

Prompts

Copy these prompts and paste them into Claude, ChatGPT, or any connected AI assistant with Ad Superpowers.

Anomaly Detection

Set up anomaly detection for daily ad spend. Calculate the average daily spend over the past 14 days and alert me if today's spend is more than 30% above or below that average.

Expected output: n8n workflow with anomaly detection logic