One textarea. Five questions. A custom AI team in <2 minutes.
The prospect describes their business in a single textarea. Claude asks 3-5 sharp follow-ups, one at a time. After the last answer, an email gate captures the lead. Two Anthropic passes (analysis → recommendation) run server-side. The plan persists to Supabase, gets emailed via Resend with a PDF attached, and a shareable URL renders the result on screen.
Stateless server actions. No session store.
Browser (Next.js client)
│ useState({ description, turns, email })
│
▼ startAnalysis / continueAnalysis / generatePlan (server actions)
┌──────────────────────────────────────────────────────┐
│ Vercel Serverless · Node │
│ ─→ Anthropic Claude Opus 4.7 (cached system) │
│ ─→ Supabase service-role write │
│ ─→ Resend email (PDF attached) │
│ ─→ PostHog capture (no-op until key set) │
└──────────────────────────────────────────────────────┘
│
▼
/plan/[id] (dynamic route)
/plan/[id]/pdf (download)Vercel lambdas don't share memory. Sessions die between turns. Client holds the conversation history; every server action takes the full {description, turns} as input. Cleaner architecture, no state to lose.
Pass 1 builds a structured analysis JSON (industry, revenue band, tooling, bleed signals). Pass 2 maps that to BUILT/CUSTOM agents using the catalog. Smaller prompts, better signals, harder for the LLM to hallucinate.
System prompts (~3KB) are static across all prospects. Anthropic caches the prefix for 5 min — every plan after the first costs cents instead of dollars. Verified: ≤$0.30/plan.
The signature move is the chip.
--h1-size: 88px → 60px → 40px clamp(min, vw, max) flex-wrap + auto-fit no media queries
Tell me what your company does.
Italic Instrument Serif word inside a cream highlight chip rotated -0.6deg with box-decoration-break: clone so it wraps cleanly on mobile. Used in every section headline. Keeps brand recognition end-to-end.
Two passes, one schema, zero leaks.
- BUILTLead Response Agent
- BUILTQuote Follow-Up Agent
- BUILTReactivation Agent
- BUILTReview & Reputation Agent
- BUILTFriday Performance Report
Examples generated live: After-Hours Dispatch Agent (plumber), Maintenance Triage Agent (PM agency), Owner Approval Chase Agent (PM agency), Owner Statement Agent. Tagged CUSTOM. Pushes the recommendation to the Enterprise tier when present.
Banned words enforced via prompt + self-check rule. 0 leaks on rendered plans across 3 industries tested. Tier rationale must name a specific signal from the conversation. Stat formatting strict: '<2 min', '+22 hrs/mo', no double-stacked '+90%+' signs.
Twelve packages. One worktree.
Three phases. Each deployable.
Static landing
14 tasks · 16 commitsScaffolded Next.js 16 + design tokens + 6 sections (hero, manifesto, receipts, tier teaser, CTA, footer). Conversation-flow stubbed at email gate. Vercel preview live before AI was wired. Mobile responsive. 9 unit tests.
AI plan generation
13 tasks · 17 commitsSupabase migration + plans table. Anthropic two-pass (analysis → recommendation). Stateless server actions. Resend email + plan template. Payoff page at /plan/[id]. Hybrid scope model: BUILT vs CUSTOM. End-to-end live with real plans for 3 test prospects.
Analytics + polish
7 tasks · 5 commitsPostHog server + client (graceful no-op without key). PDF generation attached to email + download endpoint. Honeypot anti-spam guard. Playwright E2E (3 functional + 2 visual). Launch checklist.
Real plans for real businesses, generated live.
Geelong Plumbing Co
14-person residential plumbing · $2.4M ARR · 4,000-customer reactivation backlog
Newcastle PM Agency
380 rentals · 8 staff · maintenance triage + owner approval + statement generation
Forty-five files. Fits in one head.
landing/
├── app/
│ ├── layout.tsx · fonts + posthog mount
│ ├── page.tsx · the landing
│ ├── globals.css · design tokens + responsive vars
│ ├── plan/[id]/
│ │ ├── page.tsx · payoff page
│ │ ├── pdf/route.tsx · PDF download endpoint
│ │ └── not-found.tsx
│ ├── build/page.tsx · this page
│ └── actions/
│ ├── start-analysis.ts · first AI call
│ ├── continue-analysis.ts · followup loop
│ └── generate-plan.ts · two-pass + persist + email
├── components/
│ ├── hero.tsx · manifesto.tsx · receipts.tsx
│ ├── tier-teaser.tsx · final-cta.tsx · footer.tsx
│ ├── conversation-flow.tsx · client state machine
│ ├── highlight-chip.tsx · status-pulse.tsx · logo.tsx
│ └── payoff/
│ ├── header.tsx · agent-row.tsx · impact-card.tsx
│ └── tier-match.tsx · final-cta.tsx
├── lib/
│ ├── prompts/ · system + analysis + recommendation + followups + catalog
│ ├── schemas/ · zod for every AI response
│ ├── pdf/plan-pdf.tsx
│ ├── email/{resend,plan-email-html,send-plan}.tsx
│ ├── analytics/{server,client}.tsx
│ ├── plans.ts · short-id.ts · cn.ts · anthropic.ts
│ └── supabase-{server,browser}.ts
└── tests/
├── unit/ (8 files · 18 tests)
├── integration/ (3 files · 8 tests)
└── e2e/ (1 spec · 5 tests + 2 baselines)Five clicks to public launch.
- 01Custom domainPoint innovalos.com (already verified for Resend) at the Vercel project. Update NEXT_PUBLIC_BASE_URL.
- 02PostHog projectCreate at app.posthog.com → drop NEXT_PUBLIC_POSTHOG_KEY into Vercel env. Funnel goes live without redeploy.
- 03OG imageReplace the 68-byte placeholder with a real 1200×630 brand asset for LinkedIn / Twitter / Slack previews.
- 04Lead pipelineWire Make.com to watch innoval_plans Supabase table → push to GHL or whichever CRM.
- 05AnnounceLinkedIn post linking to the tool. Watch the funnel for the first 48 hours.