← Back to Portfolio
Portfolio Case Study · AI Automation & Lead Generation Marketing Company / 2025
Case Study

Automated Lead Magnet That Delivers AI-Generated Business Analysis on Demand

Built an end-to-end lead capture and nurture system — a custom HTML form triggers an n8n workflow, the Claude API generates a personalized business analysis report with 5 growth opportunities, and the lead is routed directly into the CRM for follow-up.
Part of a larger engagement — also includes a full CRM build from scratch for the same client, including tagging, segmentation, drips, and website CTA tracking
1 Form submission triggers it all
5 AI-generated growth opportunities
Auto CRM routing via n8n
0 Manual steps after submission
The brief

The client needed a lead magnet that felt genuinely valuable — not a PDF download or a generic checklist, but something personalized enough to justify a prospect giving up their contact details. The goal was to capture business owner leads, deliver immediate value, and route qualified contacts into the CRM without any manual work in between.

How I built it

I built the intake form from scratch in HTML — clean, branded, and designed to capture the business information needed to generate a useful analysis. When someone submits the form, n8n picks it up and passes the data to the Claude API.

Claude processes the business inputs and generates a tailored report: a summary of where the business stands, five specific growth opportunities based on what was submitted, and a CTA to book a call. The output is rendered as a formatted HTML results page — not a generic text dump, but a designed deliverable the prospect actually receives.

At the same time, n8n routes the lead's contact details and business info directly into CRM Platform CRM, tagged and ready for follow-up. The whole process — form submission to CRM entry to report delivery — runs without anyone touching it.

This is still in early deployment with results being tracked. The build itself demonstrates what's possible when you wire AI generation directly into a lead capture flow — the prospect gets immediate, personalized value; the business gets a qualified lead in their CRM.

What was built
01 Custom HTML intake form: branded form built from scratch to capture business details — the structured input that makes the AI analysis useful and specific.
02 n8n automation workflow: form submission triggers the workflow — passing data to Claude API, generating the report, routing the lead to CRM, and delivering results, all in one flow.
03 Claude API integration: AI generates a personalized business analysis based on form inputs — tailored to the specific business, not a template response.
04 HTML results page: analysis delivered as a formatted HTML page showing the business summary, 5 growth opportunities, and a CTA to book a call.
05 CRM Platform CRM routing: lead contact info and business data pushed directly into CRM on submission — tagged, organized, and ready for follow-up without manual entry.
How the system runs
Form Prospect fills custom HTML intake form
n8n trigger Submission fires n8n automation workflow
Claude API Business data passed to Claude — analysis generated
Results HTML report with 5 growth opportunities + book call CTA
CRM Lead routed into CRM Platform — tagged, ready for follow-up
What the prospect receives
Business Summary
AI-generated overview of the business based on submitted details — personalized, not generic
5 Growth Opportunities
Specific, actionable opportunities identified by Claude based on the business profile
Book a Call CTA
Report closes with a direct CTA to book a consultation — warm lead, high intent moment
Tools used
n8n Claude API HTML (form + results) CRM Platform CRM
Why this matters
Most lead magnets deliver static value. This one generates a personalized analysis on demand — giving the prospect something they couldn't get elsewhere, while routing a qualified lead into the CRM automatically. No manual work, no delay.