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
- Download the ZIP and extract
wysh_klaviyo_wishlist_item_back_in_stock.flow. - In Shopify Flow, choose Import workflow.
- Select the extracted
.flowfile. - Add your Klaviyo public API key to the Klaviyo action.
- 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
- Use a tracked test variant saved by a subscribed test customer.
- Move the variant from out of stock to in stock.
- Confirm the Shopify Flow run finds the expected customer.
- Check that the Klaviyo event reaches the correct profile with the expected variant details.
- 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.