Transactional SMS is a text a customer needs because of something they did, usually an order: order confirmation, shipped, out for delivery, delivered, delivery problem, failed payment. Transactional texts inform and never sell. That difference matters, because consent rules for transactional SMS are generally lighter than for marketing SMS, and a discount code inside a shipping text can turn it into marketing.
Updated December 2026. This is not legal advice. Rules differ by country and change, so check them for every market you send to. Our SMS compliance guide covers marketing SMS rules in the US and Europe in more depth.
Transactional vs marketing SMS
| Transactional SMS | Marketing SMS | |
|---|---|---|
| Triggered by | The customer's own action (order, payment, account) | Your decision to promote something |
| Content | Information the customer needs | Products, sales, launches, content |
| Consent (US, simplified) | Generally prior express consent, often given when the customer provides a number for the order | Prior express written consent, with clear disclosure |
| Consent (UK, simplified) | Service messages fall outside the marketing consent rules, as long as they contain no marketing | Consent, or the soft opt-in for existing customers under PECR conditions |
| Opt-out | Offer a way to stop, and honour it | STOP must work on every message |
| Quiet hours | Less critical, but respect them where you can | Strict, check federal and state rules in the US |
In the US, texts sent with automated systems fall under the TCPA, and carriers apply their own rules through the CTIA guidelines and the 10DLC registration of business numbers. Register your use cases honestly: a campaign registered as account notifications should not carry promotions.
The texts an ecommerce store sends
| Moment | Send it? | Note |
|---|---|---|
| Order confirmation | Optional | Email usually covers it. A text helps for high-value or time-sensitive orders |
| Shipped, with tracking | Yes | The text customers value most |
| Out for delivery | Yes, for parcels that need a signature or someone at home | Cuts missed deliveries |
| Delivered | Optional | Useful against porch theft and "where is my order" tickets |
| Delivery problem or delay | Yes | Tell them before they ask |
| Failed payment on a subscription | Yes | Faster than email for fixing a card |
| Ready for pickup | Yes | For click and collect |
Example copy
Our examples for a made-up candle brand, "Glowhaven". Not real messages.
Why they work: brand name first, the order number, one fact, one link. No emoji, no offer, no "while you're here, check out our new scents".
Where transactional texts turn into marketing
- A discount code for the next order inside the shipping text.
- Product recommendations under the tracking link.
- A review request with an incentive. A plain review request after delivery sits in a grey area; treat it as marketing to be safe.
- "Join our VIP list" calls to action.
If you want to cross-sell after delivery, do it by email, or by SMS only to customers who opted in to marketing texts. The post-purchase email flow is the right home for that; see our shipping confirmation email guide.
Collecting the number at checkout
Keep two separate things separate. A phone number field "for delivery updates" collects the number for transactional texts. A distinct, unticked checkbox with clear wording collects marketing SMS consent. Store both consents separately on the profile, so your platform knows who may receive what.
Marketing checkbox, unticked: Text me offers and new scents from Glowhaven. Up to 4 messages a month. Msg and data rates may apply. Reply STOP to cancel.
Where to send them from
Shipping texts can come from your store platform, a shipping or tracking app, or your email and SMS platform. Pick one source per message type, or customers get the same "shipped" text twice. If you run marketing SMS in Klaviyo, check whether Klaviyo's transactional SMS option fits your use case: it covers certain message types and may need to be enabled for your account, so read its current documentation. Our Klaviyo SMS setup guide covers the marketing side, and the Klaviyo and AfterShip guide shows how tracking events can feed messages.
Mistakes with transactional SMS
- Two systems sending the same update. Turn off duplicates in the shipping app or the store.
- No brand name in the text. Unknown numbers with links look like scams.
- Using the transactional number for promotions because it is already there.
- Texting every tracking scan. Shipped, out for delivery and problems are enough.
- Ignoring replies. Customers answer shipping texts. Route replies to support.
Questions we get a lot
What is transactional SMS?
Transactional SMS is a text message that a customer needs because of something they did, like placing an order: order confirmations, shipping and delivery updates, delivery problems, pickup notices, payment failures and account security codes. It informs and does not try to sell.
Do I need consent to send transactional SMS?
You need a lawful basis and the customer's phone number given for that purpose, and rules differ by country. In the US, informational texts generally need the customer's prior express consent, while marketing texts need prior express written consent, which is stricter. Check the rules for each market you send to and get legal advice for your setup.
Can I add a discount code to a shipping text?
It is risky. Once a text promotes products or offers, it is generally treated as marketing, which needs marketing consent. Keep transactional texts purely informational and send offers only to people who opted in to marketing SMS.
What is the difference between transactional and marketing SMS?
Transactional SMS is triggered by a customer's own action and gives information they need, like a tracking link. Marketing SMS promotes products, sales or content and is sent to subscribers who opted in to receive it. They differ in consent, content rules and, often, in how your SMS platform treats them.
Can I send transactional SMS through Klaviyo?
Klaviyo supports transactional SMS for certain message types, and it may need to be enabled or approved for your account. The criteria and the setup change, so check Klaviyo's current help documentation before you build shipping texts there.