# Build a customer segment
Set rules such as amount spent, last order or product bought, watch the live count, and save a segment that keeps itself up to date.
A segment is a group of customers defined by rules, such as "spent over $200 and ordered in the last 90 days". Customers join and leave the segment on their own as they start or stop matching. Use a segment as the audience for an email campaign.
```video walkthroughs/f10-customers-segments
title: Customers and segments
caption: Build a segment and watch the live count.
```
> [!NOTE]
> Segments and [customer groups](/support/customers/customer-groups) are the same thing seen from two pages. A segment you save here also appears under **Customer groups** as a dynamic segment.
## Step 1: Start a new segment
1. In the sidebar, go to **Customers** > **Segments**.
2. Choose **Create segment**.
3. Enter a **Segment name**, for example "High-value VIPs".
4. (Optional) Add a **Description**. It shows under the name in the segments list and is never shown to customers.
## Step 2: Add rules
1. Choose **Add rule**.
2. Pick a **Condition**, then a **Comparison** and a value. For example: **Total spent** ≥ 200.
3. Add more rules the same way. Remove one with **Remove rule**.
4. Under **Match**, choose **All rules** (a customer must match every rule) or **Any rule** (one match is enough).
As you build, the form shows how many customers match, for example "42 customers match". Large stores can take a minute to count.
```screenshot customers/build-customer-segments/01-segment-form
alt: The Create segment form with Segment name, Description, the Match choice of All rules or Any rule, two rules and the live customer count
caption: The count updates as you change the rules.
```
## Choose the right condition
| Group | Conditions |
|---|---|
| Orders and spend | **Total spent**, **Number of orders**, **Top spenders** (top % by lifetime spend), **RFM group** (Champions, Loyal, New, At risk, Lost), **Owes a balance**, **Never completed an order** |
| Recency | **Last order**, **Abandoned a checkout**, **Customer since** (each "within last" or "older than" a number of days) |
| Profile | **Location** (city or state), **Tag**, **Subscribed to email**, **Subscribed to SMS** |
| Purchases | **Bought product**, **Has not bought product**, **Bought from collection**, **Claimed a free product**, **Has paid for an order**, **Is in segment** |
## Step 3: Create the segment
Choose **Create segment**. Crate shows **Segment created.** and opens the segment's page, with its rules and members.
```screenshot customers/build-customer-segments/02-segment-detail
alt: A saved segment's page showing its rules, member list and the New campaign, Edit and Export CSV actions
caption: A saved segment, ready to use as an email audience.
```
## Use a segment
- **Email it.** On the segment's page, choose **New campaign** to start an email campaign aimed at this segment. See [Send an email campaign](/support/email-marketing/create-and-review-email-campaign).
- **Export it.** Choose **Export CSV** to build a file of its members. Crate shows **Segment export queued. Track it in this list.** and opens **Exports**, where you download the file when it's ready.
- **Change it.** Choose **Edit**, change the rules, then choose **Save changes**.
## Start from a default segment
Every store has ready-made segments marked **Default**, such as **Top 10% by amount spent** and **At risk of churning**. Crate keeps their rules up to date, so you can't edit them. To make your own version, open one and choose **Duplicate**, then change the copy.
## Check the limits
| | Limit |
|---|---|
| Rules in one segment | 25 |
| Products, collections or segments named in one rule | 50 |
## If something goes wrong
| Message | What to do |
|---|---|
| "Default segments can't be changed. Duplicate it to make your own version." | Choose **Duplicate** and edit the copy. |
| "Use at most 25 rules. Remove a rule before saving." | Remove rules, or split the audience into two segments. |
| "The segment was not saved." | A rule is missing a value or uses a comparison that doesn't fit. Read the message under it, fix the rule and save again. |
| "No customers match yet" | Nobody matches the rules today. The segment fills on its own as customers start to match. |
## Related
- [Customer groups](/support/customers/customer-groups)
- [Tag customers and add notes](/support/customers/add-customer-tags-and-notes)
