Guide Flows
Back in stock emails: how to set them up and who hears first
Lilou & Ben7 min read
On client accounts the back in stock flow is one of the smallest builds and one of the most wanted. Everyone on it asked for the email, and they’re waiting for one product. This guide covers how the alerts work on Shopify, the settings that decide who hears first, the Klaviyo flow, texts, example messages and what to measure.
What is a back in stock email?
A back in stock email (also called a restock alert or restock notification) is an automated message to a shopper who asked to hear when a sold-out product returned. They tap “Notify me” on the product page, leave an email or phone number, and the alert goes out when stock comes back.
Three other messages get mixed up with it:
- A low inventory email goes to people who viewed or carted a product that is running low. Klaviyo has a separate low inventory flow for it.
- A price drop email goes to people who viewed a product that has since been marked down.
- A restock campaign is a one-off send to the wider list about a popular product coming back. It reaches people who never asked, so it’s a campaign, with its own audience.
How do back in stock alerts work on Shopify?
Klaviyo’s back in stock form adds a “Notify me” button to the product page when the selected variant is sold out. The button either replaces Add to cart or sits under it, and tapping it opens a pop-up asking for an email, a phone number or both. Each sign-up records a “Subscribed to Back in Stock” event in Klaviyo, which starts the flow.
A few settings stop it working, and we check each one before going live:
- Continue selling when out of stock. This Shopify setting has to be off for the products involved. When it’s on, the product never counts as sold out, so the button doesn’t appear and no alerts send. Klaviyo can’t tell anyone a product is back when Shopify says it never left.
- Inventory tracking. Shopify only knows a product is out of stock when Track quantity is on. Stores with several locations also need stock at a location that fulfils online orders, or the product shows as sold out online even with boxes in the stockroom.
- Old back in stock code. An earlier back in stock app or theme snippet has to come out, or the page shows two buttons. Klaviyo allows one back in stock form per account, per its form setup guide.
- Themes that hide sold-out products. Some themes hide a product once every variant sells out, which hides the button with it. The theme needs to keep sold-out products visible.
Stores using Shopify POS should know the flow counts store and warehouse stock together, so a restock at the shop can trigger online alerts.
How many people should get the back in stock alert?
As many as the stock can serve. If 400 people are waiting and 20 units arrive, emailing all 400 sends 380 people to a sold-out page, and turns a restock into Boxing Day at a shopping centre. Klaviyo’s back in stock settings, under Settings, then Other, apply to every back in stock flow in the account:
| Setting | What it does | Where we start |
|---|---|---|
| Restock minimum | Units that must be in stock before any alert sends | Enough that the first few clicks don’t sell it out |
| Notification quantity | Everyone at once, or in batches | Batches when sign-ups outnumber stock |
| Subscribers per restocked unit | How many people each unit is offered to, oldest sign-ups first | 3 to 5, then adjusted from the results |
| Notification frequency | The wait between batches, after which Klaviyo counts stock again | A few hours for fast sellers, a day for slower ones |
Batches carry on until stock falls below the restock minimum. The subscribers-per-unit number depends on how many people who get the alert go on to buy, so we start low and raise it if stock is left over after a batch. One limit shapes the rest of the flow: Klaviyo can’t check stock again after the first message sends, per its flow documentation. So we don’t add a later “still available” reminder, because by the time it lands it could be wrong.
How to set up a back in stock flow in Klaviyo
The flow is short. Klaviyo’s setup guide and our own builds agree on the shape:
- Trigger. The “Subscribed to Back in Stock” metric, with no trigger or profile filters. A filter can stop someone who asked for the alert from getting it.
- Back in stock delay. Straight after the trigger. People wait here until the product returns and their batch comes up.
- Conditional split. Straight after the delay, checking whether the person can receive SMS marketing. Subscribers to texts get a text, and everyone else gets the email.
- One message on each path. With Smart Sending off, so a campaign that went out the same morning doesn’t stop the alert someone asked for.
- Live. The messages have to be set to Live or Manual. A flow left in draft adds nobody to the waiting list, so sign-ups collected while it sat in draft never get an alert.
We test it before launch by taking a cheap variant out of stock, signing up with a test email and phone, then adding a unit back and checking the alert arrives with the right product, variant and link.
Should back in stock alerts go by text?
Yes, for people who have opted in to texts. A restock alert is short, timely and asked for, which suits a text better than most messages do. The back in stock form can collect a phone number, and the person has to give explicit consent to marketing texts on that step. Klaviyo suggests one or two texts at most in the flow.
Klaviyo holds texts outside the allowed sending hours, even after the product is back, so a restock that syncs at 11pm reaches texters in the morning and email subscribers straight away. For fast sellers we time restocks for the morning where we can. Products bought on looks can go out as a picture text in countries that support it, covered in our MMS marketing guide, and the consent rules are in our SMS marketing guide.
Back in stock email examples
A back in stock email has one job, and the best ones get to it in the subject line. Here’s how the messages might read for a made-up store, Fern & Field, and a customer called Jess who asked about a vitamin C serum:
- The email. Subject “Your vitamin C serum is back”, preview text “You asked us to let you know.” Body: “Hi Jess, the vitamin C serum you asked about is back in stock. Last time it sold out in a few days, so we wanted you to hear first. [Get your serum]”
- The text. “Fern & Field: The vitamin C serum you asked about is back in stock. Grab yours here: [link] Reply STOP to opt out.”
- A variant alert. Subject “The linen shirt in sage, size M, is back” Naming the colour and size tells them it’s the exact one they were waiting for.
The brand and names are made up. Product photo, name, variant and one button is all the email needs. Recommendations and other products can wait for the next flow, because the customer has already decided what they want.
If you’d like us to check your back in stock setup, bring a product that sells out often and we’ll walk through the settings, the flow and what the waiting list tells you about demand. Book an LTV:CAC Gameplan.
What do back in stock sign-ups tell you about demand?
They tell you which products and variants people want and couldn’t get. Klaviyo’s back in stock report can export the queue of waiting subscribers by product, which is about as close to a forecast as a buyer gets without a crystal ball. We share it with clients before they place reorders. A size or colour with a long waiting list is a sign to order more of it, and a product that sells out in hours after every restock may be priced too low or ordered too thin.
The queue also shows how long people wait. Someone who signed up four months ago has probably bought elsewhere. On products with long gaps between restocks, a pre-order or a short “we’re still restocking” email to the waiting list can keep them from giving up.
How to measure a back in stock flow
Placed order rate per recipient is the main number, read from Klaviyo’s flow analytics and checked against Shopify orders for the product. Alongside it, we look at how much of each restock sold to people on the waiting list, how quickly it sold through, and how many alerts sent after stock had already run out. That last one shows whether the batch settings need tightening.
Back in stock sits alongside the other behaviour-based flows our guide to Klaviyo flows covers, such as abandoned cart emails. Customers who buy from an alert then move into the post-purchase flow like any other first order. Our clothing brand case study shows how we turned more of the demand behind each drop into sales.