Skip to content
James Ross
Agency · Front RowIn use

Lead triage

Lead Triage: AI Email Categorization

AI-assisted inbound lead categorization with human confirmation before routing emails to internal owners, gated behind a three-part go-live check.

stack: TypeScript · LLM Classification · Human Confirmation · Unit-Tested Guardrail

Built for Front Row's digital division. Client details withheld.

01 / Problem

The problem

Unchecked automated email routing on inbound website leads can misclassify prospects or send live notifications during staging tests.

02 / Architecture

The build

  • Inbound lead intake where an LLM proposes a category, a person confirms the classification, and the right internal owners receive notification emails.
  • Preview-mode default: enabling live routing requires a settings flag, an environment flag, and an admin typing GO LIVE.
  • All three go-live conditions are enforced in a single unit-tested guard function.

03 / Diagram

System schematic

01 / INTAKEWebsite LeadAI suggests categoryPreview mode default02 / REVIEWHuman ConfirmsCategory & routingNo auto-dispatch03 / GO-LIVE GUARDSingle Unit-Tested Fn1. Settings flag2. Environment flag3. Typed "GO LIVE"04 / ROUTERight OwnersEmailed safelyIn use
Inbound lead stream passing through AI categorization, human confirmation, and the three-condition GO LIVE guard before owner notification.

04 / Scope

Status & scale

Status

In use

Default mode

Preview mode

Live gate

3-factor GO LIVE check

Verification

Unit-tested guard

05 / Stack

Components

  • TypeScript
  • LLM Classification
  • Human Confirmation
  • Unit-Tested Guardrail

06 / Writing