Klaviyo Replenishment Flow: Calculate Each Product's Cycle
A replenishment flow sends a reminder just as a customer is about to run out of a product they buy again and again. Everything hinges on the delay: too early, the reminder lands while the customer still has stock; too late, they have already bought elsewhere. This guide shows how to calculate that delay product by product from your orders, then how to set it in Klaviyo, filter it by product and test it.
If your customers buy a product only once, this flow is not for you: look at the post-purchase flow or the winback flow instead.
Why a single delay for the whole store gets it wrong
Klaviyo recommends timing the first reminder on your customers' established buying cycles. Its page on replenishment flows gives the example of a supplement with a 30-day supply: a reminder email about 25 days after customers enter the flow (how to create a replenishment flow). The page on SMS in these flows also takes a 30-day buying cycle, but places the notification at around day 20, to allow time for the product to ship and be delivered (how to use SMS in replenishment flows).
The two examples do not give the same number for the same cycle: in our reading, the right delay depends on your product, your delivery time and the channel. You measure it, you do not copy it.
Calculate the repurchase cycle by product
The method below is ours: it does not come from Klaviyo's documentation. It needs an export of your orders and a spreadsheet.
- Export your store's order history with, for each line, the customer ID, the order date, the product (or product family) and the quantity.
- Keep the customers who bought the same product at least twice. For each one, calculate the number of days between two consecutive purchases of that product.
- Separate products sold in different formats. In our reading, a customer who takes a bundle of three and one who takes a single unit do not share the same cycle: mixing them blurs the measure.
- Use the median of the gaps per product or family, rather than the average. In our reading, the median holds up better against gift purchases and long pauses, which pull the average upward.
- Look at the spread. If the gaps are widely scattered, the product has no reliable cycle: a replenishment flow will fit it less well than a recommendation message.
Example with made-up figures, only to show the mechanics. Five customers rebuy the same coffee after 28, 31, 35, 29 and 62 days. The average is 37 days, the median 31 days. A single customer who stayed away for a long time moves the average by six days, and the median by one (30 days without them, 31 with).
Once you know the median, place the first reminder before it, not on it. Klaviyo's two examples point the same way, for a 30-day cycle: a reminder around day 25 for email, around day 20 for SMS, which also has to leave time for shipping and delivery. Start from there for your first setting, then test.
What Klaviyo already calculates, and its limits
When the account meets the conditions, a customer's profile shows an "average time between orders" and Klaviyo calculates an "expected date of next order". The predictive analytics section of the profile only appears if at least 500 customers have placed an order, if you have at least 180 days of order history with orders in the last 30 days, and if at least some customers have placed 3 or more orders (understanding Klaviyo's predictive analytics).
That date takes into account the customer's own order behavior and that of all your customers, but not which products were ordered. If your products have distinct replenishment cycles, Klaviyo recommends creating separate Placed Order flows, one per cycle, with trigger filters that limit each flow to the products sharing the same cycle, and a delay that reflects that cycle. It also states that if you know the cycles of most of your product categories, a standard replenishment flow is better than this feature.
This is exactly the case the calculation above prepares: you get one delay per product, and you group the products whose delays are close. Klaviyo advises against counting down to the expected date, because repeat customers would get the same sequence of emails before every order, which may result in unsubscribes.
Build the flow in Klaviyo
For Shopify and BigCommerce integrations, the flow library offers pre-built replenishment flows. Without them, you can simply create a flow triggered by the Placed Order event.
- Trigger: Placed Order. For a flow limited to one product, add a trigger filter on the items in the order. The page on product-specific flows states that not every flow trigger can be filtered by product, and that your account needs product metrics for the filter to work (how to create a product-specific flow).
- Profile filter: Klaviyo asks you to check that the flow has a profile filter excluding customers who have ordered since entering the flow, and to add one if needed. Limit it to the same product if your flow is limited to one product, otherwise a purchase of another product could stop the reminder. Without it, a customer who has already rebought gets a pointless reminder.
- Delay: the delay calculated for that product or family.
- Messages: Klaviyo advises two reminders, then one follow-up after the projected buying cycle has passed with an extra incentive, such as a discount or a coupon. The content reminds the customer of the product they bought, with a product block of similar items if useful.
One point of caution, which is our reading: if you create one flow per product family, an order that mixes two families enters both flows and the customer gets two reminders. Decide before publishing whether you accept that, or whether you add a filter on the number of items to isolate single-item orders, as in the example on the product-specific flows page.
Add SMS
SMS suits this kind of reminder, since it carries time-sensitive information. To add it to an existing flow, Klaviyo suggests placing a conditional split after the first delay, on whether the person can receive SMS marketing: on the "yes" path the SMS goes out, then the two paths rejoin before the email. For this channel, the page recommends 1 to 2 messages at most per recipient.
Test the timing with a control branch
To know whether the delay is right, test it. Klaviyo describes an A/B test on flow branches: a split with the "random sample" condition sends a chosen percentage of profiles down the first path (50% for an even test), the rest follow the other path (how to A/B test flow branches). The SMS page suggests comparing, for example, 1 day and 5 days after the initial delay, and checking each message's click rate and conversion rate. Klaviyo does not pick a winner automatically when you use a split: the decision is yours.
Three rules to keep the test readable:
- One variable at a time. Test the delay, then the content, then the incentive, not all three at once.
- Let it run long enough. In our reading, a test should cover several full repurchase cycles before you read it.
- Measure orders, not just opens. Opens are inflated by Apple's Mail Privacy Protection, which Klaviyo flags on the same page.
In our reading, an extra branch with no message at all gives the only real measure of what the flow brings in: the customers who rebuy without a reminder are the ones you would have had anyway. The same random sample mechanism lets you build it.
FAQ
When should the first reminder of a replenishment flow go out?
Before the end of the cycle. For a 30-day cycle, Klaviyo's examples place the first reminder around day 25 for email and around day 20 for SMS. Calculate each product's cycle from your orders, then test two or three delays.
Can I use Klaviyo's expected date of next order?
It does not consider which products were ordered. In our reading, for products with similar cycles it may be enough. For very different cycles, Klaviyo recommends separate flows per cycle.
How many messages should I send?
Klaviyo advises two reminders then one follow-up with an incentive for email, and 1 to 2 messages at most per recipient for SMS.
Should the flow include a discount?
For email, Klaviyo puts the incentive on the follow-up that arrives after the projected cycle has passed; its SMS page suggests considering a promotion, particularly for first-time flow recipients. In our reading, first measure what the reminder alone brings with the control branch described above, before adding a code.
To set this flow up on your products, our Klaviyo agency can calculate the cycles with you. You can also talk directly to the Deliver team.
Provenance and verification
- Sources checked on
- Reviewed by
- Claude (Claude Code session, November 25, 2026) English localization of the French source, every Klaviyo claim checked against the help center pages opened the same day
- AI assistance
- Yes
- Sources
Want to apply this to your stack?
Spend 30 minutes with Charlotte to review your CRM setup, size the opportunity and leave with a practical action plan.
Book a 30-minute call →