u/Automatic-Shelter731

▲ 18 r/AskGTM+2 crossposts

How to Automate Cold Email With Claude Code

I’ve been using Claude Code to run cold email campaigns end-to-end.

Not just writing copy.

The full workflow: list building, account scoring, contact finding, enrichment, validation, sequencing, and campaign deployment.

Here’s the simple breakdown.

The 5-step workflow

1. Build your company list

Start with a raw company list from Apollo, Clay, Sales Navigator, Instantly SuperSearch, Openmart, BuiltWith, or any other source.

Export it as a CSV.

Claude Code can work through very large files, clean the data, normalize columns, and prepare the list for scoring.

2. Score and tier accounts

Write your ICP criteria in plain English.

Example:

> Tier 1 companies are B2B SaaS companies with 50–500 employees, hiring for growth roles, using HubSpot or Salesforce, and showing recent funding or hiring signals.

Claude Code can turn that into a Python scoring script and classify every account into:

  • Tier 1
  • Tier 2
  • Tier 3
  • Disqualified

This removes most of the manual review from the process.

3. Find the right contacts

Once the accounts are tiered, Claude Code can call your data provider APIs to find contacts.

You can filter by:

  • persona
  • seniority
  • department
  • title keywords
  • geography
  • company tier

A good default is to cap contacts at 4–5 people per company so you avoid overloading your domain and keep the campaign focused.

4. Enrich and validate emails

Use a waterfall instead of relying on one enrichment provider.

Example flow:

  1. FullEnrich
  2. CompanyEnrich
  3. Prospeo
  4. BounceBan for validation

Claude Code can route each contact through the providers in sequence and stop once it finds a verified email.

Risky or invalid emails are removed before they reach your sequencer.

5. Write and deploy the campaign

Claude Code can pull from your existing copy frameworks, add campaign-specific context, and generate the sequence.

Then it can upload the leads, create the campaign, add the copy, and configure delivery settings through your sequencer API.

A simple routing system:

  • Tier 1: manual outreach
  • Tier 2: multi-channel outreach
  • Tier 3: automated email sequence

What Claude Code can automate

ICP scoring

Claude Code reads your scoring rules, writes the Python script, runs it against the raw company list, and outputs a clean tiered file.

API chaining

It can connect your data, enrichment, validation, CRM, and sequencing tools through their APIs.

You still need the API keys and the logic, but you don’t need to manually write every integration from scratch.

Copy generation

Claude Code can review your existing templates, pull performance data from your sequencer, and adapt the best-performing frameworks to the current campaign.

Campaign creation

It can create the sequence, insert the copy, upload leads, assign tags, and configure sending settings.

Enrichment waterfall

Each contact can move through multiple providers until a verified email is found.

This usually gives better coverage than relying on a single provider.

Context memory

Your leads, campaign copy, scoring criteria, reply data, and performance notes can live in one project folder.

Over time, that folder becomes a reusable outbound system.

Example API stack

Data sources

  • Apollo
  • Instantly SuperSearch
  • Openmart
  • LeadsFactory
  • BuiltWith

Enrichment

  • FullEnrich
  • CompanyEnrich
  • Prospeo

Validation

  • BounceBan

Intent and signal data

  • RB2B
  • PredictLeads
  • Trigify

Automation

  • Clay
  • n8n
  • Relevance AI

Sequencing

  • Instantly
  • lemlist

What to set up once

1. CLAUDE.md

This is your master instruction file.

It should include:

  • scoring rules
  • preferred tools
  • workflow logic
  • naming conventions
  • campaign rules
  • QA checks

Claude Code reads this before every task.

2. API keys

Add the API keys for your data, enrichment, validation, CRM, and sequencing tools.

Once connected, Claude Code can read the API docs and build the workflow around them.

3. Copy frameworks

Create a document with your best-performing outbound templates.

Include:

  • campaign type
  • target persona
  • pain point
  • offer
  • CTA
  • performance notes

Claude Code can then choose the right framework for each campaign.

4. Scoring criteria

Write your ICP filters in plain English.

You don’t need a complex rules engine to start.

A clear criteria doc is enough.

How to start

  1. Create a project folder for outbound.
  2. Add your CLAUDE.md file.
  3. Add your scoring criteria.
  4. Add your best copy frameworks.
  5. Export a company list.
  6. Ask Claude Code to score the list, find contacts, enrich emails, validate them, and prepare the campaign.

Your folder structure becomes the operating system for outbound.

The main idea:

Cold email becomes much more scalable when the workflow is built around reusable files, API calls, and clear campaign logic.

Claude Code is useful because it can turn that logic into repeatable execution.

reddit.com