Skip to content

Send SMS

Send SMS sends a short text to a phone number while the workflow runs. Use it where an email gets lost or arrives too late: a reminder before a course, a signing link for someone who is out of the office, a heads-up to the partner on call.

Available when: the organization has an active SMS integration

Without one, the node is greyed out in the Notifications group of the palette, with the reason beside it. You connect a provider, Twilio or SMSAPI, under Integrations. Messages go through your own account there, so your provider bills you for them. They don’t count towards a Doxtly plan limit.

Send SMS greyed out in the palette with the tooltip about a missing SMS integration
  1. Drag Send SMS onto the canvas and connect it.

  2. Check the SMS integration. Your default one is already selected.

  3. Fill in Recipient phone number, usually with {x} (Insert a variable) and the form’s phone field.

  4. Write the Message.

Properties panel of a Send SMS step with an integration, a phone variable and a message using a variable
Setting Values and default What it does
SMS integration Required. Your active SMS integrations. The default one, or your only one, is selected for you. Which account sends the message. The choice stays in the step, so a new default later doesn’t change it.
Recipient phone number Required. A number, a variable, or both. Who gets it. On the canvas the node shows this value, which tells two message nodes apart.
Message Write it here or Use a template. Written here by default. Where the text comes from.
Message (the text box) Required when written here. Text and variables. What it says.
Message template Required with a template. Your SMS and WhatsApp templates for no occasion. The text, in each of its languages.
Language With a template. The organization’s, a chosen one or a variable, with a fallback. Which version of the template goes out.

Write numbers in international format, such as +48600100200. Doxtly is forgiving about how a number is typed, and these all work:

  • +48 600 100 200
  • (+48) 600-100-200
  • 0048600100200, where the leading 00 becomes +

Spaces, brackets, dots and hyphens are dropped. What’s left must be an optional + and 7 to 15 digits, the first of them not a zero. So a local number like 0600100200 isn’t accepted. Doxtly can’t guess the country, so add a hint to your form or build the prefix into the field: +48{{ phone }}.

A number written out in full is checked as you type and when you save. A number from a variable is known only on the run, and is checked there.

Recipient phone number field showing the error Invalid phone number

A message longer than 160 characters, or 70 when it contains letters such as ą or ę, is sent and billed as several SMS messages. Keep it short and check the length with real data, since a long client name can push it over.

A variable that gives nothing, an optional field left empty or one the run doesn’t have, leaves a gap in the text, and the message still goes. Give it a stand-in where a gap would read badly: Hello {{ first_name ?? "there" }}. Variables can carry operations and functions, such as {{ client_name | upper }}: click one and then Operations.

Nothing they can use: the step adds no variables and no files.

On the run’s page the step shows the number the message went to, the integration it went through and, for a message from a template, the language it went in. A message from a template is also listed on the Sent tab of text message templates, with SMS chosen under Channel. A message written in the step is recorded only on the run’s page, without its text.

Executed Send SMS step with the integration name and the recipient's number

“Sent” here means your provider accepted the message. Whether it reached the phone is for your provider’s own reports to say.

A workflow goes on only if the message went out, because what follows may rely on it. A failed step stops the run, and people who may view workflows get a Workflow failed notification.

What you see Why What to do
Could not work out the recipient phone number from "..." A variable in the number is missing or empty Make the field required, or put a Condition before this step
"..." is not a valid phone number. The value doesn’t fit the format above Fix the data, or add the country prefix
The message is empty, so there was nothing to send. The whole text came out empty Add some fixed text
The SMS message could not be sent. Your provider refused it Check the integration, your balance there, and the number
Integration "..." is not active. or was not found. The chosen integration was switched off or removed Pick another one
Choose which "SMS" integration this step uses. The field is empty, and you have several integrations and no default Pick one, or set a default
No active "SMS" integration is configured. The field is empty and no provider is active Connect one, or switch one back on

Doxtly doesn’t retry by itself. Rerun on the run’s page starts a new run with the same trigger data, from the beginning of the saved workflow, so steps before this one happen again.

When someone registers for one of Northbridge Advisory’s courses, they get a text straight away, so they know the form went through.

Setting Value
SMS integration Client reminders (Twilio)
Recipient phone number {{ phone }}
Message Hi {{ first_name }}, your place on {{ course_name }} is confirmed. Details follow by email. Northbridge Advisory

Make the phone field required on the form, so that every run has a number. With an ordinary name and course title the message stays under 160 characters. A Polish name with a letter such as ł lowers the limit to 70, and the same text then goes as several SMS messages.

Another common use is after Create documents, with a message such as Your agreement is ready to sign: {{ _recipients.CLIENT.signingUrl }} sent to {{ _recipients.CLIENT.phone }}.

Sending the same news by WhatsApp? Send WhatsApp message has the same settings.