# Segment

Segments allow you to target specific contacts based on custom conditions. Here's how to create a new list segment using the available options.

Go to the **Contacts** <img src="https://3105319611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC0itf53N6qCT1XIxmRvh%2Fuploads%2FUpsvKmu73sunmqbwlB19%2Fimage.png?alt=media&#x26;token=603acf72-fb2c-4cd5-9554-8f03c59f7d12" alt="" data-size="line"> section, select the desired contact list

Then click on the **Segments** tab. <img src="https://3105319611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC0itf53N6qCT1XIxmRvh%2Fuploads%2FgLiHrtD2r1eY4eTtrhZX%2Fimage.png?alt=media&#x26;token=cd8bd1cf-fc6f-484d-ba52-66963f6f9584" alt="" data-size="line"> From there, you can create or manage segments for that specific list.

<figure><img src="https://3105319611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC0itf53N6qCT1XIxmRvh%2Fuploads%2FICxlzOidV8N0nxZ82bvz%2Fimage.png?alt=media&#x26;token=03777920-9769-4652-b3bc-819e019fb6ad" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3105319611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC0itf53N6qCT1XIxmRvh%2Fuploads%2F4iT3OSPAVqh3Gh0XQZey%2Fimage.png?alt=media&#x26;token=8001d107-b500-4e38-8a5a-9addcced7565" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3105319611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC0itf53N6qCT1XIxmRvh%2Fuploads%2FMmORpfSdLFmxIfafBFXJ%2Fimage.png?alt=media&#x26;token=a98d19cc-583f-4e48-a954-0e1b21b65a31" alt=""><figcaption></figcaption></figure>

### 1. Name Your Segment

* **Name**: Provide a name for your segment to easily identify it later. This is mandatory.

### 2. Define Operator Match

* **Operator Match**: Choose between **any** or **all** conditions.
  * **Any** means that contacts will be included if they meet at least one of the conditions.
  * **All** means contacts must meet all specified conditions to be part of the segment.

### 3. Set Conditions for Custom Fields

Under "Conditions that apply to your list custom fields," you can define filters based on specific fields within your list:

* **Field**: Choose the field to filter by (e.g., Email, Name, or any custom field).
* **Operator**: Select the comparison operator (e.g., "is," "contains," "starts with").
* **Value**: Enter the value for the field (e.g., a specific email address or part of a name).
* **Action**: You can add or remove conditions using the plus (+) and trash bin icons, respectively.

### 4. Set Conditions for Campaigns

Under "Conditions that apply to the campaigns sent to the list this segment belongs to," you can define conditions based on your campaign data:

* **Campaign Action**: Choose the action from the campaign data (e.g., Open, Click, Non-).
* **Campaign**: Select the specific campaign or choose "Any list campaign."
* **Comparison**: Choose how you want to compare the results (e.g., "Less than or equal to").
* **Time Value**: Set a numerical time value (e.g., 60).
* **Time Unit**: Choose the time unit (e.g., Days, Hours).

You can also add or remove conditions using the plus (+) and trash bin icons.

### 5. Save Your Segment

Once all conditions are set, click on **Save changes** to create and save the segment. The system will now segment your contact list based on the specified criteria.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.senderwiz.com/popular-topics/contacts/segment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
