Skip to main content
Contributor I
August 26, 2026
Solved

Back in Stock flow - Can I send a second email only if the item is still in stock?

  • August 26, 2026
  • 4 replies
  • 24 views

I'm running the standard Back in Stock flow (Shopify → Klaviyo, catalog synced). It currently sends one email when the item restocks.

I want to add a second email 24 hours later, but only if the product that triggered the flow is still in stock at that moment. If it sold out again during the delay, the profile should skip that email.

Is there a native way to do this, a conditional split or flow filter that checks live inventory for the triggering item? Or does this need a webhook / custom property workaround?

Has anyone built this? Curious what the cleanest approach is.

Best answer by whereisjad

The best solution is to leverage the template tag in the email with the unpublished="cancel" flag that would cancel the sending of the email if it is out of stock as below:

 

{% catalog itemID unpublished="cancel" %}
...
{% endcatalog %}

 

 

4 replies

whereisjad
Expert Problem Solver IV
Expert Problem Solver IV
August 26, 2026

The best solution is to leverage the template tag in the email with the unpublished="cancel" flag that would cancel the sending of the email if it is out of stock as below:

 

{% catalog itemID unpublished="cancel" %}
...
{% endcatalog %}

 

 

— Jad A | Klaviyo + Shopify + API Integrations Specialist • 7+ Years' Experience Helping with new setups, seamless integrations, and API connections—happy to connect. http://ja-technical-consulting.xyz/
arely90Author
Contributor I
August 26, 2026

Thank you! ​@whereisjad  If my email is designed with the drag and drop tool where exactly should I insert this or how do I configure it?

whereisjad
Expert Problem Solver IV
Expert Problem Solver IV
August 26, 2026

I recommend watching this quick guide to learn how to do it: https://academy.klaviyo.com/en-us/quick-guides/customize-and-personalize-emails-using-django

— Jad A | Klaviyo + Shopify + API Integrations Specialist • 7+ Years' Experience Helping with new setups, seamless integrations, and API connections—happy to connect. http://ja-technical-consulting.xyz/
arely90Author
Contributor I
August 26, 2026

Thank you! I’ll take a look ;)