> For the complete documentation index, see [llms.txt](https://docs.empowergpt.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.empowergpt.ai/workflows/block-types/form-trigger.md).

# Form Trigger

The **Form Trigger** starts a workflow by collecting information from the user through a configurable form.

When the workflow is started, the user is presented with the fields configured in the Form Trigger. Once the required information is provided, the submitted values become available as variables that can be used by subsequent blocks in the workflow.

The Form Trigger is useful when a workflow requires information, numbers, or files directly from the user before execution can begin.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FCl6IJEK1z0XdQcMDVgAT%2Fimage.png?alt=media&amp;token=33e26a02-75b1-42e9-a5a5-e787e13a236c" alt=""><figcaption></figcaption></figure></div>

### When to Use the Form Trigger

Use the Form Trigger when your workflow requires user-provided information at the start of its execution.

Common use cases include:

* Uploading documents for AI processing
* Collecting text instructions or questions
* Providing numerical values for calculations or analysis
* Submitting files for extraction or summarization
* Collecting multiple inputs before starting an automated process
* Providing an authenticated form that users can access without opening the Workflow Builder

***

## Configuration

Add the **Form Trigger** as the starting block of your workflow.

Configure the fields that should be presented to the user when the workflow is started. You can add multiple fields depending on the information required by your workflow.

The Form Trigger supports three field types:

| **Field Type** | **Description**                                                      | **Example Uses**                             |
| -------------- | -------------------------------------------------------------------- | -------------------------------------------- |
| **Text**       | Allows the user to enter text information.                           | Instructions, questions, names, descriptions |
| **Number**     | Allows the user to enter a numerical value.                          | Quantity, amount, score, threshold           |
| **File**       | Allows the user to upload a file for processing within the workflow. | PDFs, documents, spreadsheets, images        |

Each field creates an output that can be referenced by subsequent blocks.

### Text

The **Text** field allows users to provide text as an input to the workflow.

Use a Text field whenever a subsequent block requires information or instructions entered by the user.

For example, a workflow could contain:

**Form Trigger**

* `Document` – File
* `Instructions` – Text

The Agent can now receive both the uploaded document and the user's instructions.

### Number

The **Number** field allows users to provide a numerical value to the workflow.

Use this field when the workflow requires numeric information that may be used for processing, calculations, conditions, or AI instructions.

### File

The **File** field allows users to upload a file when starting the workflow.

Uploaded files can be passed to subsequent blocks for tasks such as:

* Document summarization
* Information extraction
* Document analysis
* Data processing
* AI-based document review

***

## Field Options

### Required Field

Enable **Required Field** when the user must provide a value before the form can be submitted.

When enabled, users cannot submit the form without providing a value for that field.

Use this option for inputs that are necessary for the workflow to execute correctly.

> **Tip:** Only mark fields as required when the workflow cannot execute correctly without them.

### Allow Multiple Files

For **File** fields, enable **Allow Multiple Files** when users should be able to upload more than one file through the same field.

When disabled, the user can upload a single file. When enabled, multiple files can be provided through the field.

This is useful for workflows that need to analyze, process, or compare multiple documents.

***

## Published Form

A workflow that uses a Form Trigger can be made available through a **Published Form Link**.

The link provides authenticated users with a dedicated form where they can provide the inputs configured in the Form Trigger without accessing the Workflow Builder.

The Published Form follows this process:

**Published Form Link → User Authentication → Form Submission → Workflow Execution**

#### Sharing the Form

Once the form is published, its link can be shared with other authenticated EmpowerGPT users.

Users can open the link, view the configured form fields, provide the required information, upload files where applicable, and submit the form.

Authentication ensures that only users who can authenticate with EmpowerGPT can access and submit the form.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.empowergpt.ai/workflows/block-types/form-trigger.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
