Audit Meta pixel deduplication risks with Graph API and Claude
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set config (account & thresholds) (Edit Fields (Set)): sets 7 fields: META_AD_ACCOUNT_ID, META_API_VERSION, META_ACCESS_TOKEN…
- List account pixels (HTTP Request): calls an HTTP API
- List optimization targets (adsets) (HTTP Request): calls an HTTP API
- Extract optimization targets (Code): runs custom JavaScript code
- Select active pixels (Code): runs custom JavaScript code
- Get browser vs server split (HTTP Request): calls an HTTP API
- Carry pixel id + source split (Code): runs custom JavaScript code
- Get per-event counts (HTTP Request): calls an HTTP API
- Classify dedup risk per pixel (Code): runs custom JavaScript code
- Build AI dedup summary prompt (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
From the author
Quick overview This workflow audits Meta (Facebook) Pixels for potential duplicate conversion counting by comparing browser Pixel vs Conversions API (server) activity and highlighting events active campaigns optimize for, then uses Anthropic Claude to…