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:
- 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.
- Replies, every 15 minutes: polls Apollo for replied emails and posts each new one to Slack with the sender, email, company and subject.
- 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.