Segments

3 min readUpdated 2026-05-19

What is a segment?

A segment is a saved, reusable group of user attribute rules. Instead of defining the same conditions in every flow, you create the segment once and apply it to as many flows as you like.

When you update a segment, all flows using it automatically pick up the change — no need to edit flows individually.

Creating a segment

  1. Go to Settings → Targeting → Segments
  2. Click New segment
  3. Give it a name (e.g., "Free plan users", "Enterprise trial")
  4. Add attribute rules using the rule builder
  5. Save the segment

Using a segment in a flow

When editing a flow's targeting rules, add a Segment rule and select the segment from the dropdown. The segment's conditions are evaluated alongside any other rules on the flow.

Segment rule logic

Within a segment, you can combine rules with AND or OR logic:

AND — all conditions must be true:

plan  equals  free
AND
createdAt  more than  30 days ago

(Free users who signed up more than 30 days ago — not converting)

OR — any condition can be true:

plan  equals  grow
OR
plan  equals  scale

(Any paid user)

Combining segments with flow rules

When you add a segment rule to a flow, it is evaluated as a single condition within the flow's AND chain:

[Segment: "Paid users"]  matches  true
AND
URL path  starts with  /advanced-feature

The segment is treated as one unit — if any user in the "Paid users" segment visits /advanced-feature, the flow shows.

Segment examples

New users — users who signed up in the last 7 days:

createdAt  within the last  7 days

Free plan, not converting — free users who signed up over 14 days ago:

plan  equals  free
AND
createdAt  more than  14 days ago

Admins only:

role  equals  admin

Enterprise customers:

plan  equals  enterprise
OR
company  is set

Editing a segment

Changes to a segment take effect immediately for all flows that use it. Published flows will start evaluating the new rules on the next page load.

⚠️

Be careful when narrowing a segment that's used in live flows — you may unexpectedly stop showing those flows to users who currently see them.

Deleting a segment

You can only delete a segment if no flows are currently using it. Remove the segment from all flows first, then delete it.

Was this helpful?