AI in your agency’s hands
Build a Lead Intake Form Center with AI
Domain knowledge is the only prerequisite. AI writes the code, you write the system. Build a real multi-form lead capture system in an afternoon.
You can build a real multi-form lead intake system for your insurance agency in an afternoon, and domain knowledge is the only prerequisite. AI writes the code; you write the system, using three prompts run in order in Claude Code.
This is EP 01 of the AI Coding & The Production Gap series. EP 02, From Inbox to AgencyZoom, is live: it wires EP 01 to Resend, Gemini, and your AgencyZoom pipeline.
Get the guides
Free download
EP 01: Form Center Prompt Guide
All 3 prompts, copy-paste ready, with pre-written answers and a check after each step.
Free download
Environment Setup Guide
Install everything you need before running the first prompt. Mac and Windows paths.
Watch the full build
The on-camera companion to the EP 01 Prompt Guide. Watch each prompt go in, what Claude Code does with it, and the “how you know it worked” check between steps.
The production gap
Every agent has tried to “vibe code” something: paste a request into an AI chatbot, hope for the best, get back something that almost works. That’s not the gap. The gap is between prompting for vibes and prompting with systems.
Your domain knowledge (how an agency actually works, what fields matter, how to score a lead) is the moat. This series teaches you to encode that knowledge into production software, with AI doing the actual coding.
| Vibe coding fails | This approach works |
|---|---|
| “Make me an insurance form”: no architectural thinking | Three prompts, in order. That’s the whole build |
| Generic output that doesn’t reflect your business | Your domain logic encoded into the system |
| Breaks on edge cases because you didn’t define them | Each prompt has a “how you know it worked” check |
| Can’t maintain or extend what you didn’t design | Real software you can brand, deploy, and use |
What you’ll build in EP 01
A Form Center: a dashboard that hosts three intake forms, each with its own route, validation, scoring logic, and email delivery. A real product, not a tutorial toy.
- General Inquiry (
/forms/general): catch-all intake for “I need insurance, not sure what kind.” Multi-select coverage types, conditional fields, smart scoring. - Personal Auto (
/forms/auto): dynamic vehicle cards, driver details, coverage history. Captures what an agent actually needs before running a quote. - Homeowners (
/forms/home, the highest-value form): property details, construction type, roof age, dog breeds (yes, really, it affects underwriting). Everything for a home quote.
Three prompts. In order.
That’s the whole build. Each prompt has a clear job and a “how you know it worked” check before you move on.
The Full Build
The big one. Full architecture in a single prompt: the stack, the dashboard, every form, every field, conditional logic, validation. Claude Code plans the build, then executes it. You answer its questions as they come up.
Resend Email Integration
Wire up delivery. When a prospect submits any form, the data gets validated, formatted into a clean notification, and emailed to your inbox. Form fill to lead in your inbox in under 3 seconds. No middleware.
Polish + Verify
Final pass. Responsive, accessible, no rough edges. The difference between a demo and something you’d actually put in front of a prospect. Claude Code runs through everything and gives you a clean summary.
Two documents to build EP 01
The Prompt Guide is the build system: three prompts with pre-written answers to the questions Claude Code will ask. The Setup Guide gets your environment ready before you run the first prompt.
EP 01 Prompt Guide. The complete sequential prompt system for building the Form Center. Every prompt is copy-paste ready. Every likely question from Claude Code has a pre-written answer. Every step has a testable exit condition. What’s included: all 3 prompts, copy-paste ready; pre-written Q&A tables for the technical questions Claude Code will ask; a “How You Know It Worked” check after each prompt; a Resend setup walkthrough and a troubleshooting section for common issues.
Environment Setup Guide. Step-by-step instructions to install everything you need before running the first prompt. Separate paths for Mac (automated) and Windows (manual). No prior development experience required. What you’ll install: Claude Desktop (AI assistant), Claude Code CLI, Node.js (runtime), and a code editor. Includes troubleshooting for the most common setup issues.
Domain knowledge becomes software
Every field and every conditional path in this build reflects how an independent P&C agency actually operates. This is what separates a production intake system from a generic contact form.
The dog breed field
Most carriers have restricted breed lists: pit bulls, Rottweilers, German Shepherds, Dobermans. Collecting this at intake prevents a blown appointment with a carrier who would decline the risk. No generic form builder includes this field. An agent would.
Conditional renewal fields
Current carrier and renewal date only appear when the prospect says they’re currently insured. Reason for shopping (price, coverage, unhappy, adding a vehicle) appears when they have active coverage. The form adapts to what’s actually relevant.
Dynamic vehicle cards
The auto form asks how many vehicles (1 to 4), then renders a card for each one: year, make, model. Cards animate in and out. The year range generates dynamically from the current year. No hardcoded values, no manual updates.
Lead notification includes everything
The email that hits your inbox is agent-facing: every field, organized by section, with a Central Time timestamp. Not a summary. Not a CRM record. Every piece of data the prospect entered, formatted so you can quote from it immediately.
The full series
| Episode | Title | What it covers | Status |
|---|---|---|---|
| EP 01 | Foundation: The Form Center | Build the multi-form lead intake system. Three forms, scoring engine, Resend email delivery. No database yet, pure intake. | Available |
| EP 02 | From Inbox to AgencyZoom | Resend email delivery, Gemini AI enrichment with priority tiers, and a direct AgencyZoom API push. Five prompts. Real CRM integration. | Available |
| EP 03 | Public Website Wrapper | Wrap the system in a public-facing agency website. The Form Center becomes embedded lead capture on a branded site. | Coming soon |
Download the EP 01 Prompt Guide and the Environment Setup Guide, set up your environment, run the prompts in order, and you’ll have a real multi-form lead intake system by end of day.