--- title: "Write Text File" slug: "write-text-file" updated: 2024-04-16T11:16:18Z published: 2024-04-16T11:16:17Z 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 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 that evaluates to a string that represents the content to be written to the file. |