Write file
Writes or appends text, lines or a binary to a file in an allowed folder
Also available to AI agents and over MCP as a tool.
Parameters
Section titled “Parameters”root
Folder · string · optional
The folder: empty = this workflow’s own folder, or one of the allowed folders.
path
Path · string · required
Path of the file inside the chosen folder. Missing folders are created when that option is on.
content
Content · string · required · default text · one of text, lines, binary
What to write: a text, lines, or a file from the item.
text
Text · string · optional
The text to type. Expressions insert item data.
Shown when content is text.
lines
Lines · string · optional
Shown when content is lines.
binaryProperty
File field · string · optional · default data
Shown when content is binary.
mode
Mode · string · optional · default append · one of overwrite, append, appendUnique
Overwrite the file, append to its end, or append only lines it does not have yet.
createFolders
Create missing folders · boolean · optional · default true
Outputs
Section titled “Outputs”main