Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Lead-Generierung & Anreicherung

Lead-Generierung & Anreicherung

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.

Was sie bewirkt

## 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.

Die Schritte

  1. Every 15 minutes
  2. Run it now
  3. config
  4. Supabase connected?
  5. [cred] Supabase - claim the due queue
  6. STOP: using the sample due queue
  7. one due queue
  8. decide the next touch
  9. anything to send?
  10. STOP: nothing due
  11. sending?
  12. STOP: preview - nothing sent
  13. SMS or voice?
  14. Twilio connected?

Insgesamt 32 Schritte.

Ähnliche Automatisierungen