Solved

Custom back in stock segment

  • 17 January 2024
  • 2 replies
  • 54 views

Badge +3

Hello.

 

This is a question more on a conceptual level: we have an Opencart store with a custom Klaviyo integration.

 

If a product is out of stock, it is possible to submit your email and get in “queue” for the product to return back on stock. 

 

Is it possible to capture/setup some kind of custom event in Klaviyo, for those who leave their email and subscribe to the back on stock notification? We would not like to create a flow, but rather create segments based on this event and send them manual emails once item is back on stock.

Esentially we would need the following properties captured within the event:
1. customer email (they leave it in the field when they click the back on stop notification button).
2. product name

Based on this custom event, we would create a segment.

 

Appreciate your thoughts on this.

  

icon

Best answer by retention 17 January 2024, 16:13

View original

2 replies

Userlevel 7
Badge +58

Hi @double d, welcome to the community!

Since you have a custom integration with Klaviyo, I want to point out that you can also leverage the built-in Klaviyo “Back in Stock” trigger/feature via the API as well.  You can see documentation and a guide for that here:

The way Klaviyo handles items that come back in Stock is fairly robust, it lets you adjust how many people to notify relative to your stock, and how much time to allot for each notification before it notifies the next batch.  If you’re not familiar with the Back in Stock feature, you can learn more about it here:

If for some reason, that’s not something you want to implement, you can also build a custom HTML Form that submits an email to a designated List with a hidden form values with the product name (and any other information like sizes or variants) that maps to custom profile properties.  Then, you can build a Segment based on those custom profile properties to notify people when you have stock.  Note, one limitation is that this implies that user can only put themselves on a waitlist for a single product at a time.  You can see this documentation on building custom HTML forms here:

Another way to do this is to build a form, that that submits the email along with the product name as a “custom metric” in Klaviyo.  Though this is a bit more involved, it lets users waitlist on more than one product over time.  Since you have a custom Klaviyo implementation, passing in this metric should be no different then other custom events you’ve already implemented, except this one is based users submitting for a product waitlist.

Hope that helps!

 

Badge +3

Hello and thank you for your input. 

I read the API and flow setup documentation and was confused with the wording - sometimes it mentions Back in stock as a feature, othertimes as an event so I was assuming that if we create it, it will not be available as an API metric within the segment metric list (used for creating segments). I realise now that if we implement this BIS feature, it will appear in the segment API metric list as all other custom metrics we developed and hence we will be able to create segments of BIS subscribers. 

And in the next phase, we will definately implement a flow as well.

Best regards

Reply