How to Set Up Shipment Sms Notifications and Test Delivery
To set up shipment SMS notifications, connect a reliable shipment-status feed to an SMS provider, choose which events should trigger a text, collect and record the recipient’s permission, and test the entire path from a real status update to the recipient’s phone. A successful send request is not proof of delivery: check the provider’s message status, inspect failures, and confirm what the recipient actually received.

This guide is for merchants and operations teams sending updates to customers. If you are a shopper trying to turn on texts for your own parcel, check the retailer’s order preferences or the carrier’s notification options; you generally cannot activate a merchant’s SMS workflow from a tracking number alone.
Decide what the notification should do
Start with a small set of shipment events that warrant a text. Dispatch, out for delivery, delivery exception, and delivered are common candidates. Do not send a message for every tracking scan: intermediate facility updates can arrive close together, may be difficult for customers to interpret, and can create avoidable message volume.
For each event, define both the trigger and the customer-facing meaning. An “out for delivery” text should be tied to the status you actually receive, not to an estimated date or an assumption that the parcel is already on a vehicle. A “delivered” text should not promise that the package was handed directly to the recipient unless your source confirms that detail. Keep the distinction between a carrier-reported status and your own interpretation visible in both the workflow and the wording.
Choose one owner for each part of the process: the store or order system supplies the customer and order details; the tracking source supplies shipment updates; your notification workflow decides whether an update qualifies; and the SMS provider submits the message and reports its status. This division makes failures easier to find than a single, opaque “notifications on” switch.
Prepare the data and permission you need
Before configuring a trigger, confirm that the order record has a usable mobile number, the appropriate country code, a shipment identifier, and a way to associate tracking updates with the correct order. Store numbers in a consistent international format where your systems support it. Do not silently substitute a billing or historical phone number if you cannot establish that it belongs to the intended recipient for this shipment.
Collect permission at a point where the customer can understand what they are agreeing to. State that the number will be used for shipment text updates, identify the sender, and provide an applicable way to stop messages. Preserve the consent record and its context. Requirements for consent, sender identification, opt-out handling, and message registration vary by destination and sending route, so review the rules that apply to your customers before launch. Do not assume that calling a text “transactional” removes every applicable requirement.
Limit the information in each message. A useful text can identify the shipment in a recognizable but restrained way, state the reported event, and link to a trusted tracking page. Avoid including an address, full order contents, or other sensitive details that the recipient does not need in a lock-screen notification. If you use links, keep the sending domain consistent with the experience customers expect.
Set up the event-to-SMS workflow
- Connect a status source. Use the carrier integration, tracking service, or order platform that supplies updates for the shipments you actually send. Verify that its status data includes a shipment identifier and enough event detail to select the trigger you want. An API or webhook can deliver tracking data to your system, but tracking data alone does not send a text.
- Map raw statuses to customer-facing events. Carrier descriptions may differ. Define which incoming statuses qualify as dispatched, out for delivery, exception, or delivered. If a status is ambiguous, leave it out until you can confirm its meaning.
- Add eligibility checks. Require a valid shipment-to-order match, a usable phone number, permission to send, and a supported destination. Decide what should happen when one check fails: skip the message, record the reason, and route important exceptions to staff rather than sending to an uncertain number.
- Write short templates. Include the event, a recognizable sender, and a clear next step where one exists. For an exception, direct the customer to a tracking page or support channel rather than guessing at the cause or promising a resolution time.
- Configure sending and status reporting. Connect an SMS provider and retain a message identifier for each send request. Where the provider offers status callbacks, receive and store them against the shipment, recipient, event, and template version. Protect any callback endpoint using the provider’s documented verification method.
- Prevent repeat sends. Use a stable combination such as shipment, normalized event, and notification type to identify a message that has already been attempted. Decide explicitly whether a corrected status or a new exception merits another text. A webhook retry should not produce a duplicate customer notification.
If you use 17TRACK’s Tracking API as a tracking-data source, consult its developer documentation for the integration details relevant to your implementation. Treat the tracking connection and the SMS-sending connection as separate parts of the workflow; verify the capabilities and configuration of each before building around them.
Test the full delivery path
A preview of a message template is not an end-to-end test. Use an authorized test number you can access, a test order or controlled shipment record, and a status change that will pass through the same path as a production update. If your platform has a sandbox, first establish what it simulates. A simulated successful send may not establish that a real handset can receive your production messages.
Run the test in stages:
- Check the trigger. Record the incoming event, its timestamp, shipment identifier, and mapped notification type. Confirm that the intended event triggered exactly once and that unrelated scans did not.
- Check the recipient selection. Confirm that the workflow selected the authorized number from the correct order and that its country code and formatting are correct.
- Check the rendered message. Inspect the final text, not just the template. Verify that substitutions, tracking links, sender identification, and any required opt-out information appear as intended.
- Check provider acceptance. Record the provider’s message identifier and immediate response. Acceptance means the provider received the request; it does not, by itself, mean the handset received the SMS.
- Check subsequent status and the phone. Review any available status callbacks or message logs, then inspect the recipient device. Confirm that the text arrived, is legible, links to the correct shipment, and does not expose another customer’s information.
- Test failure and repetition. Try a missing number, a number without recorded permission, an unsupported or malformed destination, a repeated event, and a failed callback. Confirm that the system records each outcome and does not send an unintended text.
Keep the meanings of “sent,” “delivered,” and “read” separate. Provider status terminology and the visibility available for a particular route can vary. A delivery status may indicate that a downstream network or handset delivery was reported; it is not evidence that the customer opened or understood the message. If the provider cannot supply a definitive delivery result for a test, record that limit rather than labeling the notification successful solely because the API request returned without an error.
Diagnose a missing or incorrect text
When no text appears, work forward through the chain. First ask whether the tracking update arrived. If it did, check the status mapping and eligibility rules. Then check whether your workflow attempted a send and whether the SMS provider returned a message identifier or an error. Finally, inspect later status updates and the test device. This sequence distinguishes a tracking problem from a template rule, recipient-data problem, provider rejection, or downstream delivery issue.
If the text arrives late, compare the tracking event time, the time your workflow received it, the send-request time, and the provider’s later status timestamps. These are different measurements. A delay between carrier scan and tracking update cannot be fixed by changing an SMS template; a delay after the send request requires investigation in a different part of the system.
If customers receive duplicate texts, check for repeated tracking events, webhook retries, status remapping, and multiple active notification tools. If a text contains the wrong order or link, pause the affected trigger until the shipment-to-order association and template variables are corrected. Sending fewer messages is preferable to sending inaccurate shipment information.
Launch with a narrow, measurable scope
Start with one shipment event and a small group of test orders before enabling every template. Assign someone to review skipped sends, provider errors, opt-outs, and customer reports. For each notification, retain enough information to explain what happened: the source event, eligibility result, template version, send attempt, provider message identifier, and any later status. Handle phone numbers and message logs according to your organization’s privacy and retention requirements.
Judge the launch by the outcome you can verify. If test recipients receive accurate, timely messages for the intended event, and the workflow safely suppresses ineligible or repeated sends, expand to another event. If the only confirmed result is that an API accepted a request, the delivery test is not complete.
FAQ
Can I enable shipment texts using only a tracking number?
Usually not for a merchant-run notification system. The sender also needs a way to associate the shipment with an eligible recipient and a configured SMS workflow. As a recipient, look for notification settings offered by the retailer or carrier handling your shipment.
Why does my dashboard say “sent” when I received nothing?
“Sent” may describe a stage in the provider’s process rather than delivery to your phone. Inspect the provider’s status definition, later status updates, the recipient number, and any error details. Test on a real authorized device when possible.
Should I send a text for every tracking update?
Usually no. Choose events that change what the customer knows or needs to do, and suppress repeat notifications for the same shipment and event. A high volume of low-value scans makes useful updates harder to notice.
What should an exception notification say?
State that the shipment has an updated delivery status, identify the shipment without exposing unnecessary personal information, and provide a trustworthy place to check details or contact support. Do not invent a cause or a new delivery date.
Does a delivered shipment status mean my SMS was delivered?
No. The shipment status describes the parcel; an SMS delivery status describes the message. Check them independently. Neither status alone proves that the customer read the notification.
Sources
- Twilio: Message Resource documentation. Reference for message records and provider-reported message statuses.
- Twilio: Opt-in and opt-out guidance. Reference for permission and opt-out considerations; check the requirements applicable to your sending route and destination.
- 17TRACK: Tracking API documentation. Reference point for evaluating a tracking-data integration separately from SMS delivery.


