---
title: "How to create a back in stock flow for Shopware"
description: "Learn how to create a back in stock flow for Shopware 6 to alert customers about inventory. This flow will use the Subscribed to Back in Stock event synced from your Shopware store."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/13325405718939"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/13325405718939.md"
locale: "en-us"
category: "Integrations"
section: "Shopware"
updated: "2026-10-27"
---

# How to create a back in stock flow for Shopware

## You will learn

Learn how to create a back in stock flow for Shopware 6 to alert customers about inventory. This flow will use the *Subscribed to Back in Stock* event synced from your Shopware store. 

## Before you begin

Make sure to do the following:

- Integrate with Shopware 6 (see [Getting started with Shopware ](https://help.klaviyo.com/hc/en-us/articles/13001662470939.md)to learn how). As part of the integration process, make sure you:

  - Have **Track Back in Stock** toggled on in your extension settings, which will sync *Subscribed to Back in Stock* events to Klaviyo.




![Track Back in Stock setting toggled on to blue](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/25f770c922924a04671d31d73738ce28c8e29f44-808x126.png?auto=format)

  - Sync your Shopware 6 product catalog to Klaviyo. 



## Customize your Back in Stock button and form in Shopware

**📝 Note:** The Back in Stock form appears on product detail pages only when the product is out of stock and marked for Clearance sale.

If you’re tracking back in stock (via your extension settings in Shopware), you’ll also be able to customize the “Notify me when back in stock” button (which appears for items that are out of stock) and form on your site. Customers must click the button and fill out the form to receive back in stock notifications. 

To customize these elements:

1. Log in to your Shopware admin.

2. Navigate to **Settings > Extensions > Klaviyo**.

3. Scroll down to **Back-In-Stock Pop-up styles**, where you can customize the text color and background of the Back in Stock pop-up opening button, pop-up close button, and subscribe button. 




![Pop-up opening button settings with color set to white and background set to dark blue](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/2247b9e79ec6b4379b8138edcf27089db36b1875-1880x542.jpg?auto=format)

4. Click the square, then use the selector to choose a color, or paste a hex color code for your brand in the corresponding box.

5. Under **Snippet names**, you’ll find a reference for how to refer to different back in stock components in HTML, if you wish to customize them within your site code.




![Snippet names for open button, close button, and email field label](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/ad7e2478f4f43d12370e6d213073f5139e32f660-2148x564.jpg?auto=format)

6. When you are finished, click **Save**. 



Before continuing, make sure your account has a **Subscribed to Back in Stock** metric. If it does not, submit the back in stock form on an eligible product page once to create it. The metric is needed to use the flow template and access **Back in stock settings** in Klaviyo.

## Configure your back in stock settings in Klaviyo

In Klaviyo, select your account name, then **Settings > Other > Back in stock settings**. Next, [configure your back in stock settings in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/115003872251.md#back-in-stock-flow-settings2): both minimum inventory rules and customer notification rules. These settings apply to all back in stock flows in your account.

- Minimum inventory rules refer to how many items need to be restocked before you notify subscribers.

- Customer notification rules allow you to choose how many customers to notify and how long to wait between notifications.



## Create the flow from a template

1. In Klaviyo, select the **Flows** tab.

2. Click **Create flow**, then search for **back in stock** in the flow library.

3. Select an email back in stock template, name your flow, then click **Use template**. 

4. In the flow builder, check that the trigger is the Klaviyo metric **Subscribed to Back in Stock**. Do not add trigger or profile filters.

5. Review the **Back in stock delay** included directly after the trigger. Recipients wait here until their item of interest is restocked and they are selected for notification according to your inventory and customer notification rules. They then move on to the email message after the delay.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/8596dfa39e68862c103786b3eb97b605c3e16f82-916x1016.png?auto=format)

6. Customize your back in stock email with dynamic variables to pull product information for this notification. Preview the email to check that it shows the correct product details before turning the flow live. [Learn how to personalize flows with dynamic event data](https://help.klaviyo.com/hc/en-us/articles/115002779071.md).

7. Typically, you will only need a single message in this flow as a notification that the item is back. [Turn Smart Sending off](https://help.klaviyo.com/hc/en-us/articles/115002779311.md#how-to-disable-smart-sending) for this message so a recent email does not cause the alert to be skipped. Other sending checks, such as email suppression, still apply. 

8. You do not need to add any additional time delays to this series, as the back in stock delay will ensure each person that enters your flow waits until the item they subscribed to goes back in stock before moving forward.

9. When your email is ready, click **Review and turn on** or **Update status** in the flow builder. Select **Live**, keep **Update status now** selected, and click **Save**. Messages left in **Draft** do not send.



To learn about flow statuses and how to set your flow live, read [Getting started with flows](https://help.klaviyo.com/hc/en-us/articles/115002774932.md). For more guidance on back in stock flows, read [How to build a back in stock flow](https://help.klaviyo.com/hc/en-us/articles/115003872251.md).

## Outcome

You’ve created a back in stock flow for Shopware 6. Now, you can better personalize your customer communications and drive revenue.

## Additional resources

- [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.
- [Shopware data reference](https://help.klaviyo.com/hc/en-us/articles/13006716790299.md)
  Learn what data is synced from Shopware 6 to Klaviyo, how to view this data, and what properties Shopware events contain. 
- [How to use event data to personalize email and SMS flows](https://help.klaviyo.com/hc/en-us/articles/115002779071.md)
  Learn what dynamic event data is, when to use it, where to find it, and how to include it in your flow messages. Learn about the different actions your customers take, and how you can use that data for creating personalized messaging flows in Klaviyo. For instance, you could use event data in an abandoned cart flow message to show individuals what product they left behind, an image of the item, and more. This allows for a more personalized experience for the customer, as well as a higher chance of conversion.
