Templates / Find scalable Meta Ads winners with Claude and email the budget plan via Gmail

Find scalable Meta Ads winners with Claude and email the budget plan via Gmail

Ready for 3.0

by Nocode Expert ✓ · 35 views · created 2026-07-31 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 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: winners (Code): runs custom JavaScript code
  2. Fetch account benchmark (Meta) (HTTP Request): calls an HTTP API
  3. Fetch ad insights (Meta) (HTTP Request): calls an HTTP API
  4. Fetch ad set insights (Meta) (HTTP Request): calls an HTTP API
  5. Fetch ad set entities (Meta) (HTTP Request): calls an HTTP API
  6. Fetch campaign insights (Meta) (HTTP Request): calls an HTTP API
  7. Fetch campaign entities (Meta) (HTTP Request): calls an HTTP API
  8. Rank winners and size the lift (Code): runs custom JavaScript code
  9. Build AI scale prompt (Code): runs custom JavaScript code
  10. Write scale plan with Claude AI (HTTP Request): calls api.anthropic.com (POST)

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

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (4)

From the author

Quick overview This workflow pulls Meta Ads performance and budget data, identifies ads beating account benchmarks, calculates safe budget lifts for capped winners, and uses Anthropic Claude to write a scaling plan, then emails the formatted report via Gmail.…

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.