> ## Documentation Index
> Fetch the complete documentation index at: https://help.maestra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Filter Customers into Segments

> Build a customer filter, save it as a segment, and choose how it refreshes.

Segments are saved filters you can target in campaigns, flows, and reports. Build the filter once in **Customers**, then save it as a real-time or scheduled segment.

## Create a segment from a filter

<Steps>
  <Step title="Open the customer list">
    Go to **Customer Data Platform → Customers**.

    <img src="https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_28_53PM.png?fit=max&auto=format&n=XseF7kA9tGTdWWlF&q=85&s=d6ac93b0f21bb5bf7f6b44465c389f41" alt="" width="2890" height="718" data-path="images/imported/--2025-07-30--3_28_53PM.png" />
  </Step>

  <Step title="Build your filter">
    Add conditions to narrow the list to the customers you want in the segment, then click **Apply**.

    <img src="https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_35_44PM.png?fit=max&auto=format&n=XseF7kA9tGTdWWlF&q=85&s=2aad9fc30975f30d96478051344c67ca" alt="" width="2890" height="1148" data-path="images/imported/--2025-07-30--3_35_44PM.png" />

    <Tip>
      Use **Add condition** for AND logic and **Add OR condition** when a customer should match any of several criteria. Learn more about building filters in [How to create filters](/filters/how-to-create-filters).
    </Tip>
  </Step>

  <Step title="Click Create segment">
    With the filter applied, click **Create segment** in the top right to open the segment panel.

    <img src="https://mintcdn.com/maestraio/XseF7kA9tGTdWWlF/images/imported/--2025-07-30--3_33_17PM.png?fit=max&auto=format&n=XseF7kA9tGTdWWlF&q=85&s=ad1d644c9a9554117937d746a16dd0ed" alt="" width="2904" height="776" data-path="images/imported/--2025-07-30--3_33_17PM.png" />
  </Step>
</Steps>

## Configure the segment

The segment panel opens with everything on one screen. Set the fields below, then click **Save and update** at the bottom to create the segment and run the first calculation.\\

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.42.17.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=93a5502ddbdb0be8f075e6775b0402c4" alt="Screenshot 2026 06 09 At 16 42 17" width="1228" height="1650" data-path="images/Screenshot-2026-06-09-at-16.42.17.png" />
</Frame>

### Name and system name

Type the segment name in the header at the top of the panel.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.44.06.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=63511a0f8ccd06d7d2ae32c5b261e1ee" alt="Screenshot 2026 06 09 At 16 44 06" width="2070" height="612" data-path="images/Screenshot-2026-06-09-at-16.44.06.png" />
</Frame>

The **System name** is generated automatically. Leave it as is, or edit it if you need a stable identifier for API calls or integrations.

### Type

Choose how the segment is built and refreshed.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.46.28.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=4f4c5b4c40d2ed26e7ca6b6870ddc273" alt="Screenshot 2026 06 09 At 16 46 28" width="2098" height="516" data-path="images/Screenshot-2026-06-09-at-16.46.28.png" />
</Frame>

<Tip>
  Saving a filter you just built on the Customers page? Pick **Real-time** or **Scheduled** — those are the filter-based types. **Static** segments don't use a filter at all and are set up through a separate flow ([How to Create a Static Customer Segment](/segments/how-to-create-a-static-customer-segment)).
</Tip>

| Type          | Based on                               | How it refreshes                                                         | Best for                                                                                   |
| ------------- | -------------------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| **Real-time** | Filter conditions                      | The moment a customer's data changes                                     | Saving a frequently used filter as a reusable audience                                     |
| **Scheduled** | Filter conditions                      | On a schedule you set, or on events you specify                          | Large or complex segments where real-time updates aren't necessary                         |
| **Static**    | Manual selection (no filter) or a flow | Only when you add or remove members manually, via import, or from a flow | Hand-picked lists, one-off campaign audiences, or segments managed entirely by automations |

<Warning>
  **Type cannot be changed after creation.** If you need a different type later, create a new segment.
</Warning>

Not sure which to pick? See [Types of customer segments](/segments/types-of-customer-segments) for a deeper comparison.

### More (External ID and Description)

Expand **More** under Main data to set two optional fields:

* **External ID** — your own identifier for the segment, useful when referencing it from an API or external system. Leave it blank and Maestra Platform will generate one after creation.
* **Description** — a short note (up to 300 characters) explaining who's in the segment and what it's for. Helpful for teammates picking the segment from a list later.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.51.39.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=5b41b76737c501afbd3c9eecb8fc4ea0" alt="Screenshot 2026 06 09 At 16 51 39" width="1558" height="682" data-path="images/Screenshot-2026-06-09-at-16.51.39.png" />
</Frame>

### Filter

Review the conditions you brought in from the customer list. You can keep editing them here — your changes are saved with the segment once you click **Save and update**.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.54.20.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=8e8c6f7b590ba21902b92bc7f2f3c877" alt="Screenshot 2026 06 09 At 16 54 20" width="1566" height="872" data-path="images/Screenshot-2026-06-09-at-16.54.20.png" />
</Frame>

Two buttons sit below the filter conditions:

* **Go to customers** — opens the customer list with this filter applied to preview who currently matches.
* **Reset filter** — clears all conditions so you can start over.

### Update schedule (Scheduled segments only)

If you picked **Scheduled**, configure how and when the segment refreshes.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.58.04.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=89676b5055f3c234d99fc0c88760f3d4" alt="Screenshot 2026 06 09 At 16 58 04" width="1548" height="418" data-path="images/Screenshot-2026-06-09-at-16.58.04.png" />
</Frame>

***Schedule***

Cadence of the refresh:

* **Every day** — once a day at the time you choose.
* **By days of week** — one or more weekdays at the hour you choose.
* **By days of month** — a specific day of the month at the hour you choose.

***Start time***

The time of day the refresh kicks off, in the time zone you select.

<Tip>
  Schedule recalculations at night, when database load is lower.
</Tip>

***Disable schedule if segment is not used***

This checkbox is enabled by default. If the segment sits unused for the number of days you set (60 by default), Maestra Platform automatically switches it to manual recalculation. Too many segments recalculating at once can slow each other down and add load across your project — auto-stop helps you avoid spending resources on segments no one is actively using.

You can uncheck it if you need the schedule to keep running no matter what, but we don't recommend it.

### Update on Events (Scheduled segments only)

Turn on **Update on Events** to recalculate the segment whenever specific customer events occur — on top of the scheduled refresh. Useful when you need the segment to react to key actions (a purchase, a subscription change, a custom event) without waiting for the next scheduled run.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-16.59.45.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=c53e6cb1a7e09993fd2aebc6a96518ea" alt="Screenshot 2026 06 09 At 16 59 45" width="1552" height="494" data-path="images/Screenshot-2026-06-09-at-16.59.45.png" />
</Frame>

How to set it up:

1. Toggle **Update on Events** on. An empty **Event 1** card appears.
2. Open the **Event** dropdown and pick the event that should trigger a refresh.
3. Click **+ Add event** to add more triggers. Each one is listed as its own card.
4. To remove a trigger, click the trash icon on the event card.

<Tip>
  Only add events when your use case truly calls for them. The more events a segment listens to, the more recalculations it triggers — and the more load it puts on your database.
</Tip>

### Manual update (Scheduled segments only)

Always available for scheduled segments.

### Save

Click **Save and update**.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-17.04.10.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=084ae45997f0a753feeea75abbbc8ecd" alt="Screenshot 2026 06 09 At 17 04 10" width="1830" height="1644" data-path="images/Screenshot-2026-06-09-at-17.04.10.png" />
</Frame>

You can open the segments list straight from the success popup (your new segment shows up at the top), or find it later under **Customer Data Platform → Segments**.

<Frame>
  <img src="https://mintcdn.com/maestraio/oJJ56WfgDznsSgld/images/Screenshot-2026-06-09-at-17.05.25.png?fit=max&auto=format&n=oJJ56WfgDznsSgld&q=85&s=1aa410dccb603c0698024659abc14ea5" alt="Screenshot 2026 06 09 At 17 05 25" width="2920" height="470" data-path="images/Screenshot-2026-06-09-at-17.05.25.png" />
</Frame>

<Note>
  **Real-time segments** are ready to target right away. **Scheduled segments** need to finish their first recalculation first — you can watch the status on the segment page.
</Note>
