Skip to content
Maxwell CollinsContact

Outreach engine that ranks which local businesses to call first

Finds owners of small local businesses, emails them in sequence and ranks who Maxwell should phone first.

What it achieved

Runs his cold outreach daily by itself and tells him which local businesses to phone first, and why.

The short version

It runs Maxwell's cold outreach by itself every day and tells him which local businesses to phone first, and why, with the review quotes behind each lead's rank. Maxwell built this outreach engine. Every morning it finds owners of businesses of one to ten people on Apollo and Google Maps, across 9 industries and 24 cities. It removes duplicates and businesses already served, then enrols verified owners in rotating email sequences across 15 metro areas. Every reply and a daily summary land in Slack. It reads each business's Google reviews and website and ranks who to phone first, with an opening line and the best time to call.

The problem

Cold outreach fails two ways: lists full of the wrong people, and no way to tell which of hundreds of leads to call first. Chains, existing customers and addresses nobody reads all waste effort. The best lead is a business whose customers complain in public that nobody answers the phone, and no list tool looks for that.

In use

  1. Every morning it pulls the day's leads for each industry and metro, starting with owners of companies hiring for roles an AI receptionist replaces.
  2. Verified owners go into an email sequence, and every reply and a daily summary land in Slack.
  3. It mines each business's reviews for missed calls and slow scheduling, and its website for missing booking tools.
  4. He opens the call list: each lead ranked, with the review quotes behind its rank, an opening line and the best time to call.

What it achieved

  • Prospecting runs every day with no hands on it: each morning it finds new owners across 9 industries and 24 cities, removes duplicates and existing customers, enrols verified owners in email sequences, sends every reply to Slack within 15 minutes and posts a 09:00 summary.
  • He knows whom to phone first: it ranked 761 leads, from 388 Google Maps finds and 373 Apollo records.
  • Every rank is explained with the review quotes and website evidence behind it, such as customers complaining that nobody answers the phone, plus an opening line and the best time to call.

The full record

On this page
In one sentence

Maxwell built the outreach engine, an autonomous service that sources owner-operated local-business leads from Apollo and Google Maps, de-duplicates them in PostgreSQL, enrolls verified decision-makers into rotating email sequences across 15 metro areas, posts every reply and a daily summary to Slack, and mines each business's Google reviews and website into a scored, ranked call list, across 9 industry verticals and 24 cities, in 4,412 lines of application code in 41 files plus 1,856 lines of tests in 17 files (106 test cases), 2 data tables built up over 5 migrations, and a scored list of 761 leads. He builds by directing AI agents, and he built this system that way.

lines of code
4,412
scored leads
761
test cases
106
verticals
9
metros per vertical
15

What it does

The engine finds businesses that are losing customers to missed calls and slow scheduling, the businesses most likely to buy an AI receptionist, and puts them in front of Maxwell two ways: an automated email sequence, and a ranked call list that tells him who to phone first, what to open with and when to call.

The daily run

A Fastify service runs three scheduled jobs:

  1. Ingest, every morning at 08:00: picks the day's metro for each vertical and pulls leads from Apollo in two tiers. Tier 1, high intent: owners of companies currently hiring for the roles an AI receptionist replaces (technicians, installers, dispatchers, receptionists). Tier 2: a geographic search of up to three pages of 50 per vertical, stopping early on an empty page. Every search is filtered by the vertical's keyword tags, decision-maker titles (owner, president, founder, general manager), founder or C-suite seniority, a company size of 1 to 10 employees and a verified email.
  2. Replies, every 15 minutes: polls Apollo for replied emails and posts each new one to Slack with the sender, email, company and subject.
  3. Summary, every morning at 09:00: posts leads added in the last 24 hours, total leads, emails sent and the reply rate to Slack.

For each new lead the ingest job checks for a duplicate, creates the Apollo contact, enrolls it in the vertical's Apollo sequence from the configured mailbox (each step retried once after two seconds), records it with its market and tier, and paces itself at 100 ms between leads. The service refuses to start if any required setting is missing, exposes a health check, and redacts API keys, the database address and the Slack webhook from its logs.

Fifteen metros, rotating

Every vertical has exactly 15 metro areas, and the day of the year picks which one runs, so coverage rotates with no stored state. The trades list covers Tampa and St. Petersburg, Miami and Fort Lauderdale, Phoenix and Scottsdale, Dallas and Fort Worth, Houston, San Antonio, Atlanta, Las Vegas, Orlando, Charlotte, Austin, Jacksonville, Nashville, Raleigh and San Diego. Dental swaps in Denver; insurance skips states where captive carriers dominate and adds three Midwestern metros; events adds Charleston, Savannah, New Orleans, Scottsdale and Asheville. Across all lists the engine covers 24 cities.

Nine verticals, one file each

HVAC, dental, insurance, events, plumbing, electrical, locksmith, auto and spa. Each vertical's file sets its Apollo filters, its Google Maps search queries, the Google categories to accept and to exclude (HVAC excludes solar, roofing, general contractors and wholesalers), the enterprise-software signals that mark a business as already served, its metro list, and an opener that writes a personalized pitch line from whichever pain its reviews show. Mobile trades (HVAC, plumbing, electrical, locksmith and auto) are flagged so multiple locations are not held against them. Adding a vertical means adding one file.

Google Maps discovery

A second source runs on command: a Google Maps scrape that also visits each business's website to find its email, returning up to 200 places per vertical, with an optional Apollo fallback that enriches businesses that have a website but no listed email. Places are de-duplicated by their Google place ID; a business rated 4.0 or higher with at least 50 reviews is tier 1. Email selection drops no-reply, test and placeholder addresses and image filenames, and prefers the addresses a business reads (info, contact, hello, office, admin or sales). The design compared the two routes: Apollo alone yields about 50 to 100 leads for about 100 credits per run, while Apollo plus Google Maps yields about 300 to 500 leads for $1.60 and about 60 credits.

De-duplication

Every lead's email is unique in the database, checked before enrollment and enforced by a constraint; the Google Maps loader inserts with a do-nothing-on-conflict rule; reply alerts are de-duplicated by the Apollo email ID, inserted first so two pollers cannot alert twice.

Review mining

For each business the engine pulls its 20 newest Google reviews and matches them against three groups of patterns: phone pain (16 patterns, such as "never picks up," "went to voicemail," "can't get through"), scheduling pain (13, such as "long wait," "booked out") and after-hours need (8, such as "weekend," "emergency call"). It keeps the count for each group, up to five quoted excerpts and the average rating.

Technology-gap detection

The engine loads each business's homepage and 14 conversion pages (contact, book, book online, appointments, schedule, new patients, quote and more), collects every script the pages load, and matches them against fingerprint lists of about 60 booking tools, 32 chat widgets, 25 AI receptionists and 30 enterprise practice-management and field-service systems. It also detects 10 site builders, a contact form, whether the phone number is prominent, a modern responsive layout and multiple locations. Results are cached so every lead can be re-scored without fetching its site again.

Scoring

Each signal adds to or subtracts from a raw score:

  • Pain from reviews: +15 per phone-pain review (up to +30), +10 per scheduling-pain review (up to +20), +10 per after-hours review (up to +15).
  • Business size by review count: +15 for 20 to 200 reviews, +5 for 201 to 500, −5 under 20 and −15 over 500 (a likely chain).
  • Rating: +10 for 3.8 to 4.6 stars, +5 below 3.0, −10 for 4.7 or higher with over 500 reviews.
  • Missing tools: +15 for no booking and no AI receptionist, +8 for no chat, +5 for an outdated site, +5 for a contact form with no prominent phone number.
  • Already automated: −50 and disqualified for an AI receptionist, −25 for enterprise software, −20 for online booking, −15 for a chat widget, −10 for multiple locations in appointment-based verticals.

A lead is hot at a raw score of 50 or more, warm at 25, standard below that, and disqualified when an AI receptionist is found. Each lead also gets a pain score from 0 to 100, a technology-readiness rating, the vertical's suggested opener, the best time to call (the least busy weekday slot between 9 AM and 4 PM from Google's popular-times data) and a list of every signal with its evidence.

The call list

A scoring run reviews, analyzes, scores and then regenerates the list from every scored lead, sorted by tier and raw score, in three forms: a 16-column spreadsheet (rank, priority, business, vertical, phone, email, pain score, raw score, rating, key signals, opener, best call time, website, market, technology readiness and source), a JSON file, and a searchable, filterable lead-intelligence dashboard in the browser.

What it achieved

  • 761 scored leads, across HVAC (407), dental (217), electrical, plumbing, events, locksmith and insurance, sourced 388 from Google Maps and 373 from Apollo.
  • Daily outreach with no hands on it: sourcing, de-duplication, enrollment, reply alerts and reporting run on schedule.
  • A call list that explains itself: every lead carries the review quotes and website evidence behind its rank, an opener and a time to call.
  • Size: 4,412 lines of application code in 41 files, 1,856 lines of tests in 17 files with 106 test cases, 9 vertical configurations, 15 metros per vertical and 24 cities in all, 2 data tables built over 5 migrations, in a repository of 86 commits.

The problem it solves

Cold outreach to local businesses fails in two ways: lists full of the wrong people (chains, businesses that already bought the product, addresses no one reads) and no way to tell which of hundreds of leads to call first. The outreach engine fixes both. It targets owners of businesses of one to ten people, removes duplicates and businesses already served, and ranks the rest by evidence of the exact problem the product solves: customers complaining in public that no one answers the phone.

How he built it

Maxwell ran the build from a specification chain: a specification, a design and a task list of 19 tasks in 7 phases with a reflection checkpoint, followed by two dated design documents for Google Maps discovery and lead intelligence. When sending moved from a separate sending service to Apollo sequences, he recorded the change as a database migration with a conversion script, and replaced the reply webhook with polling.

The guards: one gate (a strict TypeScript compile and the full test suite with coverage) holds an 80% minimum on branches, functions, lines and statements. The project runs under his ecosystem's governance: test-driven development, all work on the main branch, conventional commits, skipping git hooks banned, 27 hookify block rules (among them no random UUIDv4 identifiers, no timestamps without time zones, no empty catch blocks, no skipped tests, no fail-open code and no hard-coded secrets), 5 ast-grep structural rules, 4 hook scripts (session start and stop, a constitutional validator and a worktree block) and 8 skills (specify, plan, tasks, audit, implement, review, reflect and status). Identifiers are time-ordered UUIDv7 and every timestamp carries its time zone.

The stack: Node and TypeScript, Fastify 5, node-cron, pino logging, PostgreSQL on Neon, ExcelJS, Vitest with coverage, and integrations with Apollo (people search, enrichment, contacts, sequences and email search), Apify for Google Maps and reviews, and Slack.