Building a Facebook ad generator with Claude Code
The author shows how Claude Code finds pain points, writes prompts, calls GPT Image 2.5 for images and uploads them to Facebook Ads via API, producing 100+ on-brand ad variations in minutes.
I just had Claude Code build me a Facebook ad generator that can make 100+ on-brand ad variations in minutes. It researches the pain points / desired outcomes of your target customer, makes the ads, and uploads them to Facebook Ads via API. here's the process: 1. How to use Claude to find the pain points and desired outcomes of your ICP using exa scraping reddit 2. Have it write ad concept ides using these pain points and outcomes 3. Extract your websites design and build a brand style guide 4. Have it write prompts and send it to chat gpt image 2.5 to make the ads that are are brand 5. Have it upload the ads directly to facebook ads via API key 6. How to analyze the working ads via facebook ads, google analytics, posthog, and hubspot data Everything above is just API calls and Claude Code doing the work for you. You just guide the agent and currate the outputs and this whole thing is built on Graphed — the marketing engineering platform sign up free, and just give it this post get started free - http://graphed.com/platform