Automation library · Lead generation

Qualify Facebook leads with ElevenLabs and Supabase

Started by another system calling it, and works across Gmail, Slack and Supabase. 24 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

24 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Logic 8Service 14

The steps in the order they run, from what starts it.

  1. 1New Facebook LeadFacebook Lead Ads triggerStarts it
  2. 2ElevenLabs Call CompleteWebhookStarts it
  3. 3ConfigurationSetLogic
  4. 4Notification SettingsSetLogic
  5. 5Format Lead DataSetLogic
  6. 6Extract Call DataSetLogic
  7. 7Check Existing LeadSupabaseService
  8. 8Update Lead RowSupabaseService
  9. 9Is New Lead?IfLogic
  10. 10Route by OutcomeSwitchLogic
  11. 11Insert LeadSupabaseService
  12. 12Skip: Duplicate LeadNo OpLogic
  13. 13Slack: BookedSlackService
  14. 14Slack: Hot LeadSlackService
  15. 15Slack: Call Completed (Other)SlackService
  16. 16Within Calling Hours?IfLogic
  17. 17Email: BookedGmailService
  18. 18Email: Hot Lead Follow UpGmailService
  19. 19Trigger ElevenLabs CallHttp RequestService
  20. 20Mark Lead Queued (After Hours)SupabaseService
  21. 21Save Call IDSupabaseService
  22. 22Log Call FailureSupabaseService
  23. 23Notify Team: After-Hours LeadSlackService
  24. 24Notify Team: Call FailedSlackService

How it's built

Starts on
Another system calling it
Steps
24, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Slack, Supabase
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail, Slack and Supabase accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.