Hey @Car Care Marketing,
Welcome to the community! What’s your replenishment flow triggered by? I’m assuming it’s a placed order event, and you have a filter on your flow to ensure that only orders placed that contain a certain collection enter the flow, correct? I’m thinking that if you set up a flow with the trigger “Ordered Product” rather than “Placed Order,” you’ll be able to accomplish your goal more effectively, as an Ordered Product event only contains information on one specific product that a person ordered, at least for all common integrations with Klaviyo.
For example, if you place an singular order for 3 different products of 3 different categories, one Placed Order event will be sent to Klaviyo. An email in a flow triggered by Placed Order won’t easily be able to display only one of those items, or leave out certain categories (though this can potentially be done by implementing some complex logic).
That being said, 3 separate Ordered Product events will be sent to Klaviyo, one event for each product. Each event only contains the data for that one specific product.
If you make a flow triggered by Ordered Product, and add a trigger filter so only certain categories of products enter, you’ve built the start of a replenishment flow that’s category-specific. From there, you can build out a template using the Ordered Product event data. The item name, image, price, URL, ect, that you see in the event data will all be specific to that individual product.
Let me know if this makes sense. In short, you’ll want to build a flow triggered by Ordered Product, add a trigger filter on it to only allow certain categories in, and then use event data from the Ordered product event in your template. Happy to answer any additional questions regarding this!
-Byrne
Hey @Car Care Marketing,
Welcome to the community! What’s your replenishment flow triggered by? I’m assuming it’s a placed order event, and you have a filter on your flow to ensure that only orders placed that contain a certain collection enter the flow, correct? I’m thinking that if you set up a flow with the trigger “Ordered Product” rather than “Placed Order,” you’ll be able to accomplish your goal more effectively, as an Ordered Product event only contains information on one specific product that a person ordered, at least for all common integrations with Klaviyo.
For example, if you place an singular order for 3 different products of 3 different categories, one Placed Order event will be sent to Klaviyo. An email in a flow triggered by Placed Order won’t easily be able to display only one of those items, or leave out certain categories (though this can potentially be done by implementing some complex logic).
That being said, 3 separate Ordered Product events will be sent to Klaviyo, one event for each product. Each event only contains the data for that one specific product.
If you make a flow triggered by Ordered Product, and add a trigger filter so only certain categories of products enter, you’ve built the start of a replenishment flow that’s category-specific. From there, you can build out a template using the Ordered Product event data. The item name, image, price, URL, ect, that you see in the event data will all be specific to that individual product.
Let me know if this makes sense. In short, you’ll want to build a flow triggered by Ordered Product, add a trigger filter on it to only allow certain categories in, and then use event data from the Ordered product event in your template. Happy to answer any additional questions regarding this!
-Byrne
Hi Byrne, thank you for the detailed response.
I am triggering the flow by Fulfilled order, however this is only down to our owners preference, but if this effects the outcome I am looking for, then I am sure I can convince him to change this.
However, I am not sure that this solution would help me, but that could just be me misinterpretating your suggestion.
In short, the issue isn’t the type of customer I am reaching out to. I have filtered triggers for people who specifically purchased the products in the category I am targeting, and this appears to be working fine.
The issue is that if someone ordered a product from multiple categories, I only want 1 of them to appear in the replenishment email.
I think a simple example below is the issue I am having - My company has 3 product Categories (A, B and C)
Flow Trigger - Order Fulfilled
Conditional Trigger - Did this person order from Category B?
Yes - Wait 60 days
Standard Replenishment email (what I currently have) - Reflects the following dynamic products to repurchase, i.e.:
Product 1 - Cat A
Product 2 - Cat B
Product 3- Cat A
Product 4 - Cat C
Product 5 - Cat B
The alternative Replenishment email I am trying to build would only show the below:
Product 2
Product 5
Does this make more sense? Apologies if your response answers this, from my end it looks like the flow works roughly in the way I need it to.
Cheers
Thanks for clarifying!
If you’re looking to keep Fulfilled Order as the trigger, then you’ll need to build out some if/else statements in order to only display certain categories in the order, since the fulfilled order event will default to displaying every product in the order in a typical dynamic table.
I’d recommend taking a look at our guide on conditionals, which goes into detail about how to create an if/else statement. Creating one in your table, so it only displays a certain category of product would be the way to go.
-Byrne