Tailflow
Skip to article
Browse documentation

Twilio · Action

Send SMS

Sends one text message from your Twilio number or messaging service to the number you give.

When to use it

A text to whoever is on call when a large amount leaves your treasury, or to a customer when their deposit lands.

At a glance

IntegrationTwilio
Credits1
ConnectionTwilio, by pasting a key

Settings

toRequiredAccepts event fields
To. A phone number with its country code, typed or from a step above.
fromRequired
From. One of your Twilio numbers that can send texts, or a messaging service. Picked from your account's own list, or typed.
bodyRequiredAccepts event fields
Message.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.twilio_send_sms_1.sid }} — the action’s key, then which one it is if you use more than one of the same kind.

sid
Twilio's id for the message. Look it up in Twilio to see whether it was delivered.
status
What Twilio said when it took the message, usually queued or accepted. Not whether it arrived.

Good to know

  • Twilio takes the message and sends it afterwards. A completed step means Twilio queued it, not that the phone received it.
  • Your Twilio account is billed for every message. A long message is split into several parts and each part is billed, so keep templated values short.
  • A message can be at most 1,600 characters. A longer one fails the step before anything is sent.
  • Numbers need their country code, such as +14155550100. Spaces and dashes are fine.
  • From is one of your own Twilio numbers or a messaging service. Short codes and sender names are not offered.
  • A trial account can only text numbers verified in Twilio. Any other number fails the step.
  • Somebody who replied STOP to your number gets nothing until they reply START. The step fails for them and the flow keeps running.
  • Some countries need your number registered with Twilio before carriers deliver your texts. Twilio's console says what yours needs.