I Fully Automated Cold Email With Claude Code (Complete Breakdown)

18 min tour of his agency stack rebuilt on Claude Code: replaced n8n, Zapier, Clay with own code; onboarding automation (CRM, Stripe, Linear); reply audit with Slack MCP. Strong stack, how-to is high level. Promotes his own tool Outfound.

playbook
Last updated Nov 21, 2026

This article was originally posted on YouTube

We send tens of millions of cold emails per month across our clients. Over the last few months I rebuilt pretty much every part of how we run the company on top of Claude Code and agentic AI: copywriting, data analytics, client audits, content, our entire internal app.

I'm not going to pretend that AI writes all my content or that a robot runs my agency. That's clickbait. But what we built let us 10x our output and get very accurate data. And I don't know a single line of code. Claude Code, Codex and a cloud-based agent called Devin AI write all of it under my direction.

The foundation: own your data

We replaced n8n, Zapier, Clay and most of the usual automation stack with custom code we own, on our own servers.

Most companies run inside Instantly, Smartlead or EmailBison as their sequencer. The second you close a subscription, every send, reply and sign-up is gone. So a year ago we started building our own analytics platform: a permanent record of every campaign we've ever run.

The key point: set up your data and tools so your AI can work with them in a token-efficient way. Everything below plugs into our platform through an MCP, so Claude Code has years of campaign data one question away.

What we built on top

Pre-onboarding and onboarding

  • Sales people enter client info right after a call. It integrates with our CRM, Attio, and within seconds the onboarding docs and links are typed up.

  • The second a contract is signed, a webhook adds the client to the CRM, creates their Stripe subscription, sets up projects in Linear (our task manager), generates the onboarding documents and queues the account for manual review.

If I need a change, I open a chat with my AI, say "I want it to do this instead of that", and we ship new code.

Lead waterfall (replaced Clay)

  • Search: built for Prospeo right now, and I'm adding Apollo. Prospeo gives you the API payload of a search, which I paste straight in.

  • I pick the client, the campaigns to load into and the validation providers. I can route different lead types to different campaigns.

  • Before buying any email, the waterfall checks our own database: did I already buy this person's email, and was it validated in the last 30 days? That covers about 80% of a list and cut my data spend by about 80%.

  • If we don't have it, the normal waterfall runs: LeadMagic, Wiza, Prospeo, Blitz and others.

For scale: 17 million enrichments a week on Clay's current pricing would cost us around 217 grand per week.

Small tools nobody would pay a developer for

  • An out-of-office Slack auto-responder: when a client @'s me, it says I'm on vacation and reassigns the Linear task to the person I chose.

  • A campaign pauser: before a holiday, it goes through every client, pauses every campaign, logs which ones, and resumes them after the break.

  • A central "brain": every account connected, Google Calendar and all meeting recordings streamed into our back-end database, synced with Attio.

My workflow for building

Plan first

  1. Turn on plan mode in Claude Code or Codex. I spend most of my time here. Tell it: "We're just brainstorming. I want you to criticize this."

  2. You always fight context windows. When the AI runs out of room it compacts and loses data. So I say "let's document this in Linear" (ask it how to install the Linear MCP). Now there is a system of record with milestones. Any agent on the project can read what was planned, why, and what's done.

Then six phases, mostly in Devin

Devin understands codebases much better. It's also much more expensive: Codex and Claude Code are $200 a month each and I never hit the limits, while my Devin bill this month is seven or eight grand. Worth it to me. I use Devin playbooks:

  1. Audit: 20+ sub-agents stress-test the plan.

  2. Review: the criticisms, the current thinking, and what needs a human review.

  3. Prepare: it prepares the codebase and creates a branch.

  4. Implement: either Devin manages a Codex sub-agent on my Codex subscription (to keep the Devin bill down), or it gives me a prompt to run in Codex myself.

  5. Code review loop: Devin, CodeRabbit and Cursor review critique the code, check for conflicts and errors, and loop until it's clean.

  6. Merge and ship.

I ship code with this loop dozens of times a day. If Instantly rate limits or a Zapier integration goes down, nothing of ours breaks. When a client drops an idea in Slack, I can ship it the same day.

Use case 1: a client audit in minutes

A client said they'd only had five positive replies. We knew that was off.

  1. Claude Code pulled every reply from the client's positive reply channel with the Slack MCP.

  2. It cross-referenced our analytics data: 46 positives.

  3. I didn't trust that yet, because a bug flagged out-of-office replies as positive. Claude read and classified each one: 26 true positives.

  4. It took the ICP from the client's onboarding form, visited the website of all 26 leads and checked the fit.

  5. It gave me a spreadsheet: every reply, ICP fit yes or no, a confidence score, and notes.

That would have taken someone two full days. It took 5 to 10 minutes and was more thorough.

Use case 2: questions nobody asks

You don't need a BI tool, SQL or a data analyst. I asked: how long do our clients take to reply to a positive lead? No sequencer tracks that. The first pass measured the wrong thing, the second got closer, the third filtered out automated replies.

Answer: on average 4 days. That is our number one churn reason, and it is now reshaping our business. We're building an auto-reply framework that answers every positive reply within 1 minute. Version two adds phone calls and texts. Version three runs all channels for 7 days until the lead converts. We can sell it as an add-on.

Use case 3: copywriting from performance data

I built a cold email copy skill for Claude Code or Codex. It pulls real performance data first and writes around what books meetings.

For our client Everstage, it analyzed over 708,000 emails across 16 campaigns and 30+ variants. It found that pain point openings drove 100% of their booked meetings. Then it wrote five variants of email one and three follow-ups using those frameworks.

It gets us 90% of the way in 2 minutes. A human still takes it from 90 to 100. I don't copy and paste AI copy.

Comments

Login to leave a comment