Sales Automation

How to Build an AI Sales Agent with OpenClaw (Replace Your First SDR)

Prospects, outreach, follow-ups, CRM logging — all automated.
Total cost: under $20/month.

NK
Nikhil Kumar
14 min readMar 18, 2026

I spent three months looking for an SDR last year. Posted the job, ran interviews, made an offer. She lasted six weeks before taking a better gig.

During those six weeks, she researched about 200 prospects, sent maybe 400 emails, and booked 11 calls. Not bad work, honestly. But the math bothered me: salary, benefits, tools, management time — it was north of $6,000 a month when you added it all up.

So I tried something different. I built an OpenClaw agent that does roughly 80% of what she did, runs 24/7 without coffee breaks, and costs me $18 a month.

This guide walks through exactly how I set it up. The agent researches prospects, writes personalized cold emails, follows up on a schedule, and logs every interaction to HubSpot. It is not perfect — I will be honest about where it falls short — but for early-stage outbound, it punches way above its price tag.

TL;DR — What you are building

An OpenClaw agent that runs a full SDR loop: find prospects → research their company → write a personalized email → send it → follow up 3 days later → log everything to your CRM. Runs on a $6/month VPS. Uses ~$8-12/month in API calls. Total: under $20/month.

What an AI Sales Agent Actually Does (and Does Not Do)

Before we get into the build, let me set expectations. An OpenClaw sales agent handles four things well:

  1. Prospect research — Browsing company websites, pulling LinkedIn data, enriching contacts with email and phone
  2. Personalized outreach — Writing cold emails that reference specific things about the prospect's business
  3. Follow-up sequences — Sending timed follow-ups based on whether someone replied or not
  4. CRM logging — Creating contacts, updating deal stages, and logging activity notes automatically

What it does not do: hop on discovery calls, handle live objections, or read the subtle signals that tell you a deal is about to die. Those still need a human. Let the agent grind through volume. You handle the conversations that actually matter.

A founder I follow on X posted that he replaced a $200K GTM hire with an OpenClaw agent and saw a 40% pipeline increase after three months. I believe the pipeline number. I do not believe he needed zero humans. The reality for most teams is a hybrid setup: AI does the repetitive grind, humans close the deals.

Build Your AI Sales Agent: Step by Step

Here is the full setup, broken into five pieces. You can get a basic version running in under an hour. A production-ready agent takes a day or two of tuning.

Step 1: Define Your Ideal Customer (SOUL.md)

Every OpenClaw agent starts with a personality file. For a sales agent, this file is where you define your ICP (ideal customer profile), outreach tone, and qualification criteria.

bash
# SOUL.md — AI Sales Agent

## Identity
You are a sales development agent for [Your Company].
Your job: find qualified prospects, research them, and send personalized outreach.

## Ideal Customer Profile
- B2B SaaS companies, 20-200 employees
- Series A to Series C funding
- Using at least one competitor product (HubSpot, Outreach, Apollo)
- Based in US or EU

## Outreach Rules
- Never send more than 50 emails per day
- Always reference something specific about the prospect's company
- Tone: professional but human — like a smart colleague, not a robot
- If a prospect replies with "not interested", mark as closed-lost and stop
- Follow-up sequence: Day 0 (initial), Day 3, Day 7, Day 14 (final)

## Qualification Criteria
- Has a sales team of 5+ people
- Annual revenue > $2M (check Crunchbase or LinkedIn)
- Currently hiring for sales roles (strong buy signal)

This file shapes everything the agent does. Be specific about what makes a good prospect for you. Vague instructions lead to vague outreach.

Step 2: Set Up Prospect Research

The agent needs to find and research prospects before it can write to them. You have two paths here:

Path A: Apollo skill — If you have an Apollo.io account, install the apollo skill from ClawHub. It gives your agent access to Apollo's people and org enrichment API. You can search by company size, funding stage, tech stack, and job title.

bash
# Install the Apollo skill
openclaw install apollo

# Configure API key
export APOLLO_API_KEY=your_key_here

# Test: search for VP Sales at SaaS companies with 50-200 employees
openclaw run "Find 10 VP Sales at B2B SaaS companies, 50-200 employees, Series A-B"

Path B: Browser-based research — No Apollo account? The agent can use OpenClaw's built-in browser automation to scrape company websites, check LinkedIn profiles, and pull contact info from public sources. Slower, but free.

I use both. Apollo for the initial list, browser research for the personalization details that make outreach actually work — recent blog posts, product launches, job openings. (There is also a phone-caller skill if you want voice outreach. I tried it once. The prospect thought they were talking to a real person for about 45 seconds. Impressive and slightly unsettling.)

Step 3: Build the Outreach Engine

Install the cold-outreach skill from ClawHub. This one generates personalized cold emails using proven frameworks like AIDA, PAS, and BAB.

bash
# Install cold outreach skill
openclaw install cold-outreach

# Create an outreach skill file
cat > outreach.skill.md << 'EOF'
# Sales Outreach Agent

## Task
For each prospect in my pipeline:
1. Research their company (website, LinkedIn, recent news)
2. Identify a specific "hook" — something relevant happening at their company
3. Write a 3-sentence cold email using the hook
4. Subject line: under 5 words, no clickbait
5. CTA: ask for a 15-minute call, suggest 2 specific times

## Email Rules
- First line must reference something specific (not "I saw your company")
- No bullet lists in emails — write like a real person
- Under 100 words total
- Sign off with my real name and title
EOF

Specificity is what gets replies. "I noticed you just launched a Shopify integration last week" beats "I saw your company is doing interesting things" every time. That is the whole reason the research step exists.

Step 4: Connect Your CRM

Your agent is useless if it cannot log what it does. Here is how to connect the three most common CRMs:

HubSpot

Use the official HubSpot MCP server at developers.hubspot.com/mcp. Gives your agent read/write access to contacts, deals, and activities. Setup takes 10 minutes.

Salesforce

Install the salesforce ClawHub skill. Supports SOQL queries, full CRUD on Contacts/Leads/Opportunities, and batch operations.

Pipedrive

Connect via Pipedrive REST API through a custom MCP server config. The API is clean — deals, persons, activities endpoints cover most use cases.

bash
# HubSpot MCP server config (add to openclaw config)
{
  "mcpServers": {
    "hubspot": {
      "url": "https://mcp.hubspot.com",
      "auth": {
        "type": "oauth",
        "clientId": "your-client-id",
        "scopes": ["crm.objects.contacts.write", "crm.objects.deals.write"]
      }
    }
  }
}

Step 5: Schedule the Loop

This is the part that changes everything. Set a heartbeat interval and the agent runs the full pipeline on its own.

bash
# Schedule the agent to run every 4 hours
openclaw schedule --interval 4h --skill outreach.skill.md

# What happens each cycle:
# 1. Check for new prospects in the research queue
# 2. Research top 10 prospects (company + person)
# 3. Draft personalized emails for each
# 4. Send emails (respecting daily limits)
# 5. Check for replies to previous outreach
# 6. Send follow-ups where due
# 7. Log all activity to CRM
# 8. Report summary to Slack

I run mine every 4 hours during business hours (8am-8pm). That gives the agent 3 cycles per day, each processing about 15-20 prospects. At that pace, you are doing 300+ personalized touches per week without lifting a finger.

The Cost Math: AI Agent vs. Human SDR vs. Commercial Tools

I tracked my actual costs over 60 days. Here are the numbers.

Line itemHuman SDRCommercial AI SDROpenClaw Agent
Base cost$4,500-6,000/mo$500-2,000/mo$6/mo (VPS)
Tool stack (Apollo, email, etc.)$200-500/moIncluded$0-49/mo
LLM API callsN/AIncluded$8-12/mo
Management time10-15 hrs/mo2-5 hrs/mo1-2 hrs/mo
Total monthly$4,700-6,500$500-2,000$14-67

The gap narrows if you need Apollo's premium plan ($49/month for more enrichment credits). But even at the high end — $67/month — you are paying about 1% of what a human SDR costs.

The number that matters is cost per qualified meeting booked. My agent books about 8-12 meetings per month at roughly $2-6 per meeting. A human SDR booking 15-20 meetings per month costs $300-400 per meeting. Even if the agent books fewer meetings, you are paying a fraction per meeting. That math is hard to argue with.

What a Day in the Life of Your AI SDR Looks Like

Here is what my agent actually does on a typical Tuesday:

8:00 AMFirst cycle kicks off. Agent pulls 15 new prospects from the research queue, checks their websites and LinkedIn, enriches contacts via Apollo.
8:45 AMOutreach phase. Drafts 15 personalized emails, each referencing something specific — a product launch, a job posting, a blog post. Sends them through your email provider.
9:00 AMFollow-up scan. Checks inbox for replies to previous outreach. Positive replies get flagged for human attention. No-replies past Day 3 get a follow-up.
9:15 AMCRM update. Creates new contacts in HubSpot, logs email activity, updates deal stages. Sends a summary to Slack: "Researched 15, emailed 15, followed up on 8, 2 replies flagged."
12:00 PMSecond cycle. Same process, fresh batch of prospects.
4:00 PMThird cycle. End-of-day outreach for prospects in different time zones. Final summary sent to Slack.

By the end of the day, the agent has researched 45 prospects, sent 45 personalized emails, processed 20+ follow-ups, and updated every record in CRM. I spent zero minutes on it. The first time I saw the Slack summary pop up at 9:17am — "Researched 15, emailed 15, 2 replies flagged" — while I was still drinking my coffee, it felt like cheating.

Where the AI Agent Falls Short (Be Honest About This)

It would be easy to claim the agent handles everything. It does not. And you will find out fast if you set wrong expectations.

Here is where I have seen it struggle:

Honest limitations

  • Complex buying committees: When a deal involves 4+ stakeholders, the agent cannot navigate internal politics. It will email the wrong person and not realize it.
  • Nuanced objections: "We are evaluating this next quarter" needs a human to read between the lines. The agent takes everything at face value.
  • Brand-sensitive industries: Finance, healthcare, government — these require careful compliance language that the agent sometimes gets wrong.
  • Hallucinated research: Occasionally the agent invents a fact about a prospect's company. Always spot-check the first 20-30 emails before trusting it fully.
  • Relationship building: The agent creates first contact. It does not build trust. That is still your job.

My rule: the agent handles everything up to the first positive reply. The moment someone says "tell me more" or "let's chat," a human takes over. That handoff is where deals actually get made.

Which AI Model to Use (and How to Save Money)

You do not need the most expensive model for every task. I run a two-model setup that cuts API costs by about 60%:

RESEARCH TASKS

Claude Haiku / GPT-4o-mini

Prospect research, data extraction, CRM logging, follow-up scheduling. These tasks do not need creative writing ability. Haiku costs ~$0.25 per million input tokens.

WRITING TASKS

Claude 3.5 Sonnet / GPT-4o

Email drafting, subject lines, personalization hooks. This is where tone matters. Sonnet costs more but produces emails that sound like a human wrote them. Worth it.

bash
# Two-model config in openclaw settings
{
  "models": {
    "research": "claude-haiku-4-5",
    "writing": "claude-sonnet-4-5"
  },
  "routing": {
    "prospect-research": "research",
    "crm-logging": "research",
    "email-drafting": "writing",
    "follow-up-writing": "writing"
  }
}

With this setup, roughly 70% of the agent's work runs on the cheap model. Only the actual email copy uses the premium one. My API bill dropped from $22/month to about $9/month after switching.

Staying Legal: CAN-SPAM, GDPR, and Outreach Compliance

Automated outreach is legal. Spam is not. The line between them is thinner than most people realize.

Quick rules that keep you safe:

  • CAN-SPAM (US): Include a real physical address, a working unsubscribe link, and your actual name. Honor opt-outs within 10 business days.
  • GDPR (EU): You need a legitimate interest basis for B2B cold email. That means: relevant product + relevant role + easy opt-out. Do not scrape personal emails from random websites.
  • CASL (Canada): Stricter than CAN-SPAM. You need implied or express consent. B2B exemptions exist but are narrow.
  • LinkedIn: Do not automate connection requests or DMs through unofficial APIs. LinkedIn bans accounts for this. Use browser-based research (read-only) instead.

Add these rules directly to your SOUL.md file so the agent follows them automatically. I include an unsubscribe link in every email template and a daily send cap of 50 to stay well under rate limits.

Frequently Asked Questions

How much does an OpenClaw AI sales agent cost per month?
Approximately $15-20/month total. That covers $6 for a VPS, $8-12 in LLM API calls (depending on volume), and $0 for the skills. Compare that to commercial AI SDR platforms at $500-2,000/month or a human SDR at $5,000-7,000/month fully loaded.
Can an OpenClaw agent fully replace a human SDR?
It can replace about 80% of what a junior SDR does: prospect research, initial outreach, follow-ups, and CRM logging. The remaining 20% — reading complex buying signals, handling objections on calls, building genuine rapport — still needs a human. The best setup is hybrid: the agent handles volume, a human handles nuance.
What skills do I need to install for an AI sales agent?
At minimum: cold-outreach for email generation, apollo for lead enrichment, and your CRM skill (HubSpot MCP, Salesforce ClawHub, or Pipedrive REST). Optional but useful: foxreach for campaign management and phone-caller for voice outreach.
How long does it take to set up an OpenClaw sales agent?
A basic agent takes 30-60 minutes: install OpenClaw, connect a CRM, and run your first prospecting task. A production-ready agent with enrichment, personalized outreach, scheduled follow-ups, and CRM logging takes 1-2 days of tuning.
Is automated outreach with OpenClaw legal?
Yes, as long as you comply with CAN-SPAM (US), GDPR (EU), and CASL (Canada). That means: include an unsubscribe link, use a real sender address, don't scrape emails without consent in GDPR jurisdictions, and honor opt-out requests within 10 business days. OpenClaw doesn't bypass these laws — you still need to follow them.
Which AI model works best for sales outreach?
Claude 3.5 Sonnet or GPT-4o for the actual email drafting — they produce the most natural-sounding copy. For prospect research and data extraction, Claude Haiku or GPT-4o-mini work fine and cost 10x less. Most users run a two-model setup: cheap model for research, premium model for writing.

Build Your AI SDR Today

OpenClaw is free and open source. The skills are free. You just need a VPS and an API key. Start prospecting in under an hour.

Get started with OpenClaw

The Bottom Line

An AI sales agent is not magic. It does not close deals, and it does not replace the need for someone who actually understands your customers.

What it does is handle the tedious stuff — research, cold emails, follow-ups, CRM data entry — on autopilot. Around the clock. For less than you spend on coffee in a week.

The agents that actually work are the ones where someone spent real time on the SOUL.md file and kept a human in the loop for anything that required judgment. I am still not fully convinced this scales past Series A companies with simple sales motions. But for $18 a month, you can find out for yourself pretty fast.

Nikhil Kumar - Growth Engineer and Full-stack Creator

Nikhil Kumar (@nikhonit)

Growth Engineer & Full-stack Creator

I bridge the gap between engineering logic and marketing psychology. Currently leading Product Growth at Operabase. Builder of LandKit (AI Co-founder). Previously at Seedstars & GrowthSchool.