Create a Segment



Unlike traditional subscriber lists, segments are defined by a set of conditions. Klaviyo's segment builder allows you to create dynamic cross-sections of your contacts that will update in real-time. A few examples of useful segments you may want to build:

  • A segment of customers that purchase a new product before that product even goes to market, so you can watch the segment grow after launch
  • Isolate your inactive subscribers by finding those who have been on your list for at least 6 months but have never opened or clicked an email
  • Build a segment of your VIP customers, which includes everyone who has purchased at least X number of times before or have spent over Y amount of money
  • Analyze the lifetime value (LTV) of your customer-base by creating segments that capture different ranges of total spending

Create a Segment

Navigate to the Lists & Segments tab in your account and click Create List / Segment in the upper right corner of the window. Next, choose Create a Segment on the creation page.

After clicking Create a Segment, you'll be taken to the segment builder.


Depending on the size of your segment, it may take a while to populate. If you're planning on sending a campaign to a segment, please allow time for your segment to populate before scheduling the email.

Condition: What Someone Has/Has Not Done

This condition allows you to segment profiles based on their activity. If you explore the Metrics tab of your account, you will see all of the activity Klaviyo tracks through your different integrations. All of these metrics are available for segmentation using the What someone has done (or not done) condition.

For example, you can find all customers that have made at least two purchases:

As you explore this condition, you can adjust and filter the following aspects of the metric you select:

  • Frequency: After selecting an activity, you can segment based on how often (or not often) people have done the activity. The allowed operators are:
    • at least once
    • zero times
    • equals (is exactly the number specified)
    • doesn't equal (is not exactly the number specified)
    • is at least (greater than or equals)
    • is greater than
    • is less than
    • is at most (less than or equals)
  • Timeframe: After choosing a frequency, you will also need to select a timeframe over which we'll count the number of events for each person. These calculations are based on UTC. The options here are:
    • over all time
    • in the last (within the last X days, weeks or months)
    • between (between two relative dates i.e. between 30 and 90 days ago)
    • before (before a specific date)
    • after (after a specific date)
    • between dates (between two specific dates)

If you click the Add Filter button, you can further hone which types of events are counted. All metrics have a unique set of properties associated with them, and you can leverage these properties to be more specific about who you capture in your segment.

For example, if you have an Ordered Product metric that represents each time some purchases a product, you might want to filter on the "Name" property to find people who bought a specific product.


Condition: Properties about Someone

This condition allows you to filter based on profile properties, i.e. the information you've collected on your contacts in Klaviyo. Out-of-the-box, Klaviyo you can use the following profile properties to build a segment:

  • City
  • Country
  • Email 
  • First Active
  • First Name
  • Initial Source
  • Last Active
  • Last Name
  • Organization
  • State / Region
  • Unique ID
  • Zip Code

As you collect additional information about your contacts (i.e. custom properties), you will be able to use this information to build segments. For example, if you collect data on "Gender" from your newsletters subscribers, you will be able to segment based on gender.


After selecting a profile property for segmentation, you will also be able to select an operatorThe options available will depend on the data type of the property. Below are the operators for string properties:

  • equals
  • doesn't equal
  • contains (property value contains the string specified)
  • doesn't contain (property value does not contain the string specified) -- please note that this will not grab those with a value not set. For example, if you build a segment of people whose Country does not contain United States, this will only pull in those with a Country value set to something other than the United States, not those with the Country value not set.
  • is in (property value is in a set of values)
  • is not in (property value is not in a set of values) 
  • starts with (property value starts with the string specified)
  • doesn't start with
  • ends with (property value ends with the string specified)
  • doesn't end with
  • is set (property exists for the profile)
  • is not set (property does not exist for the profile)

After choosing a property and an operator, the final piece is the dimension value. When you click, this value field will populate with a drop-down menu that features all available values given the property, operator, and data type selected.

If the property you select contains values that are numbers or dates, make sure to adjust the data type appropriately. Doing so will reveal type-specific operators and this will impact the values available for segmentation.

Below are the data types available:

  • String: string value of plain text
  • Number: integer value
  • Date: datetime value
  • Boolean: true or false value
  • List: array of values, e.g.  ["Offer1", "Offer2"]

Condition: Someone's Proximity to a Location

In the United States, Canada, Europe, Australia, and New Zealand, you can use postal codes to filter a segment by the location listed in a recipient's profile. This enables you to send regionally specific information to people who live at a set distance away from a location.


If you have a brick-and-mortar store or an in-person event, this allows you to target your customers and brand enthusiasts who may be interested in attending.

Even if you don't have a physical store, you can use this feature to send information about regionally specific products (i.e. gloves in cold places during the winter) or send promotions to a certain area. Additionally, this allows you to use a signup form to create a popup that will display to a particular region, allowing you to personalize your recipient's experience on your website.

Condition: If Someone is In or Not In a List

This condition can be used to segment if someone is a member of (or not a member of) a specific list. This is an important condition to use if you are sending newsletter emails to a segment since you'll always want to make sure these recipients subscribed to your newsletter list before emailing them. Here are a few other key use cases for this condition:

  1. If you want to combine two or more lists, you can configure a segment to include everyone in these lists using this condition once for each list; make sure to separate each condition with an "OR" connector
  2. If you want to create a segment of a specific list that captures a cross-section of that list; for example, the following segment will curate everyone in your newsletter List from the United States:
    When segmenting based on whether or not someone is in a list, you can filter based on when that person was added to the list:
  • in the last (within the last X days, weeks or months)
  • between (two relative dates)
  • before (a specific date)
  • after (a specific date)
  • between dates (two specific dates) -- this is fully inclusive, meaning it will include people from both the dates specified


Condition: If Someone is or is Not Suppressed

Segments do not automatically exclude profiles that are suppressed (either because the users unsubscribed or emails to them bounced). If you'd like an accurate number of the emailable people your segment is meant to capture, adding this segment condition is useful. Make sure to always add this condition using the AND connector after the previously added condition. While suppressed profiles will be skipped if you try to send an email to them, this condition is most useful when trying to get an accurate head-count.


Condition: Predictive Analytics About Someone

Please note that you will only see this option if:

  • At least 500 customers have placed an order. This does not refer to Active Profiles, but rather the number of people who have actually made a purchase with your business. If this section is on a profile but is blank, this means we don't have enough data on that individual to make a prediction.
  • You have an ecommerce integration (e.g. Shopify, BigCommerce, Magento) or use our API to send placed orders.
  • You have at least 180 days of order history and have orders within the last 90 days.
  • You have at least some customers who have placed 3 or more orders.

This can be used if you would like to segment based on customer lifetime value (CLV). When using this the Predictive analytics about someone condition, you'll have the following options:

  • Historic CLV
    This is the sum of all the previous purchases an individual has made.

  • Predicted CLV
    This is a prediction of how many purchases a particular customer will make in the next year. This is not an exact prediction, so in some cases, you may see an impossible number of predicted orders. For example, you may see 1.43 as the number of predicted orders for a particular customer. 

    This means we expect the customer to make one or two orders, but there’s also a chance that they'll make more or fewer. These expectations start to make sense when you group multiple customers together because you can predict the total number of orders or spend for the group. If we have five customers with a predicted number of purchases of 1.43, 0.25, 3.12, 0.78, and 2.97, we can expect approximately 9 purchases across this group.

  • Total CLV
    This is the sum of the Historic CLV and Predicted CLV of a customer.

  • Predicted Number of Orders
    This is the predicted number of orders a customer will place over the next year.
  • Average Time Between Purchases
    This is an average of the number of days that have elapsed between each of a customer's purchases.


When building these segments, you can restrict your desired value to:

  • is at least
  • is at most

Using AND vs. OR to Add Conditions

Using the "OR" connector between a sequence of segment conditions will make the segment more inclusive. We will check each condition in the sequence individually. For example, if Joe meets one condition in the sequence but does not meet another, Joe will still be included in the segment.

In the following example, anyone who is in our newsletter list OR anyone that has placed an order at least once before will be included. So, this segment will capture everyone who is in our newsletter list as well as anyone who has ever placed an order, even if there is no overlap between them:


Using the AND connector between conditions will make a flow filter more exclusive. We will check each condition separately AND individually, but each condition must evaluate to true in order for someone to be included. If Joe meets one condition but doesn't meet another, Joe will be excluded from your segment.

In the following example, only those that are in our newsletter list AND also have placed an order at least once before will be included. So, if someone is in our newsletter list but hasn't placed an order, they will not be included.


Was this article helpful?
30 out of 44 found this helpful