# Automation Flow - Segmenting Leads

<figure><img src="/files/c019b82a2542754de0087cff589105827a693dcb" 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="/files/0484f3c3b17f563d6983bc85c254a919b88fab6c" alt=""><figcaption></figcaption></figure>

Click "**Open Builder**" :

<figure><img src="/files/86aaee8282d74ba8dbd1ebcf91bd1daa7b668739" 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 to start and select your **Trigger**, **Action** or **Condition**.

<figure><img src="/files/a231d2f356c01d839ba2886fed9874ddb003d9fd" 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="/files/047bb036dc0d2f0f9798a137d8142cd837099f5a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/722d6b07d9c5749ec4ad22e8f6fbdad6d8a87897" 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="/files/3934430955056e3673a43b1d01e026c585f7be4d" 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.


---

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