Β· Engineering Β· 2 min read
Automated Lead Generation with Paperclip EBA: MindCase + Neo4j + WhatsApp + LinkedIn
A fully automated lead generation system that automatically finds appointment-based businesses across Turkey, saves them to a Neo4j graph database, and runs outreach via WhatsApp/LinkedIn/Email

Problem
I offer AI automation solutions for appointment-based service businesses (dentists, hairdressers, veterinarians, gyms) in Bodrum and across Turkey. But finding and reaching these businesses one by one took hours.
Solution: I built a pipeline that automates the entire process.
System Architecture
MindCase API (Scraping)
β
Neo4j Graph Database (Lead Storage)
β
ββββββββββββ¬βββββββββββ¬βββββββββββ
β β β β
WhatsApp LinkedIn Email Hunter.io
(Kapso) (UGC API) (Resend) (Enrichment)
Each component is an independent agent running on Paperclip EBA. Hermes only does monitoring.
Components
1. MindCase Scraping (Daily 08:00)
Pulls businesses from Google Maps. Different category and location each day:
Day 1: Dentists β Bodrum
Day 2: Hairdressers β Marmaris
Day 3: Veterinarians β Fethiye
...
Supports 30+ platforms: Google Maps, LinkedIn, Instagram, Twitter, YouTube, Reddit, Amazon.
2. Neo4j Graph Database
Each lead is a :Lead node. Relationships:
(Lead)-[:BELONGS_TO]->(Category)
(Lead)-[:LOCATED_IN]->(Location)
(Lead)-[:FOUND_VIA]->(Source)
Lead scoring (0-10): phone +2, website +1.5, high rating +1, many reviews +1.
3. Rotating Email (Every 10 Minutes)
8 categories, email to a different one every 10 minutes:
| Time | Category | CTA |
|---|---|---|
| 09:00 | Dentist | Free Analysis |
| 09:10 | Hairdresser | Request Demo |
| 09:20 | Beauty | Free Demo |
| 09:30 | Veterinarian | Urgent Bot Demo |
| 09:40 | Gym | Member Analysis |
| 09:50 | Therapy | Stealth Booking |
| 10:00 | Spa | Spa Demo |
| 10:10 | Consulting | Lead Analysis |
Each email is customized from the companyβs info with a category-specific problemβsolutionβresult structure.
4. WhatsApp Outreach (Monday & Thursday)
Template messages to high-scoring leads via Kapso WhatsApp Business API.
5. LinkedIn Post (Wednesday)
Weekly profile sharing via UGC Post API β lead generation content.
6. Hunter.io Enrichment (Daily 07:30)
Enriches leads with a website but no email using Hunter.io.
Paperclip EBA Integration
Each component is defined as a routine in Paperclip:
Project: MindCase Lead Pipeline (4738c512)
Agent: Lead Enrichment Agent (litellm-pool.sh)
Routines:
1. Hunter.io Enrichment β 07:30 daily
2. MindCase Scraping β 08:00 daily
3. Rotating Email β */10 09:00-20:00
4. WhatsApp Outreach β Monday & Thursday 10:00
5. Resend Bulk Email β Tuesday & Thursday 10:30
6. LinkedIn Post β Wednesday 11:00
The agent decides with its own LLM, runs scripts, and reports results.
Credit Management
| Service | Credits | Duration |
|---|---|---|
| MindCase | 744 | ~40 days |
| Hunter.io | 50 search + 100 verify | Monthly |
| Resend | Unlimited (test mode) | - |
| Unlimited (token) | - |
Average 20 MindCase credits spent daily.
Result
With a single pipeline:
- Daily new leads found automatically
- Every 10 minutes email goes to a business from a different category
- Weekly WhatsApp and LinkedIn outreach
- All data stored in Neo4j graph database
- Hermes just monitoring, Paperclip execution
What I could do manually in 1 day, the system now does every 10 minutes.
This system is built with Paperclip EBA agent framework, MindCase scraping API, Neo4j graph database, Resend email, Hunter.io email enrichment, and Kapso WhatsApp Business API.



