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

Then access System Data, and delete 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&#x26;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&#x26;token=904df1ec-7fdc-4cb7-ac7f-2c969f34583f" alt=""><figcaption></figcaption></figure>

Click +New, add a name, and specify 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&#x26;token=4e22234d-9b36-4e87-919f-1989477797b9" 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FIuwGNbyFHGP3obaHSLV7%2Frem5.png?alt=media&#x26;token=ad5115f1-5091-4035-bdda-bb2dba09cccf" 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzS6Y27JcafVAuuWmHP61%2Frem6.png?alt=media&#x26;token=69fc8609-9659-4a07-b35c-d5664fccffae" alt=""><figcaption></figcaption></figure>

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

<br>
