--- title: "Write Text File" slug: "write-text-file" updated: 2024-05-04T18:22:01Z published: 2024-05-04T18:22:01Z canonical: "help.mail-and-deploy.com/write-text-file" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Write Text File General This type of action can be used to write text into a file. NOTE This type of action is not available in the SaaS version of Mail & Deploy. ### Properties This type of action has the following properties: | Name | Description | | --- | --- | | Mode | *Overwrite file*. If you choose this option, the file will be overwritten if it already exists. Otherwise, a new file will be created. *Append to file*. If you choose this option, the content will be appended to the file if it already exists; otherwise, a new file will be created. | | File Path | An [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) that evaluates to a string that contains the local or UNC file path to write text to. | | Encoding | The encoding to use when writing the file. | | Content | An [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) that evaluates to a string that represents the content to be written to the file. |