A step-by-step guide to building AI agents that find LinkedIn leads, grab their contact info, write personal emails, and book meetings — all by themselves. Based on Greg Isenberg's Marketing Agents Masterclass.
You don't need 5 salespeople costing $22,000/month. Build ONE AI agent for $500/month. The agent finds people who already care about your topic (they raised their hand by commenting), writes a personal email, and books demos.
Paid ads are like throwing money into a fire. You pay $22 per 1,000 people who might see your ad. Most never buy. But what if you could find people who already care about your topic — people who already raised their hand by engaging — and reach out to them directly?
Marketing used to be a mystery. Now it's just code — a robot employee you build once that works 24/7. Marketing agents are the new coding agents.
Think of it like a vending machine. You set it up once: put in money, choose your snack. Then it runs by itself. This AI agent is your vending machine — but instead of snacks, it finds potential customers and books them meetings.
One agent. Six steps. Zero manual work. Here is what happens, in plain English.
Go to LinkedIn Search. Type your niche keyword (like "AI marketing"). Find creators who post daily about this topic. Add 10-20 of them to a list. These are your starting points.
Look at each creator's recent posts. Most get no likes. A few go viral with 100x more engagement. Those posts are where your best customer prospects are.
Anyone who liked or commented on a viral post already cares about your topic. Use Apify or Ampify to scrape these people. They raised their hand. You just collect their names.
Take each person's LinkedIn URL and look up their email. Try getleads.io first (cheapest). If that fails, try Apollo. If that fails, try Origami. Check all emails with Million Verifier.
An AI checks if each person is your ideal customer. If yes, it writes a 3-line email that references the exact post they commented on. Then sends it through Instantly.
When someone replies, your AI gets notified instantly. If "yes," it sends a Cal.com link to book a call. If "no," it thanks them and sets a 6-month follow-up. The agent never stops following up.
80% of sales close after the 5th message. Your agent never gives up and never forgets a name.
You send ONE message per week to each lead. Start with their name and a reference to the post they engaged with. End with a question. Do this for 7 weeks. Most will say yes.
Send your first email or LinkedIn DM. Reference the exact post they commented on: "I saw your comment on [creator]'s post about [topic]." Short and personal. No sales pitch.
"Just checking if you saw my note about LinkedIn engagers. Happy to hop on a 10-minute call?" Keep it light and easy.
Send something useful — a case study or data point. No pitch. "Thought you'd find this engager playbook useful." Help them first, ask later.
"Saw [another creator] post about this too — thought of our chat." Fresh angle, same topic. They see you're staying on top of it.
"We just helped [similar company] get 3x more leads using this exact method." Social proof beats sales pitches every time.
Find a NEW trending post about the same topic. "Saw this trending now and thought of you." If still no reply, move to the 6-month list.
Every 6 months, automatically re-run the pipeline for cold leads. Find a fresh trending post. New angle. Same topic. The snowball keeps rolling.
Paid ads cost $22 per 1,000 impressions. This AI pipeline costs $500/month flat and finds real buyers.
With ads, you pay $22 every time 1,000 people see your ad — even if zero buy. With the agent, you pay $500/month flat. The agent finds people who already engaged with your content (they want to buy), then sends a personal email. This costs a fraction of ads.
Each tool has an API. Your agent talks to them so you do not need to.
Search for creators in your niche. Find the people posting daily about your topic.
linkedin.com/search
One API key gets you data from LinkedIn, Twitter, and 20+ platforms. Feed results to your agent.
API key → JSON
Hosts pre-built scrapers. Pick the LinkedIn engagement scraper and run it with zero coding.
No-code scrapers
Run scrapers on demand. The post-reactions actor returns everyone who liked or commented on any post.
POST_REACTIONS actor
First email lookup. Cheaper than Apollo. Takes a LinkedIn URL and returns an email address.
URL → email
Backup email finder. Catches emails that getleads.io misses. Also has phone numbers.
Backup lookup
Final fallback. Runs the whole enrichment chain so you call one API instead of three.
One API → all data
Checks if an email is real. Bad emails get you marked as spam. This stops that.
Email validation
Finds phone numbers. If email fails, try texting instead.
Phone lookup
Send cold emails at scale. Webhooks fire when someone replies — your agent gets notified instantly.
API + webhooks
LinkedIn DM automation. Send connection requests and DMs at scale. Has webhooks too.
LinkedIn outbox
Booking calendar. Your agent sends this link to schedule calls. Checks if meetings are confirmed.
Scheduling
Your AI agents run on a server. They talk to LinkedIn, email tools, and calendars. You set it up once, then it runs by itself.
A timer runs everything every day at 2 AM UTC. No manual start needed.
A Python server (Railway or VPS) holds all your API keys as environment variables.
ClickHouse stores your leads, emails sent, and reply data. Everything is tracked.
The server talks to LinkedIn, Instantly, Cal.com, and 7+ other tools through their APIs.
Copy this prompt into Claude Code. It will build your SDR agent for you.