Build and launch a Meta lead-gen campaign with Claude Code

Claude Code set up the pixel and system-user token via the Chrome extension, wired CAPI tracking and launched by API.

by The Boring Marketer1 Sep 2026

Prompt for your agent

Goal: Build an end-to-end Meta lead-gen campaign without clicking around Business Manager.
Setup: agents used in source: Claude; tools/MCPs stated: Meta Business Manager.
Steps:
1. Browser: let Claude Code use the Chrome extension in Business Manager to create a pixel and a system-user token, and link the assets.
2. Creative: feed it inspiration from DTC brands (via scrapecreators); the author made 12 “job photo + text bubble” creatives in 15–20 min.
3. Landing page: a calendar-booking quiz funnel to self-qualify leads.
4. Tracking: have it pull the pixel and CAPI details, implement and test the events.
5. Build: store the system-user token in the environment and have it create and launch the campaigns programmatically.
6. Targeting: go broad and optimise for the deep-funnel event, not clicks.
Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify.
Based on: The Boring Marketer — https://x.com/boringmarketer/status/2094776379090878718

Steps are from the source. Includes a “Based on” credit line.

I tried this

Tell the next builder. One anonymous answer each; click again to undo.

Agents, models and tools only what the source states

Agents
Claude
Tools
  • Meta Business Manager

Sources & credit