> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/workflow-builder/nodes/outputs-apps/file-output.md).

# File output

File output lets your app return a file from an earlier node for users to download.

Use it when the final result should be a document, spreadsheet, PDF, or other file.

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

### Before you start

Choose a field from an earlier node that returns a file.

<figure><img src="/files/PbY0N6gJVQG2NzPNaQln" alt="" width="375"><figcaption></figcaption></figure>

### How to set it up

1. In the **Output** node, click **+ Add**.
2. Select a file field from the list of earlier nodes.
3. Click **Ok**.
4. Choose **File** as the output type.
5. Enter a clear **Title**.
6. Click **Ok** and test the flow.

<figure><img src="/files/QTugGRTjtZZXv3rzQvH6" alt="" width="375"><figcaption></figcaption></figure>

### Settings

| Setting     | What it does                                                                    |
| ----------- | ------------------------------------------------------------------------------- |
| Output type | Sets how the selected field is shown in the app. Choose **File** for file data. |
| Title       | The label shown above the file, such as `Monthly report` or `Exported file`.    |

### Good business uses

* Deliver a generated report.
* Return an exported spreadsheet.
* Share a finished document for download.

### Next steps

* Go back to [Outputs (Apps)](/workflow-builder/nodes/outputs-apps.md).
* Create downloadable files with [File creator](/workflow-builder/nodes/built-in-tools/file-creator.md).
* Export spreadsheet results with [Spreadsheet Creator](/workflow-builder/nodes/built-in-tools/spreadsheet-creator.md).
