Skip to content

Twilio SMS ​

The Twilio (SMS) card on Insight, then Integrations connects your own Twilio account and number. With it connected, the SMS versions of your templates go out alongside the emails, and SMS broadcasts send from the same number.

Plan requirement

SMS is included on the Starter, Premium and Enterprise plans. On Free, SMS templates record a failed send naming the plan that includes it.

The Connected accounts page with the Twilio card showing the Account SID, Auth token and From number fieldsThe Twilio card, second on the Integrations page.

Connecting ​

  1. In the Twilio console, copy the Account SID and Auth token from the dashboard, and note the number you bought.
  2. On the Twilio card, fill in Account SID, Auth token and From number (E.164). E.164 means a plus sign and the country code, for example +61412345678. A local format such as 0412 345 678 is refused by Twilio.
  3. Click Save, then Test connection. The pill changes to Connected.
  4. In the Twilio console, open your number and set the inbound messaging webhook to https://printersfriend.com/webhooks/twilio/inbound. Your workspace is identified by the receiving number, and the request is verified against your own auth token.

Which Messages Go by SMS ​

Each of these has an SMS template under Insight, then Email & SMS templates, with the body you can edit:

TemplateWhen it sends
Artwork approval SMSA proof is sent for approval, with the signed approval link
Print queue SMSThe order enters the print queue after approval
Dispatch SMSThe order is dispatched, with
Kiosk order confirmation SMSA walk-in order is placed on the kiosk

SMS broadcasts from Insight, then Email broadcasts also go through this card.

An SMS leaves only when all four hold: the contact has a phone number, Twilio is connected, your plan includes SMS, and the contact has not replied STOP. When any of them fails, the dispatch is recorded as failed with the reason on the order's activity timeline, and the email still goes out. The kiosk confirmation screen changes its wording when no text will be sent.

The Email and SMS templates list showing each template with its channelEmail and SMS templates. Each SMS template sends only when the four conditions above hold.

Every SMS that Twilio accepts counts towards SMS sent on the Billing page.

STOP and START ​

Keyword texted to your numberEffect
STOP, STOPALL, UNSUBSCRIBE, CANCEL, END, QUITEvery contact with that phone number is opted out. No further SMS, transactional or marketing, is sent to it
START, UNSTOP, YESThe contacts are opted back in

Twilio sends its own carrier-mandated confirmation for the default keywords, so the customer gets a reply without you sending one. An inbound message from a number that is not one of your Twilio numbers, or with a bad signature, is rejected with no side effects.

Keep texts short

A long SMS is billed by Twilio as several segments, and the dispatch SMS is usually your highest-volume message. Leave URLs out unless the customer needs them now; the approval SMS needs its link, the print queue SMS does not.

Testing ​

Make sure your own team record under Settings, then Team carries your mobile number, then open an SMS template under Email & SMS templates and click Send test. The text arrives at that number through your Twilio account, or the notification tells you why it did not (no mobile number on your record, Twilio not connected, or the plan).

Troubleshooting ​

SymptomCheck
No SMS at allThe plan includes SMS, the Twilio card is Connected, and the SMS template is active
Sends fail for some numbersNumber format. Contacts need a country code
A customer stopped receiving textsThey may have texted STOP, which opts out every contact with that number. Texting START from the same number opts them back in
STOP is not being honouredThe number's inbound webhook in Twilio is not pointed at the endpoint above
Twilio rejects every sendThe From number is not a number on that Twilio account, or is not in E.164

Printer's Friend - software for apparel print shops