Skip to main content
back to grid
Projects2026

NightShift

An after-hours answering service for home-service businesses. A voice agent answered the calls, Claude drafted replies to texts and scored every lead, and the owner's briefing was ready by morning. I built it from March to May 2026, then stopped.

The NightShift landing page: a night-sky hero reading 'Win every after-hours lead. While you sleep.', a button to book a walkthrough, and a card for starting a demo call from the browser.
The landing page as it stood in May 2026. The card on the right started a real call to the voice agent from the browser.
33
Convex tables
35
verification scripts
Phone + SMS
channels
Mar–May 2026
build window
§01The workMay 2026
May 2026

Where v1 stood when I stopped.

Phone and SMS only. Every message was sorted and scored, confident replies went out on their own behind safety gates, and one internal console handled the exceptions.

§02The pipelineEnd-to-end flow
01

Answer

After hours, a Retell voice agent picked up forwarded calls and Twilio carried the texts. Returning callers were greeted by name.

Call or text
02

Sort

Each message was classed as a lead, a support issue, a general question, or a message for the owner. Spam got no reply.

Claude Haiku
03

Reply

Sonnet drafted a qualifying reply from the business's own details. Confident replies went out on their own; anything unclear was flagged for review.

Claude Sonnet
04

Brief

Hot leads triggered a text alert, held until quiet hours ended. Everything else went into a scored briefing by email and text.

By morning
§03What I builtPieces that compound

Five parts: the backend, the voice layer, the safety gates, the operator console, and the public site.

One Convex backend for every business.

Every table hangs off a business ID, so adding a business was configuration, not a migration. Records change by status instead of being deleted, which left an audit trail for every message, score, draft, and send.

33 tables · keyed by business

Moved the voice agent to Retell.

The first voice layer ran on Vapi. In April 2026 I rebuilt it on Retell with a conversation-flow agent, a SIP trunk to Twilio, and Cal.com tools the agent could call to book a slot mid-call.

Retell · Twilio SIP · Cal.com

Gates before anything went out.

Replies only went out after hours, and hot-lead alerts waited out quiet hours. A business couldn't go live until its activation checks passed. Failed AI calls retried, then surfaced in monitoring instead of failing silently.

After hours only · quiet hours · activation

An internal console, not a customer dashboard.

The owner was never meant to log in to anything. The console was for me: four views, a client drawer, and a command palette for watching the system and handling exceptions.

Pulse · Clients · Review · Settings

Site, demo call, and checkout.

The public site let a visitor talk to the voice agent from the browser, book a walkthrough in an embedded Cal.com window, and check out through Stripe after accepting the terms.

React 19 · Vite · Stripe
§04TimelineMilestones along the way
  1. Built the core

    Started as after-hours inbox triage: intake, Convex storage, classification, lead scoring, grounded draft replies, and an operator workspace.

  2. Moved to voice

    Rebuilt the voice layer on Retell, narrowed the channels to phone and SMS, and added AI classification, quiet hours, and returning-caller recognition.

  3. Finished the front door, then stopped

    Shipped the in-browser demo call, Cal.com booking, Stripe checkout, and the activation gate. Feature work ended there.

§05StackEvery tool earns its line
React 19 / FrontendTypeScript / LanguageVite / BuildVercel / HostingConvex / BackendClerk / Operator authClaude Haiku 4.5 / ClassificationClaude Sonnet 4.6 / DraftingRetell / Voice agentTwilio / SMS + SIPCal.com / BookingStripe / CheckoutResend / EmailFirecrawl / Onboarding scrape
§06ArtifactsReceipts and public proof

The repo is private. Nothing here names a business, a caller, or a phone line.

NightShift repo

Private React and Convex app with the voice, SMS, triage, drafting, briefing, and operator code, 35 verification scripts, and 77 test files.

private repo
Landing page capture

The public site as it stood in May 2026: the hero, the demo-call card, and walkthrough booking.

screenshot · May 2026
V1 product canon

A dated spec for channels, message categories, auto-send rules, and what the product would not do.

internal doc · May 2026