Skip to main content
Solved

Triggering events when customer spend passes thresholds


Forum|alt.badge.img+1

Hi,

 

I’m trying to set up a flow for the following use case:

“Every time a customer’s total spend passes a $200 threshold, send them a promo code with a $10 discount”


Our system uses the Klaviyo API to send subscribers/orders, and has a end-point to trigger the promo code creation (and trigger another flow to send an email).

How would you go about tracking how much a customer has spent and when they’d been sent previous promos?

 

I’m trying to do this using a “Dollars Since Last Promo” Subscriber property and increasing this by order totals, then decreasing it when an promo is sent. However, it seems (unless I’m mistaken) that Flows cannot modify a subscriber property based on its existing value or an event property.

 

Can you think of a way to achieve this outcome?
 

Thanks!

Best answer by alexratcliff

Hi Robin,

 

Would you be better to create a segment for this? So your segment could sit as ‘Total Customer Lifetime Value’ is greater than / or between 200-399 and 400-599.

 

Then set your flow trigger as ‘added to segment = x’ 

This way you will have this running and reactive at all times.

 

Then i would change the profile property to reflect they’ve been through this flow.

 

Let me know what you think!

Alex

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

alexratcliff
Problem Solver III
Forum|alt.badge.img+4
  • Problem Solver III
  • 17 replies
  • Answer
  • August 5, 2024

Hi Robin,

 

Would you be better to create a segment for this? So your segment could sit as ‘Total Customer Lifetime Value’ is greater than / or between 200-399 and 400-599.

 

Then set your flow trigger as ‘added to segment = x’ 

This way you will have this running and reactive at all times.

 

Then i would change the profile property to reflect they’ve been through this flow.

 

Let me know what you think!

Alex


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 1 reply
  • August 6, 2024

Thanks Alex, I think that’s what I was looking for! I’ll give it a shot