> 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/triggers/automation-flow-submitted-a-form.md).

# Automation Flow - Submitted a form?

<figure><img src="/files/4283b69605620f36304172eb32482df666efe44e" alt=""><figcaption></figcaption></figure>

In this automation, your flow will be triggered when a lead fills out a form.

To create your automation, go to the automation flow builder, click '**Trigger**' and then choose '**Submitted a form?**'.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeMR3JOw7P2nVipS0f9NcVLvrDOZP8UwUTs8ObLZoXaV5s-F04NqYASvruG3qQjb2yGD39xxc7S7lAQZmEtjziqm7lNGqJAunFge8wwfXHO1mOicKzEhtIzCk9xd78y7hD8RfzrjQ?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAUXOap4ZZHZBIIi63i-NLL16RYjrwMzHWXH_uVWvKG8YnKIS7hHQVyhBCYjH_gAdAXYx-qtrtz7ijwh1qfZAFqXmqz2YCGhVgubtqn304SkpYPMF_eorcFKVsyWNUFvvdUgv44w?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

Then choose which **form** you want to create the automation for, and set whether you want it to run only at **times** specific and on **days** specific.

{% content-ref url="/pages/4b1d0e34b9c2d3bbcba3394729bb3c6d8321d3d1" %}
[Forms - Form Creation](/en/topics/convert/forms/forms-initial-settings/forms-form-creation.md)
{% endcontent-ref %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdssVP5CxHgXHVaF5slY28_ttz1F3BjdUFIgQ16VOm2OFMZN54wz6v_Qdt4PiYA_KRVT7Q0CM2qmazZ_CV6x73DPJzWClCuQlkdoigtPsRxXsB6Bl6qL84ZgbxyDXnM7_UfociS?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

Based on the action taken by your lead, you can trigger a **Action** or a **Condition**. In the example, we will use an action.

You can modify the lead segment to keep your lead base more organized, to send the right content to each segment, working your lead more effectively.

{% content-ref url="/pages/430a797159546371edd1e2fbb2a4fe8a2e3ddca4" %}
[Segments](/en/topics/relate/segments.md)
{% endcontent-ref %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcEIl80hQPejkJVpiokLKDZbliZ8J9XOONf7nmZugboMUF3mh-Tqi0EZIslMLzfmTRu6T49d6d4Xb3o7LfWo0wRh5gDZ4cYRU4JIVVFa5efIeBy3h1gNXNunzKgkgp1ade47f-f?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/796b012db514cb8000623b1864c4c9e088e3429c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeCHt6RfYFydIr8G3n8DUXTvpG19NFPFUbDLUETqtNS4gFUPc1xXT4LMPDXBxCfCcWmuCse0LYfxu5_TrUojVxA5AonO32aqKzDR6eP8sSI6Rz9_-XKaXUr6zGnpXmxX-beZK6s?key=iViWimax5hoN1u30XkPlSys7" alt=""><figcaption></figcaption></figure>

After the lead fills out the form with important information, such as name, phone number, and email, you can run the automation flow in several ways to meet your specific goals.

{% content-ref url="/pages/5f8c8d93350d0ad6689cb4fcff63a2ee46cb9e78" %}
[Automation Flow - Segmenting Leads](/en/topics/relate/automation-flows/common-questions/automation-flow-segmenting-leads.md)
{% endcontent-ref %}


---

# 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/triggers/automation-flow-submitted-a-form.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.
