Templates / Detect ad spend anomalies and budget pacing with Google Ads, Meta and GA4

Detect ad spend anomalies and budget pacing with Google Ads, Meta and GA4

Ready for 3.0

by Agung Pambudi · 15 views · created 2026-10-14 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 23 nodes and runs on a schedule (every day at 08:00) (plus 1 other trigger). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 1 other trigger).

  1. Workflow Configuration (Edit Fields (Set)): sets 22 fields: sampleMode, dryRun, emailsEnabled…
  2. Use Sample Data? (If): checks a condition and branches into true / false
  3. Generate Sample Ad Data (Code): runs custom JavaScript code
  4. Get Google Ads Campaigns (HTTP Request): calls an HTTP API (POST)
  5. Get Meta Ads Insights (HTTP Request): calls an HTTP API
  6. Get GA4 Paid Sessions (HTTP Request): calls an HTTP API (POST)
  7. Detect Anomalies and Pacing (Code): runs custom JavaScript code
  8. Combine Platform Data (Merge): merges the data from its input branches
  9. Emails Enabled? (If): checks a condition and branches into true / false
  10. Normalize Platform Rows (Code): runs custom JavaScript code

…plus 9 more steps. See the full node list below.

Services it uses

Gmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview This workflow runs daily to pull Google Ads, Meta Ads, and GA4 performance data, detect spend/ROAS anomalies, budget pacing issues, and tracking gaps, then emails a digest and sends approval-based pause requests via Gmail before pausing…

Excerpt from Agung Pambudi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.