Send scheduled SMS and voice outreach from Supabase via Twilio and Retell
Ready for 3.0What this workflow does
This workflow has 32 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api.retellai.com over HTTP.
How it runs
Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).
- config (Code): runs custom JavaScript code
- Supabase connected? (If): checks a condition and branches into true / false
- [cred] Supabase - claim the due queue (HTTP Request): calls an HTTP API (POST)
- STOP: using the sample due queue (Code): runs custom JavaScript code
- one due queue (Merge): merges the data from its input branches
- decide the next touch (Code): runs custom JavaScript code
- anything to send? (If): checks a condition and branches into true / false
- sending? (If): checks a condition and branches into true / false
- STOP: nothing due (Code): runs custom JavaScript code
- SMS or voice? (If): checks a condition and branches into true / false
…plus 19 more steps. See the full node list below.
HTTP calls to: api.retellai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs every 15 minutes to claim due outreach enrollments from Supabase, decide the next SMS or voice touch based on a sequence and quiet hours, send via Twilio (SMS) or Retell (voice), then write attempts and enrollment updates…