Build a Lead Generation Agent from Scratch
A lead generation agent that runs on autopilot is one of the highest-leverage things a small sales team can build. Done right, it fills your pipeline with qualified prospects, researches each one, and drafts personalised outreach — so your team can focus entirely on conversations and closes. This guide walks you through building one from first principles.
What You'll Need
- ✅OpenClaw with the Sales skill pack
- ✅A LinkedIn Sales Navigator account (or Apollo.io)
- ✅A Gmail or Outlook account for outreach
- ✅A clearly defined ICP (Ideal Customer Profile)
- ✅A CRM — HubSpot, Pipedrive, or Salesforce
- ✅About 2 hours for initial setup
Step-by-Step Guide
Define your ICP in precise terms
The quality of your lead generation agent is directly proportional to the specificity of your ICP. Don't write 'B2B SaaS companies' — write 'Series A–C B2B SaaS companies in the HR tech or fintech space, 50–500 employees, US or UK based, using Salesforce or HubSpot, hiring sales roles on LinkedIn right now'. The more specific the criteria, the higher the lead quality and the less manual filtering you'll need to do.
Configure prospect sourcing
Connect your LinkedIn Sales Navigator or Apollo.io account in OpenClaw's integrations panel. Configure the search parameters using your ICP criteria. Set a daily prospect limit (50–100 is a good starting point) to avoid overwhelming your outreach capacity. The agent will pull new prospects matching your criteria each morning and enrich them with company news, recent activity, and hiring signals.
Set up qualification scoring
Define a scoring rubric with 5–8 criteria and weights. Example: company size match (20%), industry match (20%), recent relevant activity (25%), tech stack match (15%), geography match (10%), growth signals (10%). Prospects scoring above your threshold are queued for outreach; those below are logged and deprioritised. Review the first week's scoring to calibrate the weights.
Write your outreach templates
Create 3 outreach templates: an initial email, a follow-up at day 5, and a final touch at day 12. Each should have a variable slot for a personalised first line that references something specific to that prospect — a recent LinkedIn post, a company milestone, or a relevant hiring signal. The agent generates the personalised line; you write the structure around it.
Connect to your CRM and go live
Map the CRM fields — company, contact, deal stage, lead source — and set the initial deal stage for agent-sourced leads. Run the agent in approval mode for the first week: it queues each outreach for your sign-off before sending. Once you trust the output, you can automate sending during business hours and approve only the exceptions.
The personalised first line is what separates 3% reply rates from 15% reply rates. Spend time reviewing the agent's generated first lines in the first two weeks and give explicit feedback on which ones feel genuine versus generic. The model adapts quickly.
Get Full Access
Get the Full Guide
$14
One-time purchase. Instant access. Includes all steps, templates, and setup files.
🔒 Secure checkout via Stripe
Ready to skip the setup?
Browse ready-made agents in our marketplace — pre-built, pre-configured, and ready to deploy in minutes.
Browse the Marketplace →