# Segments

The **Segments** feature in Squarebox allows you to group customers based on specific attributes or behaviors, enabling more targeted campaigns and personalized communication. Segments are dynamic and update automatically as customer data changes, ensuring you always engage with the right audience.

### 1. Creating a Segment from the Customers Section

Follow these steps to create a segment:

1. **Select Customers**:
   * Go to the **Customers Section**.
   * Use the checkboxes next to customer entries to select the customers you want to include in the segment.&#x20;
2. **Add to Segment**:
   * After selecting customers, click on **Add/Create Segment** from the action bar at the top.
   * Choose one of the following:
     * **Create New Segment**:
       * Provide a segment name (e.g., "High-Value Leads").
       * Click **Save**.
     * **Add to Existing Segment**:
       * Select an existing segment from the list.
       * Confirm the addition of the selected customers.&#x20;

<figure><img src="/files/sGqluydDMutmp1laQmqv" alt=""><figcaption><p><em>GIF showing both creating a new segment and adding to an existing one.</em></p></figcaption></figure>

### **2. Viewing and Managing Segments**

Once a segment is created, you can view and manage it from the **Segments Dashboard**.

* **Viewing a Segment**:
  * Navigate to the **Segments** tab.
  * Click on the segment name to see the list of customers in that segment.
* **Managing a Segment**:
  * Click the **More Options (⋮)** next to the segment name to:
    * **Edit**: Update the segment name or criteria.
    * **Delete**: Remove the segment permanently.
    * **Add Campaign**: Create a campaign for this segment.

<figure><img src="/files/NWvP2xJNz9mGh1jpk6UK" alt=""><figcaption><p><em>GIF showing how to access and use the More Options menu.</em></p></figcaption></figure>

### **3. Removing Customers from a Segment**

If you need to remove a customer from a segment:

1. Open the segment by clicking on its name.
2. Locate the customer in the list.
3. Click the **More Options (⋮)** next to the customer’s entry and select **Remove**.&#x20;

<figure><img src="/files/loIUPZsWrcksA6jEDkJv" alt=""><figcaption><p><em>GIF showing a customer being removed from a segment.</em></p></figcaption></figure>

## **Best Practices for Segments**

* **Select Customers Carefully**: Use the filters in the **Customers Section** to narrow down your selection before creating a segment.
* **Keep Segments Relevant**: Regularly review your segments to ensure they align with current goals.
* **Leverage for Campaigns**: Use segments for highly targeted campaigns, improving engagement and conversions.


---

# 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://squarebox-ai.gitbook.io/squarebox/customers-and-segments/markdown.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.
