Reads, writes, or appends to files on the server's local filesystem. Use it to persist data between runs, process uploaded files, generate reports, or exchange data with other applications running on the same server.
local_fileThe Local File node provides direct access to the filesystem of the server running Flusso. It supports three operations: reading the full contents of a file into the workflow context, writing (creating or overwriting) a file with new content, and appending content to an existing file without discarding what is already there.
Paths can be absolute (e.g. /var/data/output.txt) and support
{{ variable }} references, making it straightforward to build
dynamic filenames from trigger payloads or earlier step outputs. When the
Create Directories toggle is on, any missing parent directories in the path
are created automatically before writing.
| Field | Status | Description |
|---|---|---|
| Operation | Required |
read โ read the full file contents into memory.write โ create or completely overwrite the file.append โ add content to the end of an existing file; creates the file if it does not exist.
|
| Path | Required | Absolute file path, e.g. /var/data/output.txt. Supports {{ variable }} references for dynamic filenames. |
| Content | Required for write/append | The text or data to write. Supports {{ variable }} references. |
| Encoding | Optional | File encoding. Default: utf-8. Options: utf-8, base64. |
| Create Directories | Optional | Toggle. When on, creates missing parent directories automatically. Default: on. |
These fields are available in subsequent steps using the node's step key.
| Field | Type | Description |
|---|---|---|
content | string | File contents (read mode only). |
path | string | Absolute path of the file operated on. |
size | number | File size in bytes after the operation. |
success | boolean | True if the operation completed without error. |
/var/reports/daily.txt.append operation inside a Loop to build a log file or CSV row by row without overwriting previous data.{{ variable }} let you organise files by date, user, or run ID automatically โ for example /var/exports/{{ trigger.output.date }}-report.csv.base64 encoding option is useful when reading binary files (images, PDFs) that need to be embedded in a downstream step as a Base64 string.