Skip to content

File Store

The filestore node lists, reads, writes, appends, deletes, moves, or checks files in the managed file area.

Paths are relative to the platform file-storage root. Attempts to escape the allowed root are sanitized.

PropertyPurpose
NameFlow label.
ActionFixed action, or Auto to require msg.action.
PathDefault relative file or directory path.
DestinationTarget path for Move / Rename.
EncodingUTF-8, Base64, or Binary for read and write actions.
FieldPurpose
msg.actionSelects the action in Auto mode and overrides a configured action.
msg.payload.pathOverrides Path.
msg.payload.contentContent for Write or Append.
msg.payload.destinationTarget for Move / Rename.
msg.payload.encodingOverrides Encoding.
ActionOutput in msg.payload
List filesArray with name, path, size, directory flag, and update time.
Read fileFile content in the selected encoding.
Write filenull on success; existing content is overwritten.
Append to filenull on success; creates the file when needed.
Delete filenull on success. Directories may be removed recursively.
Move / Renamenull on success.
Check if existsBoolean.

Write creates missing parent directories through the managed file service.

Delete can remove a directory recursively. Validate paths and authorization before exposing file actions to user input or an agent skill.

Failures are passed to done(err) and can be handled by a Catch node. Common causes include a missing file, invalid path, or unavailable file service.