You will learn
Learn how to use SMS in your back in stock flows with Klaviyo.
By adding an SMS to your back in stock flow, you can immediately alert subscribers about products they’re interested in. Back in stock messages create a sense of urgency, prompting your recipients to buy as soon as they get the text. Text messages are typically read within 3 minutes and are seen much quicker than emails, making them the best option for back in stock messages.
Before you beginBefore you begin
Before you add SMS to your back in stock flows, note the following:
- You must have already turned on SMS in your Klaviyo account.
- Individuals must be current SMS subscribers to receive text messages from a back in stock flow
- SMS back in stock flows are only available for Shopify, BigCommerce, and Magento 2 stores, as well as stores with inventory-aware custom catalog feeds.
- You must have installed the back in stock snippet in your ecommerce store.
- Limit the number of text messages in your back in stock flow to 1 or 2 SMS.
Use SMS in your back in stock flows
There are 2 options for using SMS in your back in stock flows:
- Use SMS and email together in a flow (recommended)
- Make a separate, SMS-only back in stock flow
These options have a similar setup; the main differences are that:
- The first method is more omnichannel, and it will be easier to analyze how your audience responds to SMS versus email
- For SMS-only flows, you need to configure the back in stock flow’s settings (e.g., minimum inventory and customer notification rules)
Since the omnichannel approach is easier to maintain, analyze, and improve, we only go over that approach in this article.
Add SMS into a back in stock flowAdd SMS into a back in stock flow
- Navigate to the Flows tab.
- Either:
- Locate your existing back in stock flow (if you made one previously).
- Search for a back in stock flow template:
- Click Browse Ideas
- Search “back in stock”
- Select one of the back in stock flows
- Name the flow in the modal
- Click Create Flow
- Add a conditional split after the Back in Stock Delay.
- Set the split to If someone is or is not consented to receive SMS > is not.
- Click Save for the conditional split.
- Drag an SMS message onto the No path.
- Click Configure Content.
- Add in your content:
- Example: “[Name of item] is back in stock! Grab yours before they’re gone again:
- To dynamically insert the name of the product, you must use an event variable. Check out this article for instructions on finding event variables and examples.
- To dynamically insert the name of the product, you must use an event variable. Check out this article for instructions on finding event variables and examples.
- Example: “[Name of item] is back in stock! Grab yours before they’re gone again:
- After the text, insert catalog tags for the item that’s back in stock.
- Note: catalog tags are specific to your integration; for examples, click on the name of your ecommerce platform below:
-
BigCommerce
Product Detail
Dynamic Event Variable (BigCommerce Stores)
Product Title
{% catalog event.VariantId integration='bigcommerce' %} {{ catalog_item.title }} {% endcatalog %}
Variant Image {% catalog event.VariantId integration='bigcommerce' %} {{ catalog_item.variant.featured_image.full.src|default:catalog_item.featured_image.full.src }} {% 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 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 %}
-
Shopify
Product Detail
Dynamic Event Variable (Shopify Stores)
Product Title
{% catalog event.VariantId integration='shopify' %} {{ catalog_item.title }} {% endcatalog %}
Variant Image {% catalog event.VariantId integration='shopify' %} {{ catalog_item.variant.featured_image.full.src|default:catalog_item.featured_image.full.src }} {% endcatalog %} Product URL
{% catalog event.VariantId integration='shopify' %}{{ catalog_item.url }}{% endcatalog %}
Product Price
{% catalog event.VariantId integration='shopify' %}{% currency_format catalog_item.variant.price|floatformat:2 %}{% 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 %}
-
Magento 2
Product Detail
Dynamic Event Variable (Magento 2 Stores)
Product Title
{% catalog event.VariantId integration='magento_two' %} {{ catalog_item.title }} {% endcatalog %}
Variant Image {% catalog event.VariantId integration='magento_two' %} {{ catalog_item.variant.featured_image.full.src|default:catalog_item.featured_image.full.src }} {% endcatalog %} Product URL
{% catalog event.VariantId integration='magento_two' %}{{ catalog_item.url }}{% endcatalog %}
Product Price
{% catalog event.VariantId integration='magento_two' %}{% currency_format catalog_item.variant.price|floatformat:2 %}{% endcatalog %}
Variant Title
{% catalog event.VariantId integration="magento_two" %} {{ catalog_item.variant.title }} {% endcatalog %}
Variant URL
{% catalog event.VariantId integration='magento_two' %}{{ catalog_item.url }}?variant={{ catalog_item.variant.id }}{% endcatalog %}
-
- Note: catalog tags are specific to your integration; for examples, click on the name of your ecommerce platform below:
- Click Preview to test the back in stock SMS.
- Once you confirm that the back in stock message appears as expected, click Save Content in the upper right.
- Select Update Action Statuses.
- Choose Live from the dropdown and then click Update.
Outcome and next steps
You can now send back in stock flow messages via SMS.
Optimizing the flowOptimizing the flow
We recommend keeping an eye on how your audience responds to these messages, as it’s important to make sure you’re seeing high engagement.
If engagement is low, test whether your audience prefers email or SMS. Each business is unique, and so is their audience. Your audience may prefer to receive back in stock alerts via email rather than SMS.
Additional resources