Loading…

SMS/MMS: Send messages

Updated

Learn 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.

  1. Drag SMS into your workflow.

  2. Give your message a Name that makes sense to you. Your audience won’t see this name.

  3. Click Add Content to write up your message.

    image.png
    image.png
  4. 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?

  5. 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 the phone attribute.

  6. (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.

  7. 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.

Send an SMS or MMS message
Send an SMS or MMS message

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.

image.png
image.png

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}}
Copied to clipboard!
  Contents
Is this page helpful?