Architecture & System Design
Architecture & System Design
5 min readLead Discovery Pipeline & Heuristics
Understand how Google Places API, Google My Business (GMB), and subpage crawling discover verified B2B leads.
Lead Discovery Pipeline & Heuristics
The LeadForge discovery engine converts natural business queries into clean, deduplicated, enriched business leads.
1. End-to-End Discovery Lifecycle
text
User Query (e.g., "HVAC in Dallas, TX")
│
▼
Google Places / Google My Business (GMB) Search
│
▼
Domain Normalization & Deduplication
│
▼
Subpage Website Crawler (depth 2, max 10 pages)
│ (Extracts emails, phones, WhatsApp, social URLs)
▼
Deterministic Lead Completeness Scoring (0-100)
│
▼
MySQL Database & Live Workspace Sync2. Deduplication Rules
To prevent charging duplicate leads or spamming prospects:
- Place ID Check: Ensures Google Place IDs are unique within an organization.
- Normalized Domain: Strips
https://,http://, andwww.to compare root hostnames. - Business Name Similarity: Strips punctuation and matches phonetic company tokens.
Was this article helpful?
Help us improve LeadForge documentation with your feedback.