We Turned 5 Scattered Scripts into One Lead Enrichment Workflow
Описание и применение
Объединили пять скриптов в единый поток обработки лидов: проверка, сохранение, опциональное обогащение, верификация почты, классификация, уведомление в Slack и запись результата в Supabase. Это повышает надёжность и упрощает поддержку.
Задача
Lead enrichment steps were scattered across scripts, causing signup failures when external APIs timed out and making the process hard to maintain and understand.
Результат
The unified workflow eliminates signup loss due to external API failures, centralizes logic, improves maintainability, and provides a clear audit trail for each lead.
Рабочий процесс
- 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
Доказательства
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.
- Дата записи: 2026-09-22T16:45:42.149Z