Templates / Detect Meta Pixel flatlines with Claude and Gmail alerts

Detect Meta Pixel flatlines with Claude and Gmail alerts

Ready for 3.0

by Nocode Expert ✓ · 3 views · created 2026-07-28 · 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 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Gmail. It also calls api.anthropic.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set config: flatline thresholds (Code): runs custom JavaScript code
  2. Fetch pixels & last-fired time (Meta) (HTTP Request): calls an HTTP API
  3. Detect flatlined pixels (Code): runs custom JavaScript code
  4. Build AI diagnosis prompt (Code): runs custom JavaScript code
  5. Diagnose pixel flatlines with Claude AI (HTTP Request): calls api.anthropic.com (POST)
  6. Print pixel flatline report (Code): runs custom JavaScript code
  7. Send a message (Gmail): uses Gmail

Services it uses

Gmail

HTTP calls to: api.anthropic.com

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 (4)

From the author

Quick overview This workflow checks Meta (Facebook) ad account pixels for inactivity using the Meta Marketing API, flags pixels that have stopped firing beyond a defined threshold, asks Anthropic Claude to suggest likely causes and first checks, and emails a…

Excerpt from Nocode Expert'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.