{"product_id":"n8n-workflow-twilio-sms-email-slack-alerts-for-new-leads","title":"n8n Workflow: Twilio SMS, Email \u0026 Slack Alerts for New Leads","description":"\u003ch3\u003eTurn new contact-form leads into instant SMS, email, and Slack alerts—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow receives each new lead submission, normalizes the lead data, assigns a duty attorney in round-robin order, and sends compliant acknowledgments via \u003cstrong\u003eTwilio SMS\u003c\/strong\u003e and \u003cstrong\u003eSMTP email\u003c\/strong\u003e, with \u003cstrong\u003eoptional Slack\u003c\/strong\u003e notifications to your team.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives leads via webhook:\u003c\/strong\u003e When someone submits your contact form, your site sends a \u003cstrong\u003ePOST webhook\u003c\/strong\u003e request to the workflow.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes and validates:\u003c\/strong\u003e The workflow standardizes incoming fields into consistent lead variables and \u003cstrong\u003estops\u003c\/strong\u003e if the submission includes \u003cem\u003eneither an email address nor a phone number\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAssigns a duty attorney (round-robin):\u003c\/strong\u003e It selects the next attorney from the \u003cstrong\u003eDUTY_ATTORNEYS\u003c\/strong\u003e roster using a \u003cstrong\u003epersistent round-robin counter\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends a personalized SMS with compliance checks:\u003c\/strong\u003e It builds an SMS message, runs it through the \u003cstrong\u003eBar-Compliance Guardrail workflow\u003c\/strong\u003e for opt-out\/disclaimer approval, and sends via \u003cstrong\u003eTwilio\u003c\/strong\u003e only when approved.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends email confirmations:\u003c\/strong\u003e The lead receives a confirmation email with your booking link (via \u003cstrong\u003eSMTP\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies the assigned attorney (and optionally Slack):\u003c\/strong\u003e The assigned attorney is emailed with full lead details, and the workflow can also post the alert to \u003cstrong\u003eSlack\u003c\/strong\u003e using an \u003cstrong\u003eIncoming Webhook URL\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eA law firm wants immediate, trackable intake notifications for new contact form leads.\u003c\/li\u003e\n  \u003cli\u003eOperators need round-robin duty attorney assignment without manual triage.\u003c\/li\u003e\n  \u003cli\u003eA teams wants compliant SMS acknowledgments using a guardrail workflow, plus email and Slack visibility.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/logic:\u003c\/strong\u003e \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eno op\u003c\/code\u003e, \u003ccode\u003etwilio\u003c\/code\u003e, \u003ccode\u003eemail send\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003eTwilio SMS\u003c\/strong\u003e, \u003cstrong\u003eSMTP email\u003c\/strong\u003e, and optional \u003cstrong\u003eSlack Incoming Webhook\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequired workflow variables:\u003c\/strong\u003e DUTY_ATTORNEYS, GUARDRAIL_WORKFLOW_ID, FIRM_NAME, FIRM_FROM_EMAIL, FIRM_EMAIL, FIRM_TWILIO_NUMBER, FIRM_BOOKING_URL (and optionally FIRM_SLACK_WEBHOOK_URL)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45741425230003,"sku":"N8N-17590","price":17.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/TpI1JPQFn3B5Ac3euuXSi_7OjVeP4p.png?v=1785316434","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-twilio-sms-email-slack-alerts-for-new-leads","provider":"N8N Commerce","version":"1.0","type":"link"}