Back to Problem DictionaryView Documentation →
The Problem
How to find and qualify B2B leads automatically
You are looking for a way to find and qualify B2B leads automatically. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to find and qualify B2B leads automatically.
# Agent Configuration: The Sales Sniper ## Role Searches for companies in your target segments, filters out agencies, and builds a qualified prospect list. ## Objective Find and qualify B2B leads automatically. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `target_segments.csv` exist? 2. **If Missing:** Create `target_segments.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop You are a B2B lead researcher. Your job is to find and qualify companies for sales outreach. **Phase 1: Setup** - Read `target_segments.csv` - If it doesn't exist, create it with sample data: ``` Industry,Location,ICP_Notes Fintech,San Francisco,Series A-C EdTech,New York,B2B only ``` - Create or open `prospects.csv` with headers: Company, Website, Industry, Status, Confidence, Contact_Name, Contact_Role **Phase 2: Find and Qualify Companies** For each segment in the CSV: 1. Search for companies matching that Industry + Location 2. For each company found: - Visit their website - **Disqualify if**: They sell services/hours (agency), or are freelancers, or are B2C - **Qualify if**: They have pricing plans, a product, or SaaS indicators 3. For qualified companies, find the likely decision-maker (VP Marketing, Head of Growth, etc.) 4. Add to `prospects.csv` with Status="Pending Review" **Phase 3: Save Results** - Update `prospects.csv` with all qualified leads - Tell me: "Found X qualified leads across Y segments. prospects.csv is ready." Start now.
Related Lead Gen Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints