Setting Up a Low Inventory Flow
Klaviyo allows you to trigger a flow when inventory runs low on a product that someone has viewed or added to their cart, but there's a somewhat manual process at the moment to enable it. Klaviyo has provided instructions on what information to send to support for them to enable low inventory triggers.
We tested it out and got it enabled on our first try with support, so we wanted to give you the template for doing the same. Below is the email that we sent to support, but you will need to replace the three IDs that are in bold with your own IDs. Keep reading below for how to find those.
I would like to request access to the “low inventory trigger for custom catalogs” feature please.
Account: AbcAb3
Ordered Product (DefDe6), the product ID and price fields are ProductID and $value
Started Checkout (GhiGh9), the field containing the items is Items and the fields for product ID and price within that field are ProductID and ItemPrice
The Klaviyo support article here is the one that said to contact support and to provide this information: https://help.klaviyo.com/hc/en-us/articles/21374913673243#h_01HVSC88M89HZKSS0E0RM2C0J3
Let me know if you need anything further from me to enable this feature.
For the first ID, this is your Klaviyo account ID, sometimes called your public API key. You can find this by going to your Klaviyo account settings, selecting the "API Keys" menu, and copy/paste the public API key at the top of that screen.
The next IDs are the metric IDs. You can find these by going to the "Metrics" menu in Klaviyo and clicking on the "Ordered Product" and "Started Checkout" metrics respectively. Look at the URL in the address bar of your browser for each one. The ID for that metric is the six character bit in the URL after "/metric/" and before "/metric-name".
If you have added Javascript to your site to include "Viewed Product" or "Added to Cart" events, you can include those in the email to support with their respective IDs. Otherwise, the "Ordered Product" and "Started Checkout" events are enough and provided automatically through the integration.