Your best-selling hoodie in size M sells out on a Thursday. Over the next three weeks, 240 people land on that product page, see "sold out", and leave. Some of them will forget. Some will buy from a competitor. If there was a "notify me" button on the page, a good chunk of them left their email instead, and the day the restock lands, they're the first people who should hear about it.
That's the back in stock flow. It goes to people who already chose the product and the size. All they're waiting for is permission to buy. This guide covers the setup in Klaviyo for Shopify stores, timing, the second email, sample copy, and the mistakes that cost sales.
How the back in stock flow works
There are two parts. The signup on the product page, and the flow that sends when the product is back.
On the product page, an out of stock variant shows a button or form that lets the shopper leave their email (and optionally phone number). Klaviyo offers this for Shopify through its back in stock feature, either with an onsite form or code added to your theme. When someone signs up, Klaviyo records a back in stock subscription for that exact variant on their profile.
The flow is triggered by that subscription. Klaviyo watches the inventory for the variant through your Shopify catalog sync. When the stock goes back above the threshold you set in Klaviyo's back in stock settings, the flow sends to everyone waiting for that variant. Klaviyo's help center has the exact steps and settings, and they change from time to time, so follow the current docs rather than an old screenshot.
Settings that matter
| Setting | What we do |
|---|---|
| Inventory threshold | Set it above zero. If 300 people wait for a variant and 4 units come back, you'll disappoint 296 of them. A threshold that matches a meaningful restock avoids that. |
| Sending in batches | If the waiting list is much longer than the restock, check whether Klaviyo's settings let you notify people in groups so the first wave doesn't find the product sold out again |
| Variant level signup | Always per variant. Telling someone their size M is back when only XL came in is worse than not emailing |
| Consent checkbox | Optional and unticked: "Also send me news and offers." The stock request alone isn't marketing consent |
On consent: a back in stock request is a request for one notification about one product. Some people will also want your newsletter, and the checkbox lets them say so. What you can send beyond the notification depends on that consent and on the rules in your markets. Check Klaviyo's docs and get advice if you're unsure. This isn't legal advice.
The flow
| Step | Timing | Notes |
|---|---|---|
| Email 1: it's back | As soon as the variant is back in stock | Product image, the exact variant, price, one button straight to the product page with the variant selected |
| SMS (optional) | Same time, for people with SMS consent | One short text with the link |
| Conditional split | After 1 to 2 days | Has the person placed an order since entering the flow? Yes ends the flow |
| Email 2: still here | Right after the split | Only if the variant is still in stock. Short, with honest urgency if stock is low |
Two emails is plenty. These people asked for one notification, and the second only makes sense if they haven't acted and the product is still there. If you can't check stock in the second email reliably, skip it. A "still available" email for something that sold out an hour ago is a bad look.
Add a flow filter that removes anyone who has ordered since entering the flow. And keep Smart Sending off for email 1. Someone who waited three weeks for a restock shouldn't miss the notification because they got a campaign yesterday.
Sample copy
Preview text: You asked us to tell you first
Hi [first name],
the Everyday Hoodie in Charcoal, size M, came back into stock this morning. You asked us to let you know, so here it is before we announce it anywhere else.
[Product image]
[Price]
[Button: Get yours in M]
Last time this size sold out in [real number] days. Just saying.
[Name], [Brand]
Preview text: The Everyday Hoodie restock is going fast
Hi [first name],
quick one. The hoodie you waited for is still in stock in M, but not many are left. If you want it, here's the link.
[Button: Shop the hoodie]
The subject line is the product and the variant. That's what they're looking for. Only claim scarcity you can back up: "sold out in 9 days last time" works if it's true, and if you don't know, leave it out.
Getting more people into the flow
A back in stock flow is only as good as the number of signups behind it. A few things that make a difference:
- Keep out of stock products visible instead of hiding them from collections. A hidden product collects nobody.
- Make the button obvious. "Notify me when it's back" right where the add to cart button would be, not a small text link below the description.
- Prefill the email for logged-in or known visitors, so it's one click.
- Show the expected restock date if you know it. "Back around 15 March" gets more signups than "sold out".
And use the data. The number of people waiting per variant is a direct read on demand. Share it with whoever plans purchasing. If 400 people wait for size M and 20 for XXL, that's information.
Big restocks and new drops
When a hero product comes back after a long gap, the flow alone doesn't cover everyone who cares. Plenty of people looked at the product and left without signing up. For those, a campaign to a segment of people who viewed the product in the last few weeks makes sense, sent after the flow has had its head start. Our browse abandonment guide covers how viewed product data works in Klaviyo.
Restocks are also good campaign content in general. "The thing that sold out in March is back" is a stronger campaign than another generic newsletter. See our campaign ideas for more.
One more option for long gaps: if you know the restock date and can take orders before it, a preorder can replace part of the waiting list. Some customers prefer paying now and knowing the hoodie is theirs. Others would rather wait for the email. Offering both on the product page is fine, but be clear about the ship date in the order confirmation, and keep the preorder buyers out of the back in stock flow so they don't get told to buy something they already bought.
Mistakes to avoid
- Threshold at zero, so 300 people race for 4 units.
- Linking to the product page without the variant selected. The customer has to find their size again.
- Adding a discount. They wanted it at full price three weeks ago.
- Treating the stock request as newsletter consent.
- Forgetting discontinued products. If a product will never come back, remove the signup button. A waiting list for nothing builds frustration.
- Never testing it. Sign up for a variant yourself, restock it in Shopify, and check that the email actually arrives. Catalog sync issues are a common reason the flow goes quiet; our flow troubleshooting guide lists the others.
The back in stock flow is a cousin of the price drop flow: both fire on a change to a product the person already showed interest in. Once someone buys, they move into your post-purchase flow like any other customer.
Questions we get a lot
How does a back in stock flow work in Klaviyo?
A shopper signs up on an out of stock product page for a specific variant. Klaviyo records that as a back in stock subscription. When the inventory for that variant goes back up past the threshold in your back in stock settings, the flow sends them the notification. Klaviyo's help center has the current setup steps for Shopify.
How many emails should a back in stock flow have?
Usually one or two. The first goes out as soon as the product is back. A second, a day or two later, goes only to people who haven't bought, and only if stock is still there.
Should a back in stock email include a discount?
Almost never. These people asked to be told when they can buy at full price. A discount just gives away margin. Use urgency only if stock really is limited.
Do back in stock subscribers count as marketing subscribers?
Not automatically. Requesting a stock notification is not the same as opting in to marketing emails. Add a separate, optional consent checkbox to the form if you want to market to them, and check Klaviyo's docs and your local rules.
Can I send back in stock alerts by SMS?
Yes, if the person gave SMS consent. Texts work well for restocks because they're time sensitive. Keep it to one message with the product name and a link.