Β· 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

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:

TimeCategoryCTA
09:00DentistFree Analysis
09:10HairdresserRequest Demo
09:20BeautyFree Demo
09:30VeterinarianUrgent Bot Demo
09:40GymMember Analysis
09:50TherapyStealth Booking
10:00SpaSpa Demo
10:10ConsultingLead 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

ServiceCreditsDuration
MindCase744~40 days
Hunter.io50 search + 100 verifyMonthly
ResendUnlimited (test mode)-
LinkedInUnlimited (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.

Back to Blog

Related Posts

View All Posts Β»
WhatsApp ile yazin