AI Lead Generation Pipeline
Search LinkedIn, score against your ICP, enrich with emails, and push to your CRM — all from one command. No Apollo. No ZoomInfo. Just your repo, open APIs, and Claude Code.
Four stages, zero SaaS subscriptions
Most lead gen stacks cost $500+/mo and lock your data in someone else's CRM. SoloStack chains open APIs into a pipeline you own.
Search LinkedIn
Apify scrapes LinkedIn profiles by title, keyword, industry, and location. ~$0.01 per profile with email discovery.
Score against ICP
Every lead is scored 0-100 against your ideal customer personas. Title, industry, company size, location — all weighted.
Enrich with data
Email discovery, phone numbers, full work history, skills. Fallback enrichment for profiles missing contact info.
Push to CRM & outreach
Leads upserted into Neon, auto-enrolled in nurture sequences. Outreach via Unipile (LinkedIn + Instagram DMs).
How it works in your repo
Your entire lead gen pipeline lives in your monorepo. Every lead, every score, every outreach message — tracked in your own database.
Define your ICP personas
Each persona defines who you're looking for and how to score them. Stored as JSON in your repo — version-controlled, auditable, shareable.
{
"id": "startup-founder",
"search": {
"titles": ["CEO", "Founder", "Co-Founder"],
"industries": ["SaaS", "Software"],
"companySizes": ["2-10", "11-50"]
},
"scoring": {
"titleMatch": 30,
"industryMatch": 25,
"sizeMatch": 20,
"locationMatch": 15
}
} Search LinkedIn with Apify
Apify runs the search on LinkedIn's public data. Your LinkedIn account is never touched. Results include name, title, company, location, and often email.
| Name | Title | Company | ICP Score | Tier | |
|---|---|---|---|---|---|
| Sarah Chen | CEO & Co-Founder | DataStack AI | 92 | HOT | ✓ |
| James Liu | Founder | ShipFast.io | 87 | HOT | ✓ |
| Maria Gonzalez | VP Engineering | NovaTech | 58 | WARM | ✓ |
| David Park | CTO | CloudPeak | 65 | WARM | — |
| Rachel Kim | Product Manager | BigCorp Inc. | 28 | COLD | ✓ |
Push to CRM & auto-enroll in sequences
Hot and warm leads are upserted into your Neon database. Each contact gets an ICP score, persona tag, and enrichment data. Matching nurture sequences start automatically.
Outreach via Unipile (LinkedIn + Instagram)
Unipile provides a single API for LinkedIn and Instagram. Send personalized connection requests and DMs — Claude drafts them using the lead's profile data.
$507/mo in SaaS vs $55/mo with SoloStack
Most lead gen tools charge monthly per-seat fees with credit limits. SoloStack uses pay-per-use APIs — you only pay when you search.
Typical SaaS Stack
SoloStack
Run your pipeline with plain English
Tell Claude Code what you want. It searches LinkedIn, scores leads, enriches profiles, and pushes to your CRM.
Searching LinkedIn via Apify (startup-founder persona)...
✓ Found 100 profiles matching "CEO, Founder, Co-Founder"
✓ Email discovered for 73 profiles (73% hit rate)
✓ ICP scoring complete:
Hot (70+): 28 leads
Warm (40-69): 45 leads
Cold (<40): 27 leads
→ Results saved to data/apify-search-2026-02-22.json
→ Top lead: Sarah Chen, CEO @ DataStack AI (score: 92) Pushing 73 leads (hot + warm) to CRM... ✓ Lead list created: "SaaS Founders Feb 2026" ✓ 68 new contacts upserted ✓ 5 existing contacts updated (higher ICP score) ✓ 28 hot leads enrolled in "Founder Outreach" sequence → Campaign: apify-founders-feb → Next step: Review hot leads and approve outreach messages
Drafting connection requests for 20 hot leads... 1. Sarah Chen (DataStack AI) — personalized: AI data platform 2. James Liu (ShipFast.io) — personalized: developer tools 3. Alex Rivera (GrowthOps) — personalized: growth automation ... 17 more drafted ✓ 20 messages ready for review ✓ Rate limit: 20/day (within LinkedIn safe limits) → Review at departments/sales/outreach/pending-2026-02-22.json → Run 'approve' to send, or edit individual messages first
Get the lead gen playbook
Download the full lead generation skill file — ICP setup, Apify search, scoring, CRM integration, and Unipile outreach. Drop it in your repo and start finding leads.
Common questions
Related Solutions
More tools and workflows from across SoloStack
Free CRM
Unlimited contacts, zero per-seat pricing. AI-managed CRM in your repo.
Free ToolFree Analytics
Track every event with PostHog. Funnels, cohorts, and AI insights.
ReplaceReplace HubSpot
Full CRM with contacts, deals, email sequences, and analytics. $3/mo vs $800/mo.
BlogSaaS Compression Thesis
The SaaS compression thesis: apps collapse into markdown, companies into repos, taste becomes the moat.
Ready to fill your pipeline?
Join the waitlist and get early access to SoloStack's full lead gen toolkit.
Join Waitlist →