Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Respond to missed calls with Twilio SMS and email alerts from CallRail

When an API call/webhook arrives, it handles email using SMTP Email, Twilio.

What it does

## Missed Call Rescue — Instant SMS Text-Back + Owner Alert ### What it does This workflow turns a missed phone call into an immediate follow-up. It receives a completed call event from Twilio or CallRail, normalizes the payload, confirms the call was genuinely missed, suppresses duplicate events, checks business-hour context, sends one SMS through Twilio, and emails the business with the result. ### Setup 1. Connect Twilio credentials to Send SMS via Twilio. 2. Connect SMTP credentials to Email Business Alert. 3. Create these n8n Variables: - BUSINESS_NAME - BUSINESS_ALERT_EMAIL - BUSINESS_SMS_NUMBER - BUSINESS_TIMEZONE - BUSINESS_BOOKING_URL - BUSINESS_HOURS_START - BUSINESS_HOURS_END - BUSINESS_WORK_DAYS 4. Point a supported Twilio call-status callback or CallRail call webhook to the Production URL in Receive Call Event. 5. Test with the pinned sample before activating. ### Important production notes - This template does not claim to make an SMS program legally compliant. Configure consent, registration, opt-out handling, and messaging rules for your use case and jurisdiction. - Twilio normally handles standard STOP keywords on supported long-code/toll-free messaging, but you should confirm your own sender configuration. - Add provider webhook signature validation or another authentication layer before exposing this publicly. - The built-in duplicate guard is designed for a simple reusable template. For high-volume or multi-worker deployments, replace it with a persistent Data Table, database, or Redis-backed idempotency check.

The steps

  1. Receive Call Event
  2. Normalize Call Event
  3. Is This a Valid Missed Call?
  4. Stop — Not a Missed Call
  5. Check Business Hours
  6. Build Missed-Call Text
  7. Send SMS via Twilio
  8. Did Twilio Accept the SMS?
  9. Email Business Alert
  10. Deduplicate Call Event
  11. Is This a New Call Event?
  12. Stop — Duplicate Event

Similar automations