# Create a form

A form is a window with specific fields (question and answer) designed to capture structured data. It serves as the entry point to feed your systems, databases, or automations.

<figure><img src="/files/hOrQkj1GbhUadPJhalNv" alt=""><figcaption></figcaption></figure>

### Components of a Form:

* Input Fields: Where the user types (Text, Email, Numbers).
* Selectors: Pre-defined options (Multiple choice, Dropdown, Checkbox) that prevent typing errors.
* Conditional Logic: When the form changes based on a previous answer (e.g., if you check "Yes", a new question appears).

### How to use Forms strategically:

1. Entry Point for Automations: A form is one of the best Triggers that exist.
2. Prompt Builder: You can create a form to generate consistent prompts by combining different answer fields.
3. Feedback and Data Collection: Ideal for ensuring that information always arrives in the same format to facilitate later analysis.

<figure><img src="/files/xirjze83akaTKTkbmXvp" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Using forms eliminates the confusion of disorganized data in chats or emails.
{% endhint %}

Congratulations! You've learned about all of our elements; now let's delve deeper into workflows and webhooks.


---

# 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.snackprompt.com/how-to/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.
