# Segments - How to delete leads from a segment?

You can remove leads from the segment in three ways:

1 - From within the lead

2 - Via automation flow (bulk removal)

3 - When the lead no longer meets the segment filter

**See the step-by-step below for both cases:**

**1 - In this first case from within the lead, access the lead that will be removed from the segment, click Edit**

<figure><img src="/files/ce4778ba0f20e7c50cd9f0fb360d68e48331e0cf" alt=""><figcaption></figcaption></figure>

Then access System Data, and delete the segment. Click Save and Close.<br>

<figure><img src="/files/f208f8e737b777f9d59fc3d8246cba3aa9e486ca" alt=""><figcaption></figcaption></figure>

**2 - In this second case, we will remove the lead from the segment through the Automation Flow.**&#x20;

* NOTE: Keep the flow published only if you want to perform this action in bulk. After removing the leads from the segment, deactivate the flow.

Go to Automation Flow

<figure><img src="/files/04bb76c1de3856007b3a8f2ff6dbe790f66df982" alt=""><figcaption></figcaption></figure>

Click +New, add a name, and specify the segment.

<figure><img src="/files/95da0db05fc80498eaab53624ff19a8279631eba" alt=""><figcaption></figcaption></figure>

Open the Builder, and add the action “Change the lead's segments”, and in Remove from Segments, specify the segment. Click Apply, then Save and Close.

<figure><img src="/files/95fb6302ddbd9a55d7fdf9495698349ffb47392f" alt=""><figcaption></figcaption></figure>

**3 - The third way is through the segment filter.**

In this example, we put leads that do not have an email filled in into a segment.

Enable the option: Remove leads that no longer meet the filter (YES)

<figure><img src="/files/9130302b63eee7512279d68cf502446b64bde7ec" alt=""><figcaption></figcaption></figure>

So when these leads have the email field populated, they will be removed from the segment automatically.

<br>


---

# 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.sprinthub.com/en/topics/relate/segments/segments-how-to-delete-leads-from-a-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.
