Create a Back in Stock Flow

read
Last updated at:

Overview

Klaviyo currently only supports Back in Stock flows for Shopify and BigCommerce stores.

The Back in Stock feature has two key components:

  1. Back in Stock Flow: When someone subscribes to a restock alert, a "Subscribed to Back in Stock" event will be tracked on their Klaviyo profile. This is the event you will use to trigger your Back in Stock Flow. Shoppers will enter the flow when they subscribe to a restock alert and wait at a "Back in Stock Delay" until their item of interest is restocked.
  2. Website Button: Once your flow is ready and waiting, add the back in stock snippet to your store's theme files. This snippet will automatically show a "notify me when available" button when items become sold out. When shoppers click this button, they'll fill out a form and go right into your flow.

This guide will focus on building a Back in Stock Flow, which you will want to set up before you install the website button.

Set Up a Back in Stock Flow

Klaviyo has two pre-built Back in Stock flows available in the Flow Library.

Navigate to the Flow Library by clicking Browse Ideas in the upper righthand corner of the main flows page. You can find all loyalty- and sales-oriented flows we offer by filtering your view by the following goals: "Convert Sales" and "Build Loyalty." You can also easily find these available Back in Stock flows by searching for "Back in Stock."

There are two options available out-of-the-box:

  • Standard: A standard flow that will automatically alert customers when items they're interested in are restocked.
  • VIP vs. Non-VIP: Give VIPs advanced notice when items they're interested in are restocked --this is a more sophisticated version of the standard flow.

After populating any flow in your account from the library, we recommend reviewing all email content and updating the templates to match your brand.

If you'd like to build a back in stock flow from scratch, you can do this as well.

mceclip0__1_.png1. Click Create Flow and name your back in stock flow.

2. Once in the Visual Flow Builder, choose the trigger option Takes an ActionIn the dropdown menu that follows, choose the metric Subscribed to Back in Stock. Do not add any trigger or flow filters, and click Done.

3. The next component you'll want to drag in -- directly after the trigger -- is the Back in Stock Delay. Recipients that enter your flow will wait at this delay until their item of interest is restocked. After this occurs, they will move on to the next step in your flow (which will typically be an email notification). To configure your restock email notification, drag in an Email component and place it directly below the Back in Stock Delay component.

4. Typically, you will only need a single email in this flow, as a back in stock flow serves a transactional purpose. Below, you'll learn how to set up this template to dynamically pull in the right product data. Make sure to turn Smart Sending OFF for this email to ensure everyone gets the alert.

You do not need to add any Time Delays components to this series, as the Back in Stock Delay component will ensure each person that enters your flow waits until the item they subscribed to goes back in stock before moving forward.

Back in Stock Flow Settings

There are two key settings you can adjust regarding your back in stock flow:

  • Minimum inventory rules
  • Customer notification rules

These can be configured in your Account's Email Settings.

Minimum Inventory Rules

Minimum inventory rules refer to how many items need to be restocked before you notify those who subscribed.

Depending on how you handle restocking when inventory runs out, you may only receive a few products in for a given SKU or variant at a time. If this is the case, you may prefer to have a threshold at which you consider the volume significant enough to let people know the item is back in stock.

Under Back in Stock Settings in your account's Email Settings, you will see Minimum Inventory Rules. This is where you can decide the threshold for notifying customers when an item is restocked.

Customer Notification Rules

Customer notification rules have two sub-settings that work together to customize how many and how frequently to send back in stock emails. These settings allow you to send restock notifications all at once or in batches. The two components that you can configure are:

  • Customers to Notify
    This determines how many customers are notified of each item is restocked. If you have a high-demand item, you might receive hundreds of subscriptions when it goes out of stock. If one item is restocked, you don't want to email all of those people for that single item.
  • Wait Time Between Notifications
    This determines how long to wait between batches of emails if you choose to specify the number of emails that are sent out per item that is restocked. If a single item is restocked and "customers to notify" is set to 5, for example, we will email the 5 oldest subscribers. We will then wait for this amount of time before emailing the next 5 oldest subscribers. Emails will continue to be sent in batches until the existing inventory drops below your account's minimum inventory threshold.

    If additional items are restocked during the waiting period, additional emails won't be sent until the end of the waiting period. At the end of the waiting period, we will determine how many items are in stock for this item and notify the correct number of subscribers.

Configure Back in Stock Alert Email Content

The pre-built Back in Stock flows you'll find in the Flow Library come configured with default email content. If you've built your own flow, to help get you started, you will find a pre-built Back in Stock email template in the Template Library. Simply search "Back in Stock" when configuring your stock alert email.

To configure your email content, you will need to use a specific set of dynamic event variables. Given it may be days, weeks, or even months before an item is restocked, we realize that details about the item (for example, images or price) may change. For this reason, we have a special set of dynamic event variables for this email that will look up the restocked product in your catalog at send time and populate the most up-to-date details available.

Note that the table block within the email template must be set to Static, not Dynamic, in order to function.

Shopify Stores

Product Detail Dynamic Event Variable (Shopify Stores)
Product Title {% catalog event.VariantId integration='shopify' %} {{ catalog_item.title }} {% endcatalog %}
Product URL {% catalog event.VariantId integration='shopify' %}{{ catalog_item.url }}{% endcatalog %}
Product Price {% catalog event.VariantId integration='shopify' %}{% currency_format catalog_item.metadata.price|floatformat:2 %}{% endcatalog %}
Variant Image {% catalog event.VariantId integration='shopify' %} {{ catalog_item.variant.featured_image.full.src|default:catalog_item.featured_image.full.src }} {% endcatalog %}
Variant Title {% catalog event.VariantId integration="shopify" %} {{ catalog_item.variant.title }} {% endcatalog %}
Variant URL {% catalog event.VariantId integration='shopify' %}{{ catalog_item.url }}?variant={{ catalog_item.variant.id }}{% endcatalog %}

BigCommerce Stores

Product Detail Dynamic Event Variable (BigCommerce Stores)
Product Title {% catalog event.VariantId integration='bigcommerce' %} {{ catalog_item.title }} {% endcatalog %}
Product URL {% catalog event.VariantId integration='bigcommerce' %}{{ catalog_item.url }}{% endcatalog %}
Product Price {% catalog event.VariantId integration='bigcommerce' %}{% currency_format catalog_item.metadata.price|floatformat:2 %}{% endcatalog %}
Variant Image {% catalog event.VariantId integration='bigcommerce' %} {{ catalog_item.variant.featured_image.full.src|default:catalog_item.featured_image.full.src }} {% endcatalog %}
Variant Title {% catalog event.VariantId integration="bigcommerce" %} {{ catalog_item.variant.title }} {% endcatalog %}
Variant URL {% catalog event.VariantId integration='bigcommerce' %}{{ catalog_item.url }}?variant={{ catalog_item.variant.id }}{% endcatalog %}

Here's what a template will look like inside the Template Builder with dynamic event variables, with a comparison of what this same template will look like when previewed with real event data:

BiS_Template.png

Make sure to turn Smart Sending OFF for this email to ensure it is prioritized and sent even if there are other emails also scheduled to send at the same time.

How It Works

When a customer subscribes to an out of stock product on your site, you'll see an event tracked on their profile: Subscribed to Back in Stock.

Those that subscribe to a back in stock alert will automatically enter your flow triggered off this Subscribed to Back in Stock event. You will see them added to the Waiting list of recipients at the Back In Stock Delay component. To explore who is waiting at this step, click View Activity in the configuration sidebar for this delay.

Back_In_Stock__VIP_Split___Flows___Klaviyo.png

When a product comes back into stock, you'll see those waiting on this item move into the "Moved to Next Step" category.

To view recipient activity around your stock alert email, click on the email itself. Here, in the sidebar, you will see a summary of activity over the last 30 days. Click View all Analytics to explore activity over a longer, or custom, timeframe.

Back in Stock Reports

Check the Back in Stock Reports page to see activity on your back in stock flow. Navigate to this page by clicking on a Back in Stock Delay component, and then clicking the View Back in Stock Product Request Report link in the left sidebar.

In this report, you can see information about the products that are queued for back in stock notifications, as well as the number of back in stock messages that have been queued, sent, and cancelled.

2018-05-09_12-45-20.png

You can also subscribe to receive email notifications for this report by clicking the Subscribe button.

The Scheduled Reports tab allows you to adjust which reports you're subscribed to and the settings for each report. You can navigate to this tab by going to Account > Settings > Scheduled Reports.

2019-05-01_14-58-04.png

x
Was this article helpful?
71 out of 89 found this helpful