---
title: "How to use SMS in your back in stock flows"
description: "Learn how to use SMS in your back in stock flows with Klaviyo."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/7954040204827"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/7954040204827.md"
locale: "en-us"
category: "SMS"
section: "Revenue-generating SMS flows"
updated: "2026-10-30"
---

# How to use SMS in your back in stock flows

## 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 alert subscribers when products they’re interested in are restocked and help them return before items sell out again. Quiet hours can delay sending even after a product is restocked.

## Before you begin

Before you add SMS to your back in stock flows, note the following:

- You must have already [turned on SMS ](https://help.klaviyo.com/hc/en-us/articles/4404274419355.md)in your Klaviyo account.

- Individuals must be current SMS subscribers to receive text messages from a back in stock flow.

- Supported setups for SMS back in stock flows include Shopify, BigCommerce, PrestaShop, and Magento 2 stores, as well as stores with inventory-aware catalogs synced via custom catalog feed or API. See [Understanding how back in stock flows work](https://help.klaviyo.com/hc/en-us/articles/360051612551.md) for other supported integrations.

- You must have set up back in stock for your ecommerce store and use a flow triggered by Klaviyo’s **Subscribed to Back in Stock** metric:

  - [Shopify back in stock instructions](https://help.klaviyo.com/hc/en-us/articles/38767539287323.md)

  - [BigCommerce back in stock instructions](https://help.klaviyo.com/hc/en-us/articles/38767539287323.md)

  - [PrestaShop back in stock instructions](https://help.klaviyo.com/hc/en-us/articles/33059375555099.md)

  - [Magento 2 back in stock](https://developers.klaviyo.com/en/docs/set-up-back-in-stock-for-magento-2)

  - [Custom catalog feeds back in stock](https://developers.klaviyo.com/en/docs/how-to-enable-back-in-stock-for-custom-catalog-feeds)

  - [API back in stock](https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock)

- 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. When choosing between them, note that:

- The first method is more omnichannel, and it will be easier to analyze how your audience responds to SMS versus email

- For either option, review the [back in stock flow’s settings](https://help.klaviyo.com/hc/en-us/articles/115003872251.md) (e.g., minimum inventory and customer notification rules). These settings are shared across all back in stock flows in your account.



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 flow

1. Navigate to the **Flows** tab.

2. Either:

   1. Locate your existing back in stock flow (if you made one previously).

   2. Search for a back in stock flow template:

      1. Click **Create flow**

      2. Search “back in stock” 

      3. Select one of the back in stock flows

      4. Name the flow in the modal

      5. Click **Use template**


3. Add a conditional split after the **Back in stock delay**.



![A conditional split placed directly below the Back in Stock delay](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/2c4db83e74e94959d87d8913b4f9eafa270a81c0-800x1048.jpg?auto=format)

4. Set the split to **If someone can or cannot receive marketing > cannot receive > text message marketing**.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d58920ab935e888105f973044d6ebd99720010ce-724x374.png?auto=format)

5. Click **Save** for the conditional split.

6. Drag **Text message** onto the **No** path. Profiles who can receive text message marketing follow this path.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f34def379d88b7c8e044b5a7557210a97d8ecef2-1406x712.png?auto=format)

7. Place the back in stock email on the **Yes** path, or keep it there if it is already in place. Review its content so profiles who cannot receive text message marketing can receive the restock email if they are eligible for email.

8. Select the SMS and next to **Content**, click **Edit**.

9. Add in your content:

   - Example: “[Name of item] is back in stock! Grab yours before they’re gone again:”

     - Replace [Name of item] with an event variable for the product name or the Product Title catalog tag for your integration. Catalog tags use the back in stock event to find the product in your catalog. See the catalog examples below or the guide to [finding event variables and examples.](https://help.klaviyo.com/hc/en-us/articles/115002779071.md)



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/6c5a34e7567d34db170ffc7a516e426dbe397da7-692x410.png?auto=format)

10. After the text, insert the Product URL catalog tag for your integration to link to the restocked product. Add other product details from the examples as needed.

    - Catalog tags are specific to your integration. Use the examples for 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 %} |

1. Click **Preview & test** and preview the SMS with a **Subscribed to Back in Stock** event. Check that the product name appears correctly and that the link opens the intended product. If you use a Variant URL, also check that it selects the intended variant.

2. Once you confirm that the back in stock message appears as expected, click **Done** to close the preview, then click **Next** to save and return to the flow builder.

3. Review the SMS and email before activating the flow. Select **Review and turn on** or **Update status** at the top of the flow builder.

4. Under **Flow status**, choose **Live**. Select **Now** if the timing options appear, then click **Save**. Confirm that the SMS and email you intend to send are **Live**.



![Modal to update all flow action statuses when Live is selected](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/18c6a334753149fba64a7d411aa615764fa32243-962x506.png?auto=format)

## Outcome and next steps

You can now send back in stock flow messages via SMS. 

### Optimizing 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

- [How to configure back in stock alert emails](https://help.klaviyo.com/hc/en-us/articles/360051612751.md)
  Learn how to use pre-built templates or configure a custom template for a back in stock flow email. When creating a back in stock flow email, it's important to set up the message so that it shows the right product data. Klaviyo supports back in stock flows for accounts with Shopify, BigCommerce, Magento 2, PrestaShop, Shopware, and SFCC integrations, as well as accounts with inventory-aware catalogs sync via custom catalog feed or API. The instructions below cover Shopify, BigCommerce, and Magento 2 integrations. 
- [Understanding how back in stock flows work](https://help.klaviyo.com/hc/en-us/articles/360051612551.md)
  Learn about how back in stock flows work, how contacts move through them, and how they appear different from most other metric-triggered flows. For instance, they have the back in stock delay component, which is unique to this type of flow.
- [Guide to Klaviyo Helpdesk](https://help.klaviyo.com/hc/en-us/articles/360059002271.md)
  Learn about Klaviyo Helpdesk, which helps you manage support conversations across all channels, powered by the data you already have in Klaviyo.
- [SMS marketing strategies for all levels](https://www.klaviyo.com/blog/sms-marketing-strategies)
