← All projects

2026 · AI-powered lead generation workflow

LocalLeads

An AI pipeline that finds local businesses without a digital presence and pitches them one.

Live 2026

Why I built this

Local businesses in India have low digital presence. The idea was to eliminate the manual work of finding them, building a site, deploying it, and pitching it — replacing a multi-hour agency process with an automated pipeline that runs in minutes. The hard part was keeping the cost low enough for the economics to work.

~25 Businesses contacted
< 2 min Site generation time
₹500 Cost per generated site

Current status

Pivoted from automated batch outreach. Website generation costs ~₹500/site, so sites are now built on demand when a business shows interest. Current focus is discovery and cold email showing what can be added to their existing IT infrastructure.

Architecture

Scraper (Playwright → Google Maps)

Scrapes Google Maps for businesses matching configured categories, city, and radius. Filters to businesses without a website and with a valid phone number. No API key required. Results written to SQLite.

State Manager (SQLite)

Tracks all discovered businesses, processing status, deploy URLs, deploy dates, and outreach history. Prevents duplicate outreach across runs. Flags sites for the 14-day expiry check.

Website Generator

Ollama SLMs generate website copy (description, services, tagline) per business in under 2 minutes. Real images sourced online via image search. Output is a self-contained static HTML/CSS site.

Netlify Deployer

Deploys each generated site to Netlify via CLI. Business gets a live URL with a custom subdomain before the owner reviews. 14-day expiry with a Telegram approval gate before removal to keep Netlify free tier headroom.

Sales Copy Writer (Claude)

Claude writes 2–3 scored message variants per business with auto-detected language (Hindi/English) based on business name and location. Each variant is scored for clarity and conversion.

Telegram Approval + Outreach

Full report card per business: name, location, phone, generated website URL, and scored message variants. Owner approves one variant. Delivery via WhatsApp (whatsapp-web.js) or cold email for IT advisory pitches.

Tech stack

Technologies used

core

PythonClaude API (sales copy)Ollama SLMs (site content)Playwright (scraping)

infra

Netlify CLI (deployment)whatsapp-web.js (WhatsApp)SQLite (state)Telegram Bot API (approval)

tools

Static HTML/CSS generatorAuto Hindi/English lang detectionGoogle Maps scrapingpython-dotenv

Key highlights

Proof points

  1. 01

    Scrapes Google Maps to find businesses without websites and with a valid phone — no API key, no spend.

  2. 02

    Generates a complete static website per business using local Ollama SLMs in under 2 minutes, with real images sourced online.

  3. 03

    Deploys to Netlify automatically before human review — live URL included in every pitch.

  4. 04

    Claude writes 2–3 scored, language-appropriate message variants per business with one-click Telegram approval.

  5. 05

    ~25 businesses discovered and contacted; pivoted to cold email + IT advisory after cost analysis showed ₹500/site spend.

Focus areas

Backend developmentPlaywrightSQLiteWorkflow engineeringOperational automation

Explore the work