Rule-Based Segments
A rule-based segment contains the customers who match conditions you set, such as “customers in Mumbai who bought in the last 30 days”. It’s the most common segment type, and the one to use whenever you can describe the audience yourself.

Static or dynamic
Rule-based segments have a Sub-Type:
| Sub-type | How it works | Use it for |
|---|---|---|
| Static | The audience is fixed when the segment is created and doesn’t change. | One-off sends, event invitations, test groups, or any list you need to keep exactly as it was. |
| Dynamic | The audience updates automatically as your data changes: new customers who match join, and customers who stop matching leave. | Always-on campaigns and journeys, such as welcome series, win-back or renewal reminders. |
Start a segment
- Go to Data > Segments and click Create segment.
- Enter a Segment Name, an optional Segment Description, at least one Segment Tag and an Objective, for example Win Back Lapsed Customers or Cross-Selling or Upselling.
- Under Type, choose Rule Based.
- Choose the Sub-Type: Static or Dynamic.
- Choose the Aggregation Level: Customers (target customers on their full profile and history) or Events (target customers based on individual actions, such as clicks, views or downloads).
- Click Next.
Note: Segment names can’t contain two special characters or spaces in a row.
Build the conditions

- Under Customer Base, add a Condition. Choose a category, such as Identity, Contact, Demography or Consent, then the attribute, the operator and the value. You can also use events, derived attributes such as purchase count or last purchase date, model scores and tags.
- Combine conditions with AND (all must match) or OR (any can match).
- Click Group to nest conditions, for example
(city = Mumbai OR city = Pune) AND last purchase within 30 days. - Click Add Customer Rule for another rule, or Add Another Cluster for a separate group of rules.
- Click Add Exclusion to leave out customers who match certain conditions, for example customers who bought in the last 7 days.
- Click Check Count to see how many customers match.
- Save the segment.
The Summary panel describes your logic in plain language, and DSL Output shows the query behind it, which you can copy.
Examples
| Goal | Conditions |
|---|---|
| Win back lapsed buyers | Purchase count ≥ 1 AND last purchase more than 90 days ago, excluding customers who unsubscribed from email |
| Renewal reminders | Policy end date within the next 30 days AND policy status = Active |
| Cart abandoners | Event added_to_cart in the last 24 hours AND no purchase event in the last 24 hours |
| High-intent leads | Customer Score ≥ 70 AND consent for WhatsApp = true |
Good to know
- Dynamic segments are recalculated automatically. Use Refresh on the segment for the latest membership right before a campaign.
- To describe a segment in plain English instead, use Build Segments with Eddie AI.
- Suppressed customers are left out at send time, even if they’re in a segment. See Suppression Center.
Related articles
© 2026 FirstHive. All rights reserved.