Библиотека / Генерация и обогащение лидов
Генерация и обогащение лидов
Send scheduled SMS and voice outreach from Supabase via Twilio and Retell
On a schedule, it finds and enriches leads with Claude using Retell AI.
Что делает
## Send scheduled SMS and voice outreach from Supabase via Twilio and Retell Who's it for Recruitment and sales teams running multi-step SMS or voice outreach who need one place that owns sending — so quiet hours, the daily cap and opt-outs cannot be bypassed by a branch that did not run. How it works Every fifteen minutes the runner claims a batch of due enrollments from a Supabase view, walks each one up its ladder, and sends exactly one touch per person. The queue is a database view, not logic in here: opted-out numbers, people already worked by another campaign, leased rows and terminal enrollments never come back from v_due_attempts at all. Each row is sent by SMS through Twilio or as a voice call through Retell. Results are classified into sent, transient and permanent, which decides whether the enrollment advances a rung, backs off with jitter, or stops for good. An idempotency key computed before the send makes a retry safe by construction. How to set up 1. Open config and set the ladder, quiet hours, the daily cap and PERMANENT_SMS_ERRORS. 2. Attach Supabase, Twilio and Retell credentials to the [cred] nodes. 3. Leave DEMO_MODE = true for the first run — it uses the sample queue and sends nothing. Requirements A Supabase project with the v_due_attempts view and a contact_attempts table with a unique index on the idempotency key, plus a Twilio account. Retell and the summary webhook are optional. How to customize Change the ladder steps and delays in config. To add a channel, branch from SMS or voice? and feed the result into one send result — the recording and retry logic is unchanged.
Шаги
- Every 15 minutes
- Run it now
- config
- Supabase connected?
- [cred] Supabase - claim the due queue
- STOP: using the sample due queue
- one due queue
- decide the next touch
- anything to send?
- STOP: nothing due
- sending?
- STOP: preview - nothing sent
- SMS or voice?
- Twilio connected?
Всего шагов: 32.
Похожие автоматизации
Генерация и обогащение лидовКвалификация лидов по телефону с Retell AI и OpenAIШагов: 14Чат-боты и боты для мессенджеровSMS-ассистент по курсам с Twilio, Airtable и OpenAIШагов: 11Оповещения и уведомленияОтправка SMS на номера из Airtable через TwilioШагов: 3Оповещения и уведомленияОтправка SMS на номера из Airtable через TwilioШагов: 4