Skip to main content

I created a flow triggered by a list. I want to wait 24 hours then I want to create a conditional split that sends email 1 to people in segment 1 and email 2 to people in segment 2. How do I do that? Looking in the options for conditional splitting, I dont see anything allowing me to split emails by segments.

Hi!

 

A couple ways you can do this (maybe more):

 

  1. You could create a segment triggered flow and then have the profile property updated with that segment name (ie. Segment1).  Then you could use the Properties about someone split based on the new user profile property you have created  (if you go this route and people can exit a segment, best practice would be to have a flow to remove the profile property).
  2. Another option is to set the criteria for those segments directly in the conditional split

Hope that helps, let me know if you have any questions!


Great suggestions @Mailbox Manny

Just to add on for more info for @crystal2222:
Currently, it is not possible to add a conditional split covering excluding or including Segments. This is due to the fact that there are no conditions which exist within the Segment builder that are not available within the Flow filter builder. Therefore, in order to achieve the same outcome, applying the Flow filters which coincide with your Segment definition will ensure that the same results are met. 
The way to do this in practice is to include all of the segment criteria in the flow filter itself (essentially rebuild the segment criteria in the filter). If you are looking to exclude people in a certain segment then you would have to include the opposite criteria in the flow filter. For example, if a segment consisted of placed order equals one over all time, and you wanted to exclude those people, the flow filter would be placed order equals zero times over all time.

I hope that this helps but please let me know if you have more questions on this.
Alex


This is due to the fact that there are no conditions which exist within the Segment builder that are not available within the Flow filter builder. 

We’re not able to recreate segments in the flow as the filters are not the same. E.g. we want to segment people who have placed an order and where the products they purchased fit into 1 of 3 categories (we have 3 segments created). We cannot add the condition of which products they purchased with the flow itself, we can only segment by those who placed an order which doesn’t help us. Are we missing something?


Hi @SkittishHeather ,

If you are looking to trigger a flow based on a specific item order, I would suggest to use the following Flow logic and change the product as necessary:

If not, double check your Placed Order events and see what has been recorded. You can place a test order on your site in order to have a Placed Order event recorded, then you will see the options in the dropdown. 
 


How would the flow to REMOVE the profile property if they exit a segment be built?


Profile filters and conditional splits do not allow for “URL contains” the way segments do, they only have the static option of “URL equals”, which doesnt work when using dynamic URLs.  

 

I need to terminate the flow for folks that click a URL that contains something.

 

How can I achieve this?


Hey ​@andreatneems,

I managed to find a workaround to make this possible, but you’d want to edit the links that contain the URLs to make this happen. If these clicked URLs are in Klaviyo emails or SMS messages, you can add a snippet around the URL that updates profiles with a certain property when somebody clicks it. After that, you can create a conditional split that check if profiles have this property.

You’d set up these URLs using this snippet:

{% update_property_link 'profile_property' 'property_value' 'redirect_link' %}

In this case, replace ‘profile_property’ with the name of the property you want to add to profiles. Replace ‘property_value’ with a value for that property and replace ‘redirect_link’ with the actual link you want people to go to.

For example, if I wanted people to click the link in the email, and be redirected to Klaviyo.com, and have their favorite color be set to blue, I’d structure it like this:

{% update_property_link 'favorite_color' 'blue' 'Klaviyo.com' %}

Does this help you achieve your goal? I definitely recognize it’s a bit of a more manual process!


Thank you ​@Byrne C ! 

I did end up explore that, but the challenge is that you can’t use dynamic redirect links using this method.

For example, the redirect link wouldnt take something like: link.com/?email={{profile.email}}…. etc, etc.  The links need to be static for this method to work. 

So I was able to modify the approach by using Zapier to achieve the same functionality of adding profile properties when the link is clicked, and added a conditional split using that profile property.

Cheers!

Andre

 


Reply