Solved

Show/Hide Logic based on if someone has made a purchase or not

  • 5 January 2023
  • 1 reply
  • 744 views

Badge +3

I’m having trouble figuring out how to use the Show/Hide logic to display a block only to profiles that have not made a purchase, my platform is Woocommerce.

I can find syntax examples based on product purchased, age, etc but I can’t figure this one out. I do have a segment of profiles that have never purchased - is it possible the create logic based on a profiles inclusion of a specific segment?

I don’t want to do a conditional split as that will make the flow get pretty complicated.

 

icon

Best answer by Jessica eCommerce Badassery 5 January 2023, 00:34

View original

1 reply

Userlevel 5
Badge +18

@slieneke the best way to do this is to create a flow that adds a custom profile property when someone places an order and then use that for your dynamic content condition. 

 

If you want to be able to back-populate the flow and update everyone who has ever placed an order, you’ll want to create a segment of people who have purchased and trigger the flow from that.

Otherwise you can trigger it from the placed order event and then just add a filter, has not been in this flow at any time so they don’t go through again and again for no reason. 

 

Then the only thing that flow does is:

Create Profile Property > Made Purchase > Yes

  • I prefer to use text fields whenever possible because it’s easiest. 

 

In whatever emails you’re sending, the dynamic condition would be

not person|lookup: ‘Made a Purchase’ 

^^^ That’s essentially saying the field is not set

You can see common conditions here

 

You can also do inside a flow if you just want to know if they’ve placed an order since starting that specific flow like a welcome series. So you can do the conditional split right before the next email is about to send. 

Those who placed the order get the profile property and then you just reconnect the flow branch to the main one. 

 

Hope that helps!

Reply