# Form Attachment Added trigger

> Run a Datahub dataflow when an attachment is added to a form.

The Form Attachment Added trigger fires when a new attachment is uploaded to a form.

## Configuration

| Setting | Type | Required | Description |
| --- | --- | --- | --- |
| Platform connection | Select | Yes | The platform connection to use. |
| Collection | Select | Yes | The collection to choose the form definition from. |
| Form definition | Select | Yes | The form definition to choose fields from. |
| Included content | Checkbox | No | Includes the attachment's content as an extra column in the result when checked. |

## Output

Attachment metadata, and file content if **Included content** is enabled.

## When to use it

Use this trigger to react immediately when an attachment is added to a form.

## Tips

- Enable Included content only when needed.