AI Sales Manager
An autonomous AI SDR that finds, audits and pitches local businesses — end to end.
AI Sales Manager is a full sales-development platform run by agents instead of people. You point it at a territory — any area in the world — and it discovers the businesses there, audits each one's web presence, decides who actually needs help, and writes outreach grounded in what it found. A human approves; the system does everything else.
THE PIPELINE
A territory picker built on Places autocomplete scopes the hunt to any city or district worldwide. From there, discovery pulls the businesses in the area, and a Playwright fleet visits every website: full-page screenshots, tech and UX heuristics, and vision-model scoring of what a customer actually sees.
The pitch generator is the part I'm proudest of: it doesn't write generic cold email. It cites the audit — the slow LCP, the broken mobile menu, the missing booking flow — so every email reads like a consultant already did the first hour of work for free.
Sending runs over Gmail SMTP, which quietly keeps no Sent copy. The fix: every email BCCs an archive address and lands in an in-app Sent log, so the outreach history is queryable product data instead of a mailbox.
ENGINEERING DECISIONS
LLM calls route through a multi-provider fallback chain spanning five providers, so a rate limit or an outage degrades to the next model instead of failing the run.
Everything long-running is an Inngest job — durable, retryable, observable — with Prisma/Postgres as the source of truth for leads, audits and outreach state.
The heavy browser work doesn't run in serverless at all. That story earned its own case study: Territory Scanner.
HIGHLIGHTS
- ▸Agentic pipeline (LangGraph) from discovery → audit → scoring → outreach
- ▸Playwright audit fleet with screenshot + vision-model scoring
- ▸Multi-LLM fallback router across 5 providers
- ▸Pitch emails that cite concrete audit findings, not templates
- ▸BCC-archival Sent log on top of Gmail SMTP
- ▸Worldwide territory picker on Places autocomplete