Skip to main content
Question

Replenishment Flow NOT based on last order

  • April 14, 2026
  • 6 replies
  • 39 views

Forum|alt.badge.img+6
  • Active Contributor IV

Hello,

 

I am building a product specific replenishment flow. I’m using the Placed Order trigger, with a flow filter of the specific item. 

Within Klaviyo’s pre-built email in the flow, the dynamic table pulls the data from the most recent order. I want to use the data for the most recent order that includes a specific product. Even if the customer has placed another order in between, I want the replenishment email to show the content based on the order that contained the specific product.

 

How do I do this?

 

Thanks!

BB

6 replies

ArpitBanjara
Principal User II
Forum|alt.badge.img+37
  • Principal User II
  • April 14, 2026

Hey ​@B B 

Klaviyo already does what you explained. A Placed Order-triggered flow always carries the event data from the order that triggered it, not the customer's most recent order at the time the email sends.

So if someone buys Product A in January, gets queued into the flow, and then buys Product B in February, the replenishment email will still reference the January order. The event snapshot is locked at the time of entry. Also in your case, make sure that the re-entry criteria is set to “No re-entry”. so even if they placed another order, they wont enter this flow again.

One more thing worth mentioning: if you only want profiles to enter this flow when they purchase a specific product, use a Trigger Filter rather than a flow filter. The trigger filter checks the properties inside the Placed Order event that fired the flow, so it will validate whether that specific product was actually part of the order that triggered entry. A flow filter won't do this job the same way since it checks profile-level conditions, not the triggering event itself.

I hope this helps and let me know if you have any follow up questions. 

Cheers,

Arpit


Forum|alt.badge.img+6
  • Author
  • Active Contributor IV
  • April 15, 2026

@ArpitBanjara thanks for your response!

 

I am using a trigger filter in this case. I tested the flow by placing two different orders and the email DOES show the most recent order. I don’t want to set the criteria to “No re-entry”, because I want them to receive another email to replenish after the second and third orders, etc.

 

What can I do?

Thanks!
BB


ArpitBanjara
Principal User II
Forum|alt.badge.img+37
  • Principal User II
  • April 15, 2026

 Hey ​@B B 

When re-entry is allowed and a new order comes in, Klaviyo treats that as a fresh trigger event. So the email pulls data from that newer order because that order is what kicked off the new flow instance.

I am not sure if you have this flow filter, if not i would suggest you add this - “Placed Order zero times since starting this flow - where placed order containing that specific product”

That way, if they buy something unrelated, they stay in the existing flow instance tied to the original qualifying order. Only a repurchase of that specific product will exit them and re-enter them with the new order as the trigger.

So the full setup should be:

-Trigger: Placed Order

-Trigger Filter: Items contain [specific product]

-Flow Filter: Has not placed an order where Items contain [specific product], zero times since starting this flow

This keeps the flow tied to the right order each time, and still lets it repeat every time that product is repurchased.

I hope this helps and thank you for the follow-up. 

Cheers,

Arpit


Forum|alt.badge.img+6
  • Author
  • Active Contributor IV
  • April 15, 2026

@ArpitBanjara thanks for your response! That is exactly how I have it set up and it is still pulling data from the most recent order, instead of the most recent order with that specific product


ArpitBanjara
Principal User II
Forum|alt.badge.img+37
  • Principal User II
  • April 16, 2026

hey ​@B B 

I think what you are referencing here is what you see when you ‘preview’ the email, right? The preview section of the email will show all the events for placed order, however once that profile actually goes through the flow, they will then take into consideration all the trigger filters and flow filters, so that profile that you are seeing in preview actually wont get your email.

I would suggest turning the flow live, and actually testing this out by placing test orders and seeing if you are actually receiving emails from the flow or not. 

let me know how it went. 

Thanks

Arpit


Forum|alt.badge.img+6
  • Author
  • Active Contributor IV
  • April 16, 2026

@ArpitBanjara yes, I was talking about the preview. Ok, thanks so much, I will try that!