Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Missed‑call text back in n8n and Twilio: why the Dial action beats the status callback

说明与用途

使用 Twilio 的 <Dial> 动作回调的 n8n 自动化流程,能够在电话转接到手机时仍能可靠地发送未接来电短信。

问题

When a business forwards its Twilio number to a mobile, the call is marked as answered by Twilio, so a missed‑call text automation never triggers.

结果

The workflow reliably sends a missed‑call text even when the call is forwarded to a mobile phone, by using the <Dial> verb’s action callback instead of the status callback.

工作流

  • Create a TwiML Bin that dials the mobile number with timeout="12" and action="https://YOUR‑N8N‑HOST/webhook/missed‑call"
  • Configure an n8n Webhook node at path missed‑call to receive the POST from Twilio
  • Use a Set node to pass user‑editable values (businessName, bookingLink, twilioNumber, etc.)
  • Respond immediately to Twilio with TwiML that says a short message if DialCallStatus is no-answer, busy, or failed, otherwise hang up
  • Add an IF node that checks the AccountSid, DialCallStatus, and From number to filter out answered calls, anonymous numbers, and unauthorized requests
  • Add a second IF node that checks the current hour against openHour and closeHour to decide daytime or after‑hours text
  • Use a Twilio SMS node to send the constructed text to the caller
  • Append a row to Google Sheets with call details

证据

If they don't pick up, the mobile's voicemail answers. From Twilio's point of view the forwarded call was answered, so the status is completed, and the automation never fires.

来源

Twilio decides what counts as "missed," and n8n replies with TwiML in the same request.

来源

Twilio POSTs the action request as application/x-www-form-urlencoded. The fields we care about are DialCallStatus, From, To, CallSid and AccountSid.

来源

  • 记录日期: 2026-10-21T21:26:13.115Z