> 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/automation-flows/common-questions/automation-flow-segmenting-leads.md).

# Automation Flow - Segmenting Leads

Lead segmentation is essential to improve the effectiveness of your marketing and sales campaigns, increase customer satisfaction, and achieve better results.

<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&amp;token=c71755ca-2be6-40f0-b44b-e52d578c6920" alt=""><figcaption></figcaption></figure>

To create an Automation Flow aimed at segmenting your leads, follow these steps: Click "**Link**" 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&amp;token=198acba9-733f-47e0-9ce8-7805d33a2fb4" alt=""><figcaption></figcaption></figure>

Click on "**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&amp;token=0eb9e98d-9f6e-4a23-bf93-322da458b2bf" alt=""><figcaption></figcaption></figure>

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

{% content-ref url="/pages/10234c59899052b81bfce7bb0ffb9c008c2aaf0b" %}
[Automation Flows](/en/topics/relate/automation-flows.md)
{% endcontent-ref %}

Click 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&amp;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.&#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&amp;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&amp;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 it 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&amp;token=1dc7703b-5093-4809-8b7c-3d2a8fe25901" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/relate/automation-flows/common-questions/automation-flow-segmenting-leads.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
