← Back
Automation · n8n · Personal project

LeadMachine

Scrapes Google Maps for businesses, extracts contact info from their websites, and fires personalized cold emails — fully automated, zero manual work.

0%+

efficiency gain

0+

leads per run

0min

vs 8 hours before

automation — full demo
The problem

Before

  • Manual Google Maps searches
  • Visit each site individually
  • Hunt for contact info by hand
  • Write every email from scratch
  • 8 hours of work per outreach run

After

  • Automated business discovery
  • Website crawling + content analysis
  • Email & phone extracted automatically
  • Personalized templates per language
  • 10 minutes, fully unattended
How it works
01

Business Discovery

Master workflow hits Google Maps with location and industry parameters, loops through listings, and fans out to sub-workflows.

  • Google Maps API integration
  • Location + industry filtering
  • Rate-limited loop processing
  • Modular sub-workflow chaining
workflow orchestration
02

Data Extraction

Crawls each business website, detects language, and pulls emails and phone numbers using regex and HTML parsing.

  • Intelligent HTML content parsing
  • Multi-language detection
  • Regex email + phone extraction
  • Deduplication and validation
scraper workflow
03

Email Outreach

Sends personalized cold emails via Gmail API. Templates adapt to the detected language. Randomization reduces spam flags.

  • Gmail API delivery
  • Language-adaptive templates
  • Business name personalization
  • Template randomization for deliverability
email campaign
04

Tracking & Analytics

All leads sync to Google Sheets in real time — categorized by language, location, and business type. Before/after snapshots prove ROI.

  • Google Sheets real-time sync
  • Categorization by language + location
  • Delivery + response tracking
  • Exportable campaign reports
results dashboard
Impact

An 8-hour daily process
down to 10 minutes.

0%+

Efficiency improvement

0+

Leads per run

0min

Total processing time

Stack
Automation
n8nMulti-workflow orchestrationRate limiting
Scraping
HTML parserRegex extractionMulti-language detection
Outreach
Gmail APITemplate engineSpam prevention
Analytics
Google Sheets APICampaign trackingLead categorization