Heidelberg AICurriculum

Claude Code + Clay Makes Lead Generation Actually Fun

Nate Herk | AI Automation ·2026-07-12 ·2 min read

Summary written by us from the video's transcript. The video, and everything in it, is Nate Herk | AI Automation's work.

Learn how to combine Claude Code with the Clay platform to automatically source, enrich, and personalize cold‑outreach leads, then launch an email campaign—all via natural‑language prompts.

Takeaways

  • Clay’s “waterfall” enrichment pulls data from multiple providers, boosting email hit rates to 80‑90 %.
  • Claude Code can orchestrate end‑to‑end lead generation with a single natural‑language goal prompt, eliminating manual API calls.
  • A well‑prepared business context (profile, case studies, FAQs) is essential for Claude Code to produce high‑quality outreach copy.
  • The combined workflow outputs a ready‑to‑import CSV, which Clay can turn into an automated email campaign with personalized variables and warm‑up‑managed sender accounts.

Why Combine Clay and Claude Code

The main hurdles in cold outbound are finding qualified businesses, obtaining accurate contact details, and crafting non‑spammy outreach. Clay solves the data problem by providing high‑quality B2B leads and enrichment, while Claude Code acts as an orchestrator that eliminates the need to juggle multiple tools or learn new interfaces.

Setting Up Clay and Installing Its Plugin

Create a free trial at **clay.com**, retrieve your API key, and install the Clay plugin through the Cloud Code terminal (not the desktop app). The installation involves running a single command, adding the marketplace URL, and reloading plugins. After installation, ask Claude Code to authenticate; it will provide a link you open, select a workspace, authorize, and return to the terminal fully connected.

Preparing Your Business Context for Claude Code

Claude Code needs background about your company to generate persuasive copy. Upload context files such as a business profile, case studies, FAQs, proof points, offers, and website copy into Cloud Code. This “AI operating system” gives the model the knowledge required to write personalized subject lines and email bodies for each lead.

Prompting Claude Code to Generate Enriched Leads

Use a natural‑language goal prompt like: *“Find 50 enriched HVAC leads, include decision‑maker emails, pain points, recent signals, and generate personalized subject lines, body copy, and a CTA asking for a 90‑second Loom video.”* Claude Code translates this into Clay actions, launches multiple sub‑agents across cities, enriches each lead, verifies data, and outputs a CSV. In the demo, a simple 5‑minute run produced 50 leads; a more thorough verification pass took about an hour and cost 172 Clay credits (~$12).

Importing the CSV into Clay and Launching a Campaign

In Clay, import the generated CSV as a new table. Create a campaign, attach the lead list, and map variables to the **email_subject** and **email_body** columns using slash syntax (e.g., `/row.email_subject`). Preview to confirm each personalized email renders correctly.

Setting Up Sending Infrastructure

If you lack sending accounts, Clay lets you purchase domain‑linked Gmail or Outlook accounts directly in the platform. Choose domains similar to your business name (e.g., tradewindautomations.com), buy up to five accounts per domain, and Clay will handle warm‑up limits (≈30 emails/day). You can also schedule follow‑up sequences within the campaign.