We Turned 5 Scattered Scripts into One Lead Enrichment Workflow
Description and use
Combined five scripts into a single lead enrichment workflow: validate, save, optional enrichment, email verification, classification, Slack notification, and update Supabase. This improves reliability and maintainability.
Problem
Lead enrichment steps were scattered across scripts, causing signup failures when external APIs timed out and making the process hard to maintain and understand.
Outcome
The unified workflow eliminates signup loss due to external API failures, centralizes logic, improves maintainability, and provides a clear audit trail for each lead.
Workflow
- Validate and clean the input
- Save the lead first
- Enrich with Hunter (optional)
- Verify the mailbox with Kickbox
- Classify the lead
- Route to Slack based on classification
- Write the result back to Supabase
Evidence
Lead gets saved before any external call runs, so a slow or down enrichment vendor never blocks the signup.
Mark optional on purpose. Company data is nice to have. It should never be able to block a signup.
- Record date: 2026-09-22T16:45:42.149Z