SMS/MMS: Send messages
UpdatedLearn how to send SMS and MMS messages using Customer.io.
Add SMS/MMS messages to your workflow
Before you can send messages, you need to set up your Twilio account and enable SMS in your workspace.
Drag SMS into your workflow.
Give your message a Name that makes sense to you. Your audience won’t see this name.
Click Add Content to write up your message.
In the From field, select the sender ID you want to send your message from.
Want to send from different numbers based on attributes or other criteria?
You can use liquidA syntax that supports variables, letting you personalize messages for your audience. For example, if you want to reference a person’s first name, you might use the variable
{{customer.first_name}}
. to send from different numbers based on attributes or other criteria. Learn more.In the To field, use liquid to set the customer’s phone number attribute—like
{{customer.phone}}
if you store your audience’s phone number in thephone
attribute.(Optional) If you want to send an MMS message, enter a URL of your image (PNG, JPEG, JPG, or GIF) in the Image field. Remember, your image must be smaller than 1.5MB. This increases the character limit of your message to 1600 characters.
Enter the body of your message. If you add links to your message and you want to track them, you’ll need to use a liquid tag. Learn more.
Short links in your preview are for example only
In your message preview, you’ll see links that end in
abc123
. We don’t generate the shortened URL until send time. We show example links to help you see your links in context and check your character count.


Tracking links in messages
By default, we don’t track links in SMS messages. This is to protect you from sending links that take up too many characters in your message if you don’t use our link shortening feature.
To track links in SMS messages, you’ll use a liquid tag in the body of your message. Before you track links, make sure that link shortening is enabled in your Customer.io settings. We’ll automatically shorten links for you, so your links don’t take up too many characters and are more visually appealing to your audience.
{% cio_link url:"http://example.com" %}
Require logins if your links include personal information!
Shortened links for your workspace expire after 90 days, and we’ll reuse link paths in new messages. If you link out to personal or sensitive information, you should require that people log in so that you don’t risk exposing sensitive information to people who click your links.
Send a test message
To make sure your SMS works, you can send a test message clicking Send test… in the top right-hand corner of the composer. You’ll see a modal, into which you can enter a phone number to which you can send your message.


Using liquid to select your sender
You may want to dynamically select between multiple Sender IDs at the time each message is sent. Liquid code can be added as a Manual Sender ID to accomplish this. For example, if you wanted to send from a different phone number depending on which Customer Success Manager is assigned to the customer, you could insert a code block such as:
{% if customer.CSM == "stephen" %}
+1647STEPHEN
{% else if customer.CSM == "zack" %}
+1800GOTZACK
{% else %}
+1800CUSTOMR
{% endif %}
Or if you set the phone number as a variable, you could simply use that variable in the From field.
{{customer.csm_phone}}