How to create a back in stock flow for Shopware 6

read
Last updated at:

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 6 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
    • Sync your Shopware 6 product catalog to Klaviyo. 

Customize your Back in Stock button and form in Shopware

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
  4. Click the square, then use the selector to choose a color, or, if you have the hex color codes for your brand’s colors, paste it 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
  6. When you are finished, click Save

Configure your back in stock settings in Klaviyo

Next, configure your back in stock settings in Klaviyo: both minimum inventory rules and customer notification rules. 

  • 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

  1. In Klaviyo, select the Flows tab.
  2. Click Create Flow, then Create from Scratch.
  3. Name your flow, then click Create Flow
  4. In the flow builder, choose the trigger option Takes an Action. In the dropdown menu that follows, choose the metric Subscribed to Back in Stock. Do not add any trigger or flow filters, and click Done.
    Trigger in flow builder based on when someone subscribed to back in stock
  5. Directly after the trigger, drag in a Back in Stock Delay. Recipients who 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 in this case is an email message.
    Flow builder with back in stock trigger, back in stock delay, and re-stock alert email
  6. Design your back in stock email with dynamic variables to pull product information for this notification. Learn how to personalize flows with dynamic event data.
  7. Typically, you will only need a single message in this flow as a notification that the item is back. Turn Smart Sending off for this message to ensure everyone gets the alert. 
  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. To learn about flow statuses and how to set your flow live, read Getting started with flows. For more guidance on back in stock flows, read How to build a back in stock flow.

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

x
Was this article helpful?
0 out of 1 found this helpful