I have an email template with lots of blocks in it. I’d like to hide these selectively to a user based on their previous purchase (Shopify) history with us.
Block A - Hide if customer has purchased product “ABC”
Block B - Hide if customer has purchased product “XYZ”
Block C - Hide if customer has purchased product “123”
I’ve hit a number of roadblocks trying to get this to work and want to make sure I understand if I’m on the right track here:
1. You can’t use previous event data in a flow. It seems like I can only use event data as the trigger of a flow and can use that trigger data in the show/hide logic, but I can’t access previous event data.
2. I can use custom properties as the basis of show/hide logic.
So to use custom properties for a user I need to make a flow that adds the custom data when triggered and can populate this with existing profiles. The limitation of this is: I need to make a separate flow for each SKU it seems? A flow can’t perform loops, only split off users in to groups. This wont work if a user buys three products at once and I want to create a property for each product.
I guess this is the where I’m at. I’m looking at the possibility of having to set up huge amounts of flows to handle assigning custom properties and am really hoping there’s an easier way to convert event data to custom properties.