> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/relate/segments/segments-how-to-delete-leads-from-a-segment.md).

# Segments - How to delete leads from a segment?

You can remove leads from the segment in three ways:

1 - Inside the lead

2 - Via automation flow (bulk removal)

3 - When the lead no longer meets the segment filter

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

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

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FtuNkzk4y0K2eVE4wjnFa%2Frem1.png?alt=media&amp;token=58ee6647-6f42-4817-8598-770f1978da01" alt=""><figcaption></figcaption></figure>

Then go to System Data, and remove the segment. Click Save and close.<br>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F9rkX5a2Gdd0Br6v559hv%2Frem2.png?alt=media&amp;token=bd814302-c74e-44e2-bd8b-37c68840d83c" 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F5KEksri29cDYuEchOazZ%2Frem3.png?alt=media&amp;token=904df1ec-7fdc-4cb7-ac7f-2c969f34583f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FBuMRBPYz1dmO30DeGPXE%2Frem4.png?alt=media&amp;token=4e22234d-9b36-4e87-919f-1989477797b9" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FIuwGNbyFHGP3obaHSLV7%2Frem5.png?alt=media&amp;token=ad5115f1-5091-4035-bdda-bb2dba09cccf" alt=""><figcaption></figcaption></figure>

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

In this example, we placed 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzS6Y27JcafVAuuWmHP61%2Frem6.png?alt=media&amp;token=69fc8609-9659-4a07-b35c-d5664fccffae" alt=""><figcaption></figcaption></figure>

Then when these leads have information in the email field, they will be automatically removed from the segment.

<br>
