live //
SEO PPC Email Marketing Social Media Marketing Websites & Analytics AI Creative Content Custom AI Builds
Work About Blog Contact →
build --type=internal --stack=claude-api,cloudflare,firebase
Internal Build

Expandza LeadGen

An AI-powered B2B lead generation engine. 9-stage pipeline. 150–200 prospects per month. Approximately ₹300–500/month in AI costs.

Build something similar ← All case studies
Back to Work

Most lead generation tools are databases with filters. They give you a list of names and leave the qualification, enrichment, and outreach entirely to you.

We needed something different — a system that could not only find prospects but audit their marketing setup, score their fit, generate a personalised pitch approach, and warm them through a nurture sequence automatically. Without a human in the loop for the first seven stages.

The result is Expandza LeadGen — a complete lead capture, scoring, and nurturing platform built on Anthropic Claude (Haiku for speed, Sonnet for depth), Cloudflare Pages and Workers, and Firebase Realtime Database.

Layer 01 — Capture
tracking.js — privacy-compliant visitor behaviour
First-party data capture

A first-party tracking pixel that logs visitor behaviour on the Expandza website — pages visited, time on page, scroll depth, service interest — feeding real-time engagement data to Firebase. DPDP Act 2023 compliant with consent verification and unsubscribe infrastructure.

Layer 02 — Intelligence
claude haiku + sonnet — tiered audit pipeline
AI-powered prospect auditing

Claude Haiku runs surface scans on all imported leads for speed. When a lead hits a score threshold, Claude Sonnet runs a deep audit — analysing their current marketing setup, identifying gaps, and generating a personalised pitch deck and pre-call brief specific to that prospect.

Layer 03 — Scoring Engine
real-time lead scoring
Automated lead progression

Leads are scored in real-time based on email opens, clicks, page views, and declared service interest. Leads progress automatically through TOFU → MOFU → BOFU → Booked. Hot leads trigger sales offers; cold leads enter re-engagement flows.

Layer 04 — Communication
automated email sequences with human approval
Score-triggered outreach

Automated email sequences via Resend with a manual approval workflow for personalised messages. Score-triggered sends. Google Calendar booking integration — warm leads can book a call directly from the sequence.

Each phase unlocks progressively as the agency grows — ensuring outreach is always matched to the client profile the agency can actually serve well.

icp.phases
Phase 1 (current) — D2C brands + real estate brokers
Unlocked at: active, operational
Phase 2 — SaaS and EdTech
Unlocks at: 5+ retainer clients
Phase 3 — Healthcare and tourism
Unlocks at: ₹X MRR threshold
Phase 4 — Enterprise and B2B services
Unlocks at: defined team size
Phase 5 — Custom / international
Unlocks at: portfolio milestone
AI-Generated Search Strings

The prospecting tab generates search strings for Apollo, Google Maps, LinkedIn, JustDial, and Instagram — with rotation logic across geographies, sub-niches, and search angles to prevent exhaustion.

Exhaustion Tracking

The system monitors duplicate rates per source and automatically retires exhausted search segments — ensuring the prospect pool stays fresh without manual management.

leadgen.stack
FrontendSingle index.html (~3,400 lines) · Vanilla JS · Zero npm
BackendFirebase Realtime Database · Firebase Auth
HostingCloudflare Pages + Workers (API proxying)
AIAnthropic Claude Haiku (speed layer) · Claude Sonnet (depth layer)
EmailResend · Manual approval workflow for personalised sends
CalendarGoogle Calendar API integration for direct booking
ComplianceDPDP Act 2023 · Consent verification · Audit logging
Output150–200 monthly prospects processed · ~₹300–500/month AI cost

A fully autonomous lead machine built for under ₹500/month in running costs. The same AI capabilities we use to build this — Anthropic Claude APIs, Cloudflare Workers, Firebase — are available for client builds.

This is not a demo of what is possible. It is a production system we run every day.

Want an AI system built
for your pipeline?
Discuss your build
free scoping call. fixed-price proposal within 48 hours.