Templates / Route new legal leads with Twilio SMS, email, and Slack alerts

Route new legal leads with Twilio SMS, email, and Slack alerts

Ready for 3.0

by Dele Tosh @ Protomated ✓ · 1 views · created 2026-07-28 · Lead Generation

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Twilio.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Format Lead Payload (Code): runs custom JavaScript code
  2. If: checks a condition and branches into true / false
  3. Assign Duty Attorney (Code): runs custom JavaScript code
  4. Prepare Lead SMS Message (Code): runs custom JavaScript code
  5. Send Confirmation Email (Send Email): sends an email over SMTP
  6. Email Duty Attorney Alert (Send Email): sends an email over SMTP
  7. Check SMS Compliance (Execute Sub-workflow): calls another n8n workflow
  8. If: checks a condition and branches into true / false
  9. If: checks a condition and branches into true / false
  10. Post Slack Alert to Attorney (HTTP Request): calls an HTTP API (POST)

…plus 1 more step. See the full node list below.

Services it uses

Twilio

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.

Nodes used (8)

From the author

Quick overview This workflow receives new contact form submissions via webhook, normalizes the lead data, assigns a duty attorney in round-robin order, and sends acknowledgments via Twilio SMS (through a compliance guardrail) and SMTP email, plus optional…

Excerpt from Dele Tosh @ Protomated's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.