> ## Documentation Index
> Fetch the complete documentation index at: https://docsy3.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# SMS Channel

## Overview

The **SMS** channel sends a plain text message to a phone number captured on the triggering task. It is one of the channels available for the **Notification** automation type, alongside [WhatsApp](/pages/automation/automation-type/notification) and [Email](/pages/automation/automation-type/notification-email). Unlike WhatsApp, SMS doesn't need a third-party API key, the platform sends it for you.

SMS is available for the same events as the Notification automation type: **On Task Created**, **On Task Assigned**, and **On Task Finished**.

<div align="center">
  <img src="https://mintcdn.com/mile-app/zU7ITx5EHKU-BmIW/images/automation/automation-type/notification-sms-channel-dropdown.png?fit=max&auto=format&n=zU7ITx5EHKU-BmIW&q=85&s=83cb9f2a756c2f6fe0dc6a6ea71376da" alt="Notification Channel dropdown listing WhatsApp, Email and SMS" width="600" data-path="images/automation/automation-type/notification-sms-channel-dropdown.png" />
</div>

<p><em>The Notification Channel dropdown, with SMS listed alongside WhatsApp and Email.</em></p>

## Setting Up an SMS Notification

1. Open Automation and click **New**.
2. Give the automation a **Name**, choose an **Event** (On Task Created, On Task Assigned, or On Task Finished), and select the **Flow** the tasks come from.
3. Set **Automation Type** to **Notification**.
4. Set **Notification Channel** to **SMS**. The WhatsApp hint below the dropdown is replaced by the SMS fields described below.
5. Choose a **Receiver Phone Number** field.
6. Edit the **Message**, then click **Submit**.

<div align="center">
  <img src="https://mintcdn.com/mile-app/zU7ITx5EHKU-BmIW/images/automation/automation-type/notification-sms-form.png?fit=max&auto=format&n=zU7ITx5EHKU-BmIW&q=85&s=b631e474e26710258402151b0befc630" alt="Notification automation with Channel set to SMS, showing Receiver Phone Number and Message" width="600" data-path="images/automation/automation-type/notification-sms-form.png" />
</div>

<p><em>A Notification automation with the Channel set to SMS, showing the Receiver Phone Number field and the Message box.</em></p>

## Receiver Phone Number

The **Receiver Phone Number** dropdown lists the phone number fields available on the Flow you selected in the Event configuration. Only fields that meet both of these conditions appear:

* The field is a **Phone Number** field, and
* The field is on the **first page** of the Flow.

Fields of any other type (Text, Select, Number, Address) never appear, even if they hold something that looks like a phone number. Phone Number fields placed on a second, third, or later page of the Flow don't appear either. If the dropdown looks empty or is missing the field you expected, this is almost always the reason, move the Phone Number field to the Flow's first page and reopen the automation form.

The task's value for that field is used as the destination when the SMS is sent. If the field is empty on a particular task, no SMS is sent for it.

## Message and Placeholders

The **Message** box holds the text of the SMS. Anywhere you write a `{{ }}` placeholder, the platform replaces it with the real value from the triggering task at the moment the message is sent.

| Placeholder | Replaced with |
| - | - |
| `{{ organization name }}` | Your organization's name |
| `{{ tracking link }}` | The task's public tracking link |
| `{{title}}` | The task's title |
| `{{status}}` | The task's current status |
| `{{fieldname}}` | The value of any field on the task, referenced by its name |

Selecting SMS starts you with a short default message, which you can edit freely. If you edit the text and then switch channels, your edited text is never overwritten.

**Example message:**

```
Hi, your delivery from {{ organization name }} is on the way. Track: {{ tracking link }}
```

A few things worth knowing about placeholders:

* **A placeholder that can't be resolved becomes empty text.** If you type a field name that doesn't exist on the task, or the field is blank, the message is still sent, with nothing in that spot. Recipients never see a raw `{{ }}` in their SMS.
* **There is no spell-check on placeholder names.** The automation saves whatever you type, so proofread field names before going live.
* **`{{title}}` only fills in when the Flow has a title.** A Flow field must be marked to show as the task title for `{{title}}` to resolve. If no field is mapped that way, `{{title}}` comes out empty.

## The Character Counter

A counter sits under the Message box showing how many characters you've written out of a **100-character guideline**.

<div align="center">
  <img src="https://mintcdn.com/mile-app/zU7ITx5EHKU-BmIW/images/automation/automation-type/notification-sms-counter.png?fit=max&auto=format&n=zU7ITx5EHKU-BmIW&q=85&s=7c63432ad2a92ddf7d1fc695bd2ee698" alt="Message box with the character counter reading 46 out of 100" width="600" data-path="images/automation/automation-type/notification-sms-counter.png" />
</div>

<p><em>The character counter below the Message box, counting only your own text.</em></p>

**The counter only counts your own text.** Everything inside `{{ }}` is excluded, because the real length of a placeholder isn't known until the message is actually sent. A message reading `Hi {{title}}, your parcel is here` counts only the visible words, not the placeholder.

Hovering the info icon beside the **Message** label shows the same guidance in the form.

<div align="center">
  <img src="https://mintcdn.com/mile-app/zU7ITx5EHKU-BmIW/images/automation/automation-type/notification-sms-message-tooltip.png?fit=max&auto=format&n=zU7ITx5EHKU-BmIW&q=85&s=65fe4fd73a801c5decdd8f02fc0b79c7" alt="Info tooltip beside the Message label explaining the 100-character guideline" width="600" data-path="images/automation/automation-type/notification-sms-message-tooltip.png" />
</div>

<p><em>The info tooltip beside the Message label, explaining the 100-character guideline.</em></p>

### Going Over 100 Characters

If your text exceeds 100 characters the counter turns red, but **this does not stop you from saving**. The 100 characters are guidance, not a limit, and the automation saves and runs normally.

<div align="center">
  <img src="https://mintcdn.com/mile-app/zU7ITx5EHKU-BmIW/images/automation/automation-type/notification-sms-counter-over-limit.png?fit=max&auto=format&n=zU7ITx5EHKU-BmIW&q=85&s=db62625e91665255ff38096f9e8c467f" alt="Character counter in red showing 128 out of 100 with Submit still available" width="600" data-path="images/automation/automation-type/notification-sms-counter-over-limit.png" />
</div>

<p><em>Going over the guideline turns the counter red, the automation can still be saved.</em></p>

The guideline matters because of what happens at send time. The message that actually goes out is cut off at **160 characters**, and placeholders usually expand into far more text than their name suggests, a tracking link alone is around 50 characters. That's why 100 characters of your own text is the safe amount: a message that looks comfortably short in the form can still lose its ending once the placeholders are filled in. Keeping the counter out of the red is the simplest way to make sure your recipients see the whole message, including the tracking link if it comes last.

## Frequently Asked Questions

**Q: Why isn't my phone field in the Receiver Phone Number dropdown?**

A: The dropdown only lists **Phone Number** fields from the **first page** of the Flow. Other field types, and Phone Number fields on later pages, are never listed.

**Q: Do I need an API key or a third-party account?**

A: No. Unlike WhatsApp, SMS is sent by the platform. Connecting your own SMS Gateway under **Setting → Integration** is optional; when one is active, automation SMS messages are routed through it automatically.

**Q: What happens if I mistype a placeholder name?**

A: The automation saves without complaint, and at send time the placeholder simply renders as empty text. The rest of the message is delivered as normal.

**Q: The counter is red. Will my automation still work?**

A: Yes. The counter is guidance only. The automation saves and runs, but the message that reaches the recipient is cut off at 160 characters once placeholders are filled in, so the ending may be lost.

## Related Documentation

* [Notification](/pages/automation/automation-type/notification): the parent automation type, covering the WhatsApp channel
* [Email Channel](/pages/automation/automation-type/notification-email): the Email channel for notification automations
* [Automation Log](/pages/automation/managing-automation/automation-log): viewing send results
* [Automation Events](/pages/automation/automation-event/introduction): events that can trigger a Notification automation
