WyshKlaviyo

Send a low-stock wishlist event to Klaviyo

Notify Klaviyo when a wishlisted variant drops to one or two units, so subscribed shoppers can receive a low-stock reminder.

Shopify Flow template Version 1.0

Workflow facts

Trigger
Shopify inventory quantity changed
Action
Send a Low stock of wishlist item event to subscribed customers
Default behaviour
Continue only when stock crosses from above 2 units to 1 or 2; fetch up to 100 matching subscribed customers
Required apps
Shopify Flow, Wysh, Klaviyo

How it works

This workflow starts when Shopify inventory changes. It continues only when a variant moves from more than two units to one or two units. Zero stock is excluded.

Wysh finds customers who have saved the variant. Shopify Flow then fetches up to 100 matching customers whose email marketing status is SUBSCRIBED and sends each one a Low stock of wishlist item event in Klaviyo.

Before you start

  • Install Shopify Flow, Wysh and Klaviyo.
  • Enable Shopify inventory tracking for the variants you want to monitor.
  • Connect Klaviyo to Shopify Flow and keep your public API key to hand. The workflow leaves it blank.
  • Review whether the built-in threshold of two units suits your stock model.

Install the workflow

  1. Download the ZIP and extract wysh_klaviyo_wishlist_item_low_stock.flow.
  2. In Shopify Flow, choose Import workflow.
  3. Select the extracted .flow file.
  4. Add your Klaviyo public API key to the Klaviyo action.
  5. Review the conditions, customer limit and event properties, then save without switching the workflow on.

Customise the workflow

Change both inventory conditions if you need a different low-stock threshold. The default logic detects the transition from above two units to either one or two units.

The event includes product and variant details such as title, ID, SKU, price, stock, image, URL, collections and vendor. Remove properties you do not need, or rename the event to match your Klaviyo conventions.

How customers are selected

Wysh returns customer IDs for the affected variant. The workflow ignores an empty result, then requests up to 100 matching Shopify customers who are subscribed to email marketing. Each returned customer receives a separate Klaviyo event.

The template does not continue beyond the first 100 matching subscribed customers in a single run. Review this limit before using it with high-volume products.

Enable and test

  1. Use a tracked test variant saved by a subscribed test customer.
  2. Set its inventory above two, then reduce it to two or one.
  3. Confirm the Shopify Flow run passes both stock conditions.
  4. Check that the Klaviyo event reaches the expected profile with the correct variant data.
  5. Restore the test inventory before turning the workflow on.

Troubleshooting

  • Workflow does not continue: confirm inventory crossed from above two to one or two. A change within the low-stock range will not pass the first condition.
  • No customers found: confirm the exact variant is saved in Wysh.
  • Customer excluded: check that their Shopify email marketing status is subscribed.
  • No Klaviyo event: confirm the API key, customer email and Flow action output.

Ready to install?

Download the clean Shopify Flow package and review its settings before switching it on.

Download ZIP
Wysh

Turn saved products into sales with Wysh

Explore Wysh