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
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
Related writing
- How to roll out Open WebUI as an AI workspace for a whole companyWhat an Open WebUI rollout needs: an OpenAI-compatible gateway, per-app tokens, a hardened container, and a guide staff actually read on day one.
- Building an LLM gateway: an OpenAI-compatible API in front of tools that are not APIsHow an LLM gateway puts an OpenAI-compatible HTTP face on a CLI tool, with process pooling, sessions, quotas, SIGKILL timeouts and a hardened container.
- AI agent memory: one layer shared by several coding agentsHow AI agent memory works when two coding agents share one store: provenance, repository scoping and routing memory processing to a cheaper model.
- Turning a browser-only AI tool into an HTTP APIHow an HTTP bridge turns Google Flow image and video generation into a polled job API, with a paid-action gate, retries and private-network access.
- LLM failover that actually fails over: two hops, wall-clock aborts and empty completionsWhy per-request retries are not failover, how a wall-clock deadline stops a hang, and how a timecard assistant went from 9.5 minutes to 96 seconds.
- LLMs write prose, never the numbersHow a reporting platform computes every metric in code, constrains the model with a strict schema, and validates each number before a human approves.