Manual lead triage, enrichment, and follow-up drafting slow down high-velocity sales pipelines.
Built an AI CRM automation pipeline using n8n for orchestration, Claude 3 Haiku for qualification and scoring, Supabase for persistence, and a realtime Next.js dashboard. Automated lead summaries, email drafts, and next-action suggestions end-to-end.
Reduced time-to-first-action with a low-code, scalable lead automation workflow.
Incoming leads from web forms trigger an n8n webhook workflow. The lead data is enriched with company context via a web search node, then sent to Claude 3 Haiku via OpenRouter for qualification scoring and email draft generation. Results are persisted to Supabase with real-time subscriptions that push updates to a Next.js dashboard. The entire pipeline runs without human intervention from lead capture to qualified summary delivery, typically completing in under 8 seconds.
Low-code orchestration tools like n8n are powerful but hide failure modes behind visual abstractions. Building robust error handling required treating n8n as an unreliable message bus and designing for failure from the start. I also learned that LLM qualification works best when you constrain the output format tightly — open-ended scoring produces inconsistent results that are hard to act on downstream.