WyshKlaviyo

Send a back-in-stock wishlist event to Klaviyo

Send a Klaviyo event to subscribed shoppers when a variant saved in Wysh returns to stock.

Shopify Flow template Version 1.0

Workflow facts

Trigger
Shopify variant back in stock
Action
Send a Wishlist item back in stock event to subscribed customers
Default behaviour
Fetch up to 100 matching customers subscribed to email marketing and send one event to each
Required apps
Shopify Flow, Wysh, Klaviyo

How it works

This workflow starts when Shopify reports that a variant is back in stock. Wysh finds customers who have saved that variant, and the workflow sends a Wishlist item back in stock event to eligible Klaviyo profiles.

It fetches up to 100 matching Shopify customers whose email marketing status is SUBSCRIBED. Each returned customer receives a separate event with product and variant details.

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.

Install the workflow

  1. Download the ZIP and extract wysh_klaviyo_wishlist_item_back_in_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 customer filter and event properties, then save without switching the workflow on.

Customise the workflow

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 variant. The workflow ignores an empty result, then requests up to 100 matching Shopify customers who are subscribed to email marketing.

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. Move the variant from out of stock to in stock.
  3. Confirm the Shopify Flow run finds the expected customer.
  4. Check that the Klaviyo event reaches the correct profile with the expected variant details.
  5. Turn the workflow on only after the test succeeds.

Troubleshooting

  • No trigger: confirm Shopify tracks inventory and the variant actually moved from out of stock to in stock.
  • 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