Skip to product information

Detect Meta Pixel Flatlines & Email Reports with n8n + Gmail

Detect Meta Pixel Flatlines & Email Reports with n8n + Gmail

 (200+Reviews)
Regular price £64.99
Regular price £64.99 Sale price
SAVE Sold out
Instant Digital Download
Unlimited Downloads
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
23 people viewing
High interest right now
9 added today
Fast-moving digital product
Detect Meta Pixel Flatlines & Email Reports with n8n + Gmail

Detect Meta Pixel Flatlines & Email Reports with n8n + Gmail

Regular price £64.99
Regular price £64.99 Sale price
SAVE Sold out

Detect Meta Pixel flatlines and get an email diagnosis—automatically, with n8n + Gmail

This n8n workflow monitors your Meta (Facebook) ad account pixels for inactivity (“flatlines”), generates a clear “Meta Pixel Flatline Report,” and emails the results via Gmail—complete with an Anthropic Claude diagnosis per affected pixel.

What this workflow does

Designed for reliable Meta Pixel monitoring, it:

  • Runs manually (or can be switched to a schedule) to start a pixel health check.
  • Fetches all Meta ad pixels and their last_fired_time using the Meta Marketing API (via your META_ACCESS_TOKEN and META_AD_ACCOUNT_ID).
  • Calculates pixel inactivity by determining how many hours each pixel has been quiet, then flags each pixel as:
    • OK
    • warning
    • flatlined
    • never fired (optional)
  • Requests an AI diagnosis from Anthropic Claude for flatlined pixels (and optionally never-fired ones), producing a concise JSON diagnosis with a likely cause and a first check for each pixel.
  • Formats results into a human-readable report that includes counts, thresholds, and per-pixel diagnostics.
  • Emails the report using the Gmail

Use cases

  • SaaS and growth teams who need immediate visibility when Meta Pixel events stop firing.
  • Automation engineers building alerting around ad tracking reliability.
  • Ops teams validating tracking health after site changes, tag manager updates, or deployments.

Technical details

  • Nodes / tools: Manual Trigger, Code, HTTP Request, Sticky Note, Gmail.
  • Integrations: Meta Marketing API (pixels + last_fired_time), Anthropic Claude (diagnosis), Gmail (email delivery).
  • Configuration: Set META_ACCESS_TOKEN, META_AD_ACCOUNT_ID (and optionally META_API_VERSION), ANTHROPIC_API_KEY, plus Gmail recipients/subject.
  • Threshold controls: Adjust FLATLINE_HOURS, WARN_HOURS, and IGNORE_NEVER_FIRED.
View full details