A fully automated lead capture and qualification pipeline that receives form submissions, processes them
through AI scoring, logs every step to a database, and fires Slack alerts on failure — with retry logic and a
real-time monitoring dashboard.
Architecture
Tally Form → n8n Webhook → Map Form Fields → Send to Supabase → Check Request → Slack Alert
(on failure) → Hubspot Dashboard
Key Engineering Features
• Webhook endpoint receives and maps Tally form fields in real time
• AI qualification via Claude — scores each lead 1-10 with reasoning
• Structured logging to Supabase workflow_logs table (step name, status, timestamp, metadata)
• Error detection with If node — routes failures to Slack alert branch
• Retry logic with exponential backoff (3x: 2s / 4s / 8s) before alert fires
• Idempotency check prevents duplicate lead entries on repeated submissions
• Real-time dashboard showing leads, qualification rate, failed workflows, active alerts