# Automation Flow - Segmenting Leads

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FYjSVu8Mg4SCfz2HbWfqC%2Filustracao-do-conceito-abstrato-de-segmentacao-de-audiencia_335657-1854.png?alt=media&#x26;token=c71755ca-2be6-40f0-b44b-e52d578c6920" alt=""><figcaption></figcaption></figure>

To create an Automation Flow aimed at segmenting your leads, follow these steps: Click on "**Relate**" and then choose "**Automation Flows**".

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7PrjCxhEBOXHiV5frw9g%2Fimage.png?alt=media&#x26;token=198acba9-733f-47e0-9ce8-7805d33a2fb4" alt=""><figcaption></figcaption></figure>

Click "**Open Builder**" :

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F3thgjx6JObrtfU2ZzE2U%2Fimage.png?alt=media&#x26;token=0eb9e98d-9f6e-4a23-bf93-322da458b2bf" alt=""><figcaption></figcaption></figure>

*Learn how to create an Automation Flow:*&#x20;

{% content-ref url=".." %}
[..](https://docs.sprinthub.com/en/topics/relate/automation-flows)
{% endcontent-ref %}

Click to start and select your **Trigger**, **Action** or **Condition**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Ff7VaqyGoEnCysitnE3Oj%2Fimage.png?alt=media&#x26;token=9d8c8704-ac1e-4612-b66b-1e91e7704d51" alt=""><figcaption></figcaption></figure>

In the example, a Trigger was set, which would be "Clicked inside an email?".&#x20;

Then select which email the lead should click on.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FOf5lCJXgByGqKwl8ZGJE%2Fimage.png?alt=media&#x26;token=230d5b62-07f5-4a2b-bfc9-76f877cefc5e" alt=""><figcaption></figcaption></figure>

Select "**Change the Lead's segments**".

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FIEsUYycq0dDFf0NvUQKM%2Fimage.png?alt=media&#x26;token=a16fdd0d-404b-4a86-877e-6f7c236bcb3b" alt=""><figcaption></figcaption></figure>

Choose the segment you want this lead to be associated with and, if necessary, remove them from any other segment.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FpyvSE9pzBG1yaG71l8kz%2Fimage.png?alt=media&#x26;token=1dc7703b-5093-4809-8b7c-3d2a8fe25901" alt=""><figcaption></figcaption></figure>

With segmented leads, you can perform specific actions targeted to each group, which can result in improved performance and more effective outcomes.
