> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Text File

> Turn string content into a named file.

**Create Text File** packages a string as a file that can be uploaded, emailed,
stored, or returned from a workflow.

## Inputs

| Input         | Type   | Required | Description                                                   |
| ------------- | ------ | -------- | ------------------------------------------------------------- |
| **Content**   | String | Yes      | The complete text written to the file.                        |
| **File Name** | String | Yes      | The output name, including an extension such as `report.csv`. |

## Output

| Output   | Type | Description                          |
| -------- | ---- | ------------------------------------ |
| **File** | File | A file containing the supplied text. |

The MIME type is inferred from the filename when its extension is recognized.

<Tip>
  Include the correct extension in **File Name**. For example, use `.json` for
  JSON content and `.html` for an HTML document.
</Tip>
