Replenishment reminders
Offer a refill when the estimate is useful
A purchase date does not tell you when a household will run out. Build a revisable estimate for the purchased variant and quantity, then check whether another reminder still serves the buyer.
Choose replenishable purchases, not a universal schedule
Start with ordinary consumables such as coffee or cleaning refills. Gift purchases, durable goods, mixed bundles and products without a defensible usage estimate can stay out. Delivery is a possible estimate anchor; it is not proof that consumption started. A buyer may stockpile, share a pack, travel or buy elsewhere. Ask whether the reminder is wanted and let the buyer postpone it or stop this product's reminders.
Use language such as “Would a refill be useful?” rather than “You have run out.” This playbook concerns nonmedical shopping convenience. Do not derive dosing, safe consumption, treatment adherence or medical efficacy from order history. A consumption estimate is neither a product-use instruction nor a safety guarantee.
Give each estimate an accountable owner
Keep the store, customer ID, order ID, order-line ID, variant ID, pack size and usable quantity together. Track delivery evidence, returns, replacements, subscription state, the estimate model version, input timestamps, confidence range and next review date. Use an explicit unit conversion for each variant; two bags and two cartons are not interchangeable quantities.
The Shopify LineItem reference distinguishes quantity, which includes refunded and removed units, from currentQuantity, which excludes them. Neither field alone proves what was delivered or consumed. Reconcile fulfillment, refunds and replacements before estimating remaining stock.
A customer profile owns contact permission. A household may own shared consumption only when that relationship is known and appropriate to use. Do not merge people by shipping address alone or treat a gift recipient as an opted-in buyer. For uncertain identity, pause the estimate instead of multiplying reminders across profiles. Preserve separate product episodes while enforcing a shared contact-level message budget.
| Authority | Decision it owns | Uncertainty response |
|---|---|---|
| Order line and variant | Which pack and net usable quantity seeded the episode | Hold unmapped bundles or missing unit conversions |
| Customer or confirmed household | Who can receive a reminder and whose purchases close it | Keep identities separate until resolved |
| Consumption estimate version | Range of plausible refill dates and expiry | Ask for preference or skip low-confidence episodes |
| Subscription and service records | Whether a renewal or unresolved problem takes priority | Pause promotional reminders while state is unknown |
Separate a one-off refill from a subscription renewal
For a one-off purchase, a reminder can offer the same available variant without assuming a discount is needed. For an active subscription, the next shipment and customer changes to it own the timing. Suppress a competing refill promotion for the same need; do not turn a scheduled renewal into a second order by accident.
Paused, skipped, cancelled and payment-failed subscriptions need separate decisions. A cancellation is not permission to restart promotional reminders. A failed renewal may require service handling rather than a sales offer. An optional one-off purchase after a skip needs explicit customer intent and current marketing eligibility. Keep service communications and marketing permission separate.
A repeat purchase closes or revises the matching episode before another send, including purchases through other known channels. An unrelated SKU should not silently reset every estimate. Refunds, cancellations, replacements, delivery disputes and open support cases pause or retire affected jobs. Resolve the issue first; any later episode needs fresh inputs rather than the old countdown.
Retire stale jobs before creating new ones
- Create an episode ID from the customer or confirmed household, product need and seed order line. Store the estimate version and a bounded send window.
- When quantity, pack conversion, delivery date, buyer preference or model logic changes, supersede the estimate. Cancel its queued jobs and create only the newly eligible work.
- At dispatch, reread current episode version, relevant purchases, subscription state, support holds, permission, recipient timing rules and contact-level frequency limits.
- Check the exact variant is purchasable for the buyer's market and destination. If unavailable, expire or defer within the window; do not silently substitute another size or promise a reservation.
- Claim a send key for episode, version, channel and reminder step. Record provider acknowledgement and reconcile ambiguous timeouts before retrying.
Deduplicate source events by stable event identity and reconcile against authoritative records. Arrival order is not business order: an older delivery event must not reopen an episode already closed by a later purchase or refund. Use event occurrence time and state revision checks; retain closure records so replay cannot revive old work.
After an outage, rebuild eligibility from current records. Expire missed windows and superseded estimates rather than sending a backlog of “time to refill” messages. A send with an unknown provider result needs delivery reconciliation, not a blind resend. If state cannot be confirmed, hold the job and record the reason for operator review.
Permission and inventory are last-mile gates
Recheck channel-specific marketing permission and suppression immediately before dispatch. Keep evidence of capture scope, source, time and subsequent changes. A purchase or an email subscription alone does not establish permission for this SMS. Apply the recipient's relevant timing rules and the store's chosen contact caps; no single cadence or quiet-hours range fits every program.
Withdrawals stop applicable marketing work, including queued retries. A product-level “remind me later” preference must not override a channel opt-out. Retain suppression history through migrations and reconcile identity changes before re-enrolling anyone. Confirm the destination link, stock, price and any offer terms when the job runs; an estimate should not manufacture urgency.
Use the consent guide, recipient timing guide and campaign restraint guide to design controls. Review applicable requirements for your destinations; a workflow checklist does not establish legal compliance.
Hypothetical scenarios and proposed acceptance fixtures
These are proposed operating tests, not merchant results or supplier guarantees.
- Quantity change: a coffee buyer receives two equal bags rather than one. Under a hypothetical one-bag-per-20-days assumption, estimated coverage is 40 days. Keep a range around that assumption; a household change invalidates it. The old one-bag job must not survive.
- Partial refund: three refill units were ordered, one was refunded before fulfillment and two arrived. Seed two units, not three; a later replacement triggers reconciliation rather than a duplicate episode.
- Subscription collision: a buyer has a renewal shipment scheduled for the same product need. The one-off SMS stays suppressed. A later skip does not automatically release it.
- Repeat purchase: a matching purchase occurs before dispatch but its event arrives late. The dispatch lookup closes the old episode. Replayed older events cannot reopen it.
- Support exit: a delivery complaint appears after scheduling. Hold the reminder and retries. Closing the ticket alone does not reinstate the stale estimate.
- Version change: pack size mapping is corrected from 250 g to 500 g. Version two supersedes version one; a worker holding version one fails its dispatch check.
- Stock and permission: the variant is unavailable or SMS permission is withdrawn. No send occurs. Restock does not revive an expired episode or bypass the withdrawal.
- Recovery: a provider timeout leaves delivery uncertain during an outage. Reconcile the send key before any retry; expired windows remain retired after recovery.
Measure buyers as well as replenishment episodes
Report seeded, eligible, suppressed, expired and sent episodes separately, with suppression reasons. An episode is a product-need cycle; one buyer can have several. Episode purchase rate can describe timing, but it must not count the same buyer or order repeatedly as incremental success. Report unique eligible buyers, buyers contacted, repeat buyers and contribution per assigned buyer alongside episode metrics.
Assign a randomized holdout at customer level, or at a confirmed household level where shared consumption would contaminate assignment. Keep assignment stable across products and channels. Compare the same observation window, include suppressed assigned buyers in the primary analysis, and track uncertainty. Avoid judging only delivered messages: deliverability and eligibility can select different buyers.
Look beyond the immediate reorder window for displacement. A reminder might pull next month's full-price purchase forward, shift a subscription order into a discounted one-off, or take credit from email. Measure cumulative purchases, units and contribution across channels and a relevant later window. Track opt-outs, complaints, returns and support load as costs and stop signals.
Hypothetical worksheet: 1,000 assigned buyers in each arm produce $4,000 versus $3,500 in merchandise contribution after goods, discounts, fulfillment and refunds. That is $4.00 versus $3.50 per buyer, a $0.50 difference, or $500 across the treatment arm. Subtract $120 of incremental messaging/platform cost and $80 of incremental support cost once: $300 remains. This is illustrative arithmetic, not evidence of lift; sampling uncertainty and later purchase displacement can change the decision.
Evaluate the implementation before choosing a sender
A unified email/SMS setup can fit when one owner can enforce shared episode state and cross-channel exits. Separate senders can fit when a central service owns estimates, suppression and send claims. Either design needs demonstrated variant mapping, version checks, subscription reconciliation and recovery behavior. A replenishment template alone does not prove these controls exist.
Use Postscript, Attentive, Klaviyo, Omnisend and Sequenzy reviews as evaluation starting points. Require the proposed fixtures to work with your integration and current plan; these links are not a capability ranking. Price the actual recipient mix and integration effort with the cost worksheet.
Keep back-in-stock demand separate from consumption estimates, and coordinate with post-purchase service and winback. A buyer who has not reordered may still have plenty left.