> ## 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 Create a Product Segment From a Filter

Product segments in Maestra let you group products that share the same characteristics — for example, all items from a specific category, products on sale, or items currently out of stock. Once a product segment exists, you can reuse it anywhere filters are available: inside other product filters, in campaign content, in flows, and in analytics.

The fastest way to build a product segment is to start from a filter you have already configured on the product list. Maestra will turn that filter into a real-time segment that recalculates automatically as your catalog changes.

## Steps

<Steps>
  <Step title="Open the product list">
    In your Maestra account, go to **Data → Products**.
  </Step>

  <Step title="Build and apply a filter">
    Add the filter conditions that describe the products you want to group together, then click **Apply**.

    Take a moment to confirm that the products shown in the list match what you expect — the segment will include exactly the set of products that this filter returns.
  </Step>

  <Step title="Create a segment from the filter">
    Click **Create segment**.
  </Step>

  <Step title="Fill in the segment details">
    Provide the following information:

    * **Name** (required) — the human-readable name shown throughout Maestra. Pick something descriptive, such as "Out of stock — men's sneakers" or "Discounted summer collection."
    * **System name** — generated automatically from the name, but you can edit it. The system name is used in integrations and API calls.
    * **Type** (required) — choose **Real-time**. Real-time segments are recalculated continuously, so a product enters or leaves the segment the moment it starts or stops matching the filter.
    * **Description** (optional) — a short note explaining what the segment is for and who should use it.
    * **External ID** (optional) — useful if you need to reference the segment from an external system.
  </Step>

  <Step title="Save the segment">
    Click **Create**. The segment is saved and becomes immediately available across Maestra.
  </Step>
</Steps>

## What happens next

The new segment is a real-time product segment built from a filter. You can:

* Use it as a condition inside other product filters to narrow results further.
* Reference it when configuring product recommendations, campaigns, and flows.
* Use it as a building block for more complex segmentation logic — for example, combining several filter-based product segments together.

<Note>
  Because the segment is real-time, you do not need to refresh or recalculate it manually. As soon as a product's data changes and it begins to match (or no longer matches) the underlying filter, the segment membership updates automatically.
</Note>
