Production client
Berrett Home Services — a Texas HVAC and plumbing operator running its call, scheduling, and dispatch operation on ServiceTitan.
Production voice agents that answer inbound calls, qualify the job, and book appointments directly into CRM and dispatch systems.
Home-service businesses lose revenue every time a call rings out. This case study covers the full forward-deployed path: mapping how each business qualifies and books work, designing a voice agent around those rules, integrating telephony with CRM and dispatch platforms, and operating the system in production against real call traffic.
1,152 calls handled
158 booked end-to-end
139 jobs dispatched to technicians
ServiceTitan & FieldRoutes integrations
On This Page
Context
Context
For HVAC, plumbing, and pest-control operators, the phone is the top of the funnel. Every inbound call is a job that will either be booked, deferred, or lost — and the operational machinery behind that decision spans scheduling, dispatch, service-area rules, CRM records, and callback workflows.
Production client
Berrett Home Services — a Texas HVAC and plumbing operator running its call, scheduling, and dispatch operation on ServiceTitan.
Industry context
HVAC, plumbing, pest control, and broader home services.
Operational setting
Inbound call handling, qualification, appointment scheduling, dispatch, and callback workflows.
My role
Co-Founder & Technical Lead at Playmaker — customer discovery, solution architecture, implementation, production deployment, and post-launch optimization.
What was at stake
Missed-call revenue, booking quality, dispatch efficiency, and whether the business can answer 24/7 without staffing phones 24/7.
Problem
The failure mode is simple and expensive: a customer with a real problem calls, nobody answers, and the first competitor to pick up wins the job. The operational reality behind it is harder — coverage, qualification, and booking each depend on people being available and making consistent decisions under pressure.
Service businesses cannot staff phones around the clock. Outside business hours, callers reached voicemail — and callers with urgent problems rarely leave one. They call the next company on the list.
During seasonal spikes, more calls arrived than the team could answer. Overflow was invisible: the business never knew which calls it lost or what they were worth.
Urgency, service-area fit, membership status, and job value were assessed differently by different people. Similar calls produced different outcomes.
Even answered calls required a human to check availability, create or find the customer record, and book the job in the CRM. Every manual step added delay and dropped detail before dispatch.
The business did not need a phone bot that could chat. It needed a system that could carry a call all the way to a correctly booked job inside its real scheduling and dispatch workflow — or hand it to a human with full context when it should not proceed alone.
Discovery
The agent's behavior had to come from how the business actually works — not from generic call scripts. Discovery meant embedding with the people who run intake and dispatch and converting their judgment into explicit, testable rules.
Shadowed live call handling to capture what actually gets asked, booked, deferred, and escalated — including the exceptions no script covers.
The gap between documented process and real behavior is where deployments fail; this is where the real requirements came from.
Captured service areas, urgency tiers, membership handling, pricing boundaries, and scheduling constraints from stakeholders — most of it undocumented tribal knowledge.
These rules became the agent's qualification and booking logic, encoded per customer rather than hard-coded into the product.
Defined explicitly what the agent may do on its own — book standard jobs, schedule callbacks — and what must escalate to a human, such as emergencies and out-of-policy requests.
A conservative boundary earned operator trust first; autonomy expanded only as production behavior proved out.
Aligned with owners on how the system would be judged: answered-call coverage, booking outcomes, and revenue from appointments the agent booked.
Defining the metric up front kept the deployment accountable to a business outcome, not to demo quality.
Architecture
The platform is a modular Python/FastAPI monolith with asynchronous workers, structured as ports and adapters: use-cases like caller resolution, availability, booking eligibility, and transfer authorization sit behind interfaces, and each CRM or scheduling vendor is an adapter behind them. Every call ends in an explicit, recorded state — booked, callback, escalated, or failed-with-context — enforced by a real state machine, not convention.
Inbound call — after-hours, overflow, or front-line coverage.
Twilio
Call routing and bidirectional audio streaming into the voice runtime.
OpenAIElevenLabs
Understands the caller, reasons over the customer's business rules, and responds in a natural voice.
FastAPIRedis
Conversation state, qualification logic, tool invocation, and escalation decisions.
ServiceTitanFieldRoutesREST APIsWebhooks
Availability lookup, customer records, appointment booking, and callback creation.
Booked appointment, scheduled callback, or human handoff with full context.
PostgreSQLDashboard
Every call logged with its outcome for review, diagnosis, and optimization.
Twilio handles the telephony edge — routing each business number into the conversational voice runtime.
The conversational runtime is built on ElevenLabs (speech recognition, turn-taking, and synthesis). Its prompts and tool contracts are managed as version-controlled configuration with drift detection — agent behavior ships through review and CI like code, decoupled from backend deploys.
Mid-call, the agent invokes backend tools over authenticated webhooks: FastAPI endpoints on a latency-instrumented hot path that run qualification, availability, booking-eligibility, and escalation logic against the tenant's business rules.
Booking writes are persistence-first: the intent is recorded in PostgreSQL before any CRM mutation, then confirmed synchronously — or recovered by a durable Redis Streams worker with poison-message handling and scheduled reconciliation sweeps. A slow or failing vendor API cannot silently drop a booking or double-book a job.
Each booking moves through an explicit state machine with an allowed-transition graph and immutable terminal states — reopening a closed booking means creating a new, linked intent, so history is never rewritten.
Conversation and session state live in Redis; durable records — calls, transcripts, booking intents, outcomes, QA scorecards — live in PostgreSQL, surfaced in a React/TypeScript dashboard so failures are found by inspection, not by customer complaint.
The tradeoffs were deliberate. A modular monolith with enforced internal boundaries instead of microservices — one deployable and strict ports, with no service mesh to operate at this team size. Redis Streams for durable recovery instead of adding a managed queue — the durability, redelivery, and poison-message requirements were met by infrastructure already in production. And deterministic policy functions instead of prompt instructions for anything commercially binding — because a prompt cannot be hard-gated, and a policy function can.
Integrations
A voice agent that cannot write into the business's systems is an answering machine. Most of the engineering effort lived in the integration layer — making third-party platforms behave reliably inside a real-time conversation.
The deepest integration: a shared HTTP transport with a route table across ServiceTitan's modules (CRM, dispatch, scheduling, memberships), token caching, pagination, and retry handling — split into focused clients for booking, dispatch, record enrichment, and health probes rather than one god-client.
Booking is abstracted behind a provider registry — ServiceTitan by default, with alternate scheduling backends as drop-in adapters. Onboarding a tenant on a different system is an adapter, not a rewrite.
Inbound call and SMS edge: number-to-agent routing with strict phone-number mappings that fail closed rather than guessing.
The conversational voice runtime — and a post-call webhook feed of transcripts and per-turn latency metrics that powers the QA and scoring pipeline downstream.
Structured extraction and agent tooling outside the live call path — transcript extraction, record qualification, and the scoring pipeline's LLM judge — behind a provider-abstracted LLM layer.
Write use-cases are guarded by a Redis-backed idempotency layer — cached results plus distributed locks — so webhook retries and duplicate tool calls can't create duplicate jobs in the CRM.
CRM integration for pest-control operations — the same booking outcomes against a different platform's data model.
Deployment
The system runs as containerized services with the same delivery discipline as any production platform — versioned, tested, and deployed through CI/CD rather than by hand.
Docker services on AWS — API, voice tools, dashboard, and dedicated async workers for booking recovery and knowledge-base processing — with hardened containers: non-root users, dropped capabilities, resource limits, and healthchecks on every service.
GitHub Actions CI/CD with a keyless supply chain: OIDC-federated cloud credentials (no static keys), immutable container images, and production promoting the exact image digests validated in staging — no rebuild between environments.
PostgreSQL (with row-level security on tenant tables and pgvector for knowledge retrieval) for durable records; Redis for sessions, caching, queues, and the booking-recovery stream.
Multi-tenancy is data, not forks: a DB-backed tenant directory resolves each request by domain, header, or token; per-tenant action policies control what the agent may write (including sandbox vs. live modes for safe onboarding); unknown hosts fail closed.
A TypeScript / React dashboard for call review and operational visibility, shipped environment-neutral with configuration injected at container start.
Because tenant behavior — rules, service areas, integrations, autonomy — lives in configuration rather than code, standing up a new customer is configuration work. This model cut new-tenant deployment time by 80%.
Operational Challenges
Live phone calls are an unforgiving runtime. The engineering that made the system trustworthy was almost entirely about failure modes, timing, and handoffs — not about the happy path.
Conversational turn-taking collapses if responses lag. Response generation and speech synthesis are streamed so the caller hears the agent begin speaking without dead air.
Real callers talk over the agent, change their minds mid-sentence, and answer questions out of order. The conversation logic had to handle interruption and correction rather than assume a scripted flow.
Matching a caller to an existing customer record — without creating duplicates and without interrogating the caller — required careful lookup logic against each CRM's data model.
CRM APIs time out and scheduling lookups fail while a customer is on the line. Every tool call has a fallback path, degrading to callback capture instead of a dead end — and because booking intents are persisted before the vendor write, a mid-call failure is recovered asynchronously instead of lost.
The dominant early failure mode was mis-transferring calls the agent could have booked. The fix: a deterministic transfer-authorization function that classifies every transfer request — explicit human request, non-bookable intent, ambiguous, bookable service intent — which the agent must consult before transferring. It ran in shadow mode against production traffic before it was allowed to enforce.
Production calls are watched by leak detectors that flag any turn where the agent discloses internal information it shouldn't — a safety net that treats prompt failure as an observable, alertable event.
Booking means honoring technician availability, service areas, and job-type rules — not inventing a slot. Scheduling constraints came directly from the dispatch workflow.
When a call needs a human, the handoff includes what the caller said and what the agent did — so the customer never starts over.
Calls, transcripts, and outcomes are logged and reviewed in the dashboard. Post-launch optimization is a scheduled discipline: review conversations, diagnose failures, tighten rules, and expand autonomy.
Evaluation
A voice agent that sounds good in a demo can quietly fail in production — booking the wrong job type, mishandling an edge case, or regressing after a rule change nobody re-tested. Because every call already ends in an explicit recorded state, those states became the substrate for evaluation: the system's real behavior was measured against operational outcomes, not vibes, and regressions were caught by inspection before customers felt them.
The headline metric is how often answered calls became correctly booked jobs. Grounding qualification in each business's real rules and closing gaps found in production review is measured against recorded call outcomes, not estimated from demos — every call resolves to a recorded state, so booking accuracy can be audited rather than guessed.
Every call resolves to booked, callback, or human handoff, and each is recorded with its transcript. That gives a ground-truth outcome for every interaction to evaluate against, instead of sampling opinions about whether a call 'went well.'
Beyond conversion, calls were reviewed for whether the agent captured the right job type, honored service-area and availability constraints, and escalated exactly the calls that should not proceed autonomously. Booking a job is only correct if it's the right job on a valid slot.
Conversational turn-taking degrades if responses lag, so response and speech-synthesis timing were monitored as a first-class quality signal — a slow turn is a defect, not just a slow response.
A scenario harness drives the real request handlers against fake CRM adapters that record an external-write ledger — so a change is tested on exactly which writes the agent makes, not on what it says. Declarative scenarios cover each task type and every previously fixed failure, and can replay a bug pre-fix and post-fix to prove the fix.
Machine-scored calls are calibrated against human reviews — agreement metrics and false-pass rates on the failure classes that cap scores — behind an explicit acceptance gate before automated scores are trusted at volume. Gold-label promotion and human-review queues keep the judge honest over time.
Review findings feed rule, prompt, and configuration changes, which are then re-measured against the same recorded outcomes. Improvement is a scheduled discipline against real traffic, not a one-time launch.
This is the difference between a demo and production infrastructure: the system earns wider autonomy because its behavior is observable, measurable, and defended against regression — not because it sounded convincing once.
Results
The deployment is judged by what lands on the schedule and what the schedule turns into. These outcomes are counts of recorded events from one production deployment (Berrett), all-time since March 2026. Job value is reported as a measured floor — it covers only the booked jobs whose value has synced from ServiceTitan — so it understates the true total.
1,152 calls handled — inbound customer calls answered end-to-end by the production voice agent at Berrett Home Services, all-time since March 2026.
158 appointments booked end-to-end — calls where the agent completed the booking workflow directly: 139 fully assigned to a technician and 19 booked and awaiting dispatcher assignment.
Other traced outcomes: 13 bookings that failed to write to ServiceTitan, 7 calls converted to leads (not booked), and 4 routed to callback — each a recorded state, so nothing is silently lost.
$56,031 in recorded job value across 51 of the 158 booked jobs — the jobs whose value has synced from ServiceTitan. This is a measured floor, not the total: the remaining booked jobs are not yet value-synced, so the real figure is materially higher.
Booked jobs land directly in the CRM and dispatch workflow with structured details, replacing manual record creation; calls the agent should not handle autonomously reach humans as clean handoffs with context, not cold transfers.
Two things matter about these numbers. First, the chain is explicit end to end — customer call → AI conversation → appointment created → job created in ServiceTitan → job completed → revenue reconciled back to the original booking — so revenue is traced, not modeled. Second, this is attribution, not incrementality: the system can prove the AI handled the call and booked the job, but not that every dollar was revenue the business would otherwise have lost. Building the instrumentation that makes that distinction honest is itself part of the work.
What This Demonstrates
This deployment is the full FDE loop in one engagement: ambiguous customer environment in, measurable operational outcome out.
01
Entering a live operation, extracting how it actually works, and converting that into deployable system behavior.
02
Owning the entire path — discovery, architecture, integration, production deployment, and post-launch optimization — rather than one slice of it.
03
Integration depth across telephony, LLM orchestration, voice synthesis, CRM, dispatch, and scheduling under real-world failure modes.