A lead-to-close operating system on one customer record
A Southern California home-service business serving a greater metro market.
26% against 9%lead-to-sale in a five-month head-to-head against the incumbent approach
The problem
Leads arrived by form, email, text and call, with no single record of the customer. Lead processing was manual, at 15 hours a week, and the site ran at 92% uptime with 15-second page loads.
Why it mattered
Nobody could see which lead deserved a call first, so a strong lead could wait behind a weak one.
What I built
- 1
One record per customer
One customer record on Postgres (Supabase), more than 15 tables built in five phases, with one timeline per customer across email, text and calls.
- 2
Capture without loss
3-step forms that save a partial lead at each step.
- 3
Score every lead
A score from 0 to 100: project size up to 40, timeline up to 30, contact quality up to 20, engagement up to 10.
- 4
Respond in minutes
Automated systems answer every new lead and notify the office staff; the lowest scores go to nurture.
- 5
Follow up with consent
Email and text automation behind a consent gate: opt-out checked before any text, STOP and START handled, quiet hours kept, and email falls back to a second provider.
- 6
Nurture by behavior
Twelve sequences chosen by score tier and buying intent. Timing speeds up or slows down with the lead's own behavior, and a lead can switch sequence mid-flight.
- 7
Route and publish
Leads routed by capacity, expertise, performance and geography; location pages written with the Claude API, behind a quality score and human review.
- 8
Rebuild the platform
Next.js and Express with automated deploys, staging and rollback.
My role
Project lead of a nine-month rebuild of the whole lead-to-sale stack.
Stack
- Next.js 15
- Express
- Supabase Postgres
- AWS
- GitHub Actions
- SendGrid
- Twilio
- Anthropic Claude API
- GA4
Results
- 15 to 3 hoursof manual lead processing a week, and another 8 hours a week of manual messages removed
- 10 to 15 minutesautomated response to a new lead, with the office staff notified
- 99.9%uptime, from 92%; page load 2.1 seconds, from 15
- 5 minutesto recover, from 2 to 3 days; deploys daily and automated, from monthly and manual
- Up 300%organic traffic in six months
Where a human approves
- Every lead scored 50 or more goes to a person.
- Location pages publish only after a quality score and a person's review.
How I think
Let the score pick the first call
Automation handles the first reply, so the score has one job: it decides who gets the first call.
Measure against the incumbent
The new system ran for five months beside the old approach, so the result is a comparison, not a before-and-after. The sample is small.
- In production
- Nine months
- Next.js 15
- Express
- Supabase Postgres
- AWS