E ShopifySMS Marketing Apps
← All use cases

Shopify segmentation

Build Shopify SMS segments that stay relevant

A segment answers who matches a rule. A send decision also needs a known recipient, current permission, fresh data, and a reason this message should take priority. Define those decisions before turning an audience into a campaign.

Start with an audience contract

This page covers behavioral, product, order, and customer-state audiences and how to keep them correct as records change. Use the segment-by-value guide for spend, margin, and value-tier decisions. A high-value label alone does not tell you which product someone wants or whether a text is appropriate.

Shopify describes native customer segments as dynamic lists whose members enter or leave as they meet the criteria. Treat a downstream export or scheduled message as a separate object: establish how your sender refreshes it and what happens when someone leaves the source segment.

  • Name the message purpose, audience owner, rule version, and source systems.
  • Specify the entity being evaluated: customer, order, product variant, subscription, or business account.
  • Define inclusion, exclusion, unknown-data handling, event window, and permitted data age.
  • Record the evaluation time, recipient key, membership reason, and delivery decision separately.

Choose windows and freshness limits from the purchase cycle and the cost of an incorrect send. There is no universal order count, browse window, or refresh schedule that makes every catalog relevant.

Resolve identity without inventing household intent

Use stable source customer IDs and an explicit mapping to the current messaging profile. A shared phone number, address, or device is not enough evidence to merge people. Keep payer, gift recipient, household member, and account buyer distinct. An order placed for another person should not silently become that recipient's product preference or marketing permission.

For business accounts, decide who has authority for the proposed action: an account administrator, purchasing contact, or individual user. Account spend can inform an account rule without giving every employee access to an offer or permission to receive SMS. Check destination ownership and permission at the individual contact level; route unresolved authority to an exception queue.

When profiles merge or a destination changes, preserve suppression history and reassess queued messages. Deduplicate delivery at the destination as well as the intended recipient, while retaining separate source identities. If ownership is ambiguous, hold personalized sends until resolved; do not expose one person's shopping history to another.

Give every window an explicit meaning

Audience signalDefine before useCommon ambiguity to resolve
BehaviorQualifying event, event time, lookback, timezone, and tracking coverageA page view may be anonymous or shared-device activity; missing tracking is not disinterest.
OrdersPaid versus placed orders, unique order IDs, cancellations, returns, and observation periodA retry or split fulfillment must not become a second purchase.
ProductsVariant versus product versus collection, historical mapping, and current availabilityA changed collection should not rewrite the meaning of an old purchase without an explicit rule.
Customer stateDeclared preferences, subscription status, customer tenure, and source authorityA stale tag can conflict with a newer preference or active subscription.

Use event occurrence time for the intended behavioral window and retain ingestion time to detect lag. State whether boundaries include the start and exclude the end, which timezone defines calendar dates, and how daylight-saving changes are handled. A rolling duration and a calendar month can produce different memberships.

Separate “ever purchased this category” from “recently purchased an unreturned item in this category.” Define whether partial returns affect item affinity, order count, or both. For replenishment, distinguish delivered quantities from orders placed; see replenishment for the timing decision.

Unknown, missing, and sparse data need their own branch

A blank preference is unknown, not a negative answer. A customer with no observed orders may be new, imported without history, or disconnected from older orders. Store the coverage start and source health alongside the rule so these cases do not all become “never purchased.”

For sparse histories, prefer an explicitly declared preference or a broadly relevant message over a confident prediction from one event. If neither supports the message, exclude the profile from that campaign. Offer an appropriate preference update opportunity through a permitted channel rather than inferring sensitive characteristics or asking an unpermitted contact to opt in by promotional text.

Track unknowns as a separate count. A sudden fall in segment size can reflect an ingestion failure, not a change in customer interest. Pause campaigns dependent on an unhealthy feed, investigate the affected window, and avoid broadening eligibility merely to restore yesterday's audience size.

Membership is separate from permission to send

A matching product rule, loyalty tag, or purchase history does not establish SMS permission. Keep current channel and purpose permissions, opt-out evidence, destination validity, and applicable sending restrictions outside the merchandising rule. Recheck them at dispatch, including when a job has waited since audience selection.

Do not copy email permission into SMS, or assume an SMS withdrawal has exactly the same scope as an email withdrawal. Preserve the scope of the request and apply broader suppression where the request or applicable requirements call for it. Uncertain permission should hold the send. The consent guide and quiet-hours guide support this operational review; audience logic does not establish legal compliance.

Keep permission suppressions, service exclusions, experiment holdouts, and campaign-specific exclusions distinguishable in reporting. All can prevent delivery, but they have different owners and recovery paths. A segment refresh must never re-enable a withdrawn permission.

Refresh rules, retire stale jobs, and arbitrate overlap

Version the predicate, source mappings, and exclusions together. Save the evaluated audience with its rule version and data watermark. Before activation, compare additions, removals, unknowns, and sampled membership reasons with the prior version. An unexplained change should block release until the owner resolves it.

Retire the previous version's queued jobs when a new definition replaces it. Rebuild only messages that still have a valid purpose and fresh eligibility; do not let an old export keep sending beside a new live segment. At dispatch, reject an obsolete version, expired offer, stale source watermark, or lost permission. Preserve a reason code for each retirement.

Segment membership can overlap even when delivery should not. Assign campaign priority and a shared contact budget across senders. Decide which relevant message wins, suppress the others, and give deferred jobs an expiry. For example, a store could prioritize an active cart recovery over a category promotion; that is a proposed policy to evaluate, not a rule for every store.

Define exits for purchase, cancellation, support escalation, preference change, and subscription change according to the message purpose. A purchase should end a cart reminder for that cart, while an unrelated purchase need not erase a genuine restock request. Recheck email–SMS coordination when multiple tools share the recipient.

Refunds, late events, and recovery

Deduplicate source events by a stable identifier, retain their event times, and apply corrections to the affected customer and order. A refund or reversal can remove a qualifying purchase, but should not automatically enroll the customer in a new discount or winback flow. Reassess support context and the current message purpose first.

If a late purchase arrives after a cart audience was built, remove the corresponding pending reminder. If the message already left, record the race and investigate dispatch freshness; do not replay the reminder after correction. A delayed browse event outside the active window should not create fresh intent merely because it arrived today.

During an outage, pause affected campaigns and preserve job IDs, rule versions, watermarks, and delivery acknowledgments. After restoring the feed, reconcile events and current permissions, expire obsolete jobs, then release a reviewed batch. Retry only delivery attempts whose outcome can be resolved safely; an ambiguous acknowledgment requires reconciliation before another send. Record who approved recovery and why each retained job remains relevant.

Hypothetical scenarios: proposed acceptance fixtures

These are proposed checks for a store's implementation, not merchant results or promises about an app. Adapt the inputs and expected decisions to the written audience contract.

  1. Shared destination: Two customers share a phone number and only one viewed a product. Expect no profile merge or disclosure of that browsing history to the other customer; unresolved ownership holds the personalized send.
  2. Account authority: A business account qualifies by order history, but its nominated contact no longer has purchasing authority. Expect the account match to remain auditable while the contact-specific offer is withheld pending resolution.
  3. Window boundary: A qualifying event falls exactly on the excluded end of a defined interval. Expect exclusion from that interval; a duplicate event must not change the decision.
  4. Unknown preference: An imported profile has no category history and incomplete historical coverage. Expect an unknown reason, not membership in “never bought this category.”
  5. Permission withdrawn: A recipient qualifies during selection, then withdraws SMS permission. Expect the queued SMS to be suppressed at dispatch, even if the merchandising segment still contains the customer.
  6. Rule replacement: A new rule removes a product collection. Expect old-version jobs to retire and newly evaluated jobs to carry the new version; neither path bypasses permission or contact budgets.
  7. Overlap and exit: A customer qualifies for a category promotion and a cart reminder, then buys the cart. Expect the cart reminder to exit and the promotion to receive its own fresh relevance and arbitration decision.
  8. Correction and recovery: A refunded item and a late purchase arrive after a feed outage. Expect corrected membership, canceled obsolete reminders, preserved holdout assignment, and no duplicate send from an ambiguous retry.

Measure the targeting policy, not just the matching list

Report evaluated profiles, matching profiles, unknowns, permission-eligible recipients, exclusions by reason, assigned treatment, actual sends, deliveries, and outcomes separately. Track membership churn, source lag, duplicate destinations, and jobs retired for stale data. A smaller delivered audience can reflect better suppression rather than weaker demand.

Randomize a holdout among eligible recipients before sending. Keep assignment stable for the experiment and prevent overlapping campaigns from contaminating the comparison. If household spillover or business-account buying affects outcomes, consider assignment at that unit and analyze uncertainty accordingly. Do not move nonresponders between groups or count only delivered recipients when estimating the effect of assignment.

For a hypothetical equal-size test, 60 purchasers among 1,000 treatment recipients is 6%; 50 among 1,000 holdout recipients is 5%. The difference is 1 percentage point, equivalent to 10 additional purchasers per 1,000 assigned recipients in this example. It is not proof of lift: sampling uncertainty, spillover, returns, and the preselected outcome window still matter.

Compare contribution after product costs, discounts, fulfillment costs, returns, messaging, and other incremental operating costs over the same window. Do not subtract discounts twice if revenue is already net of them. Include opt-outs, complaints, and support effects, and distinguish campaign attribution from experimental incrementality. Predefine the outcome window and stopping criteria; sparse data may warrant an inconclusive decision rather than a narrower “winning” segment.

Choose an architecture that can enforce the contract

A single audience and sending platform can fit when it exposes the required events, permissions, exclusions, and dispatch checks to the team that owns them. A separate audience service and SMS sender can fit when shared identity and cross-channel arbitration need a central owner. The latter also needs explicit sync monitoring and a way to retire downstream jobs.

Evaluate candidates in the app directory using your fixtures: ask for membership reasons, null semantics, event-lag visibility, rule version history, export timing, suppression behavior, and job cancellation controls. Verify the actual integration and plan before relying on a capability. A segment builder's feature list alone cannot establish that a disconnected sender will honor an exit.

Before release, assign an owner for exceptions and recovery, confirm a fresh source watermark, inspect inclusions and exclusions, reconcile queued versions, and ensure experiment assignment survives refreshes. Apply these decisions to browse abandonment, back-in-stock, or winback according to the specific message purpose.