# Automation Flows - Trigger by segment and form

In this tutorial, we will cover a practical and efficient strategy for finding and organizing leads in the SprintHub system, executing the flow by segment, or by form submission.

You will learn:

* How to automatically locate leads using a specific segment filter. To create a segment,  [click here.](https://docs.sprinthub.com/topicos/geral/crm/crm-automacoes/crm-criacao-automatica-de-oportunidade-em-uma-etapa-do-funil)
* Step by step on how to trigger the automation flow for segmented leads.
* In addition to an alternative for automatically triggering the flow for leads that submit a form. To learn about SprintHub forms, [click here.](https://docs.sprinthub.com/topicos/converter/formularios/formularios-videos-tutoriais/formularios-criacao-de-formulario-modelo)

Check out the tutorial below:&#x20;

{% embed url="<https://youtu.be/lqSIB2clXfE>" %}

<br>


---

# 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/tutorial-videos/automation-flows-trigger-by-segment-and-form.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.
