Portal Community

read-file

Reads a file from storage and makes its content available to downstream nodes.

FieldDescription
File Path / KeyStorage path or expression resolving to a file key (e.g., {{$json.attachmentKey}})
Read ModeText (UTF-8 string), Binary (base64), Auto-parse (JSON/CSV/XML detected automatically)
EncodingCharacter encoding for text mode (default: UTF-8)

Output: { key, name, mimeType, size, content }

write-file

Writes content to a file in storage.

FieldDescription
File NameOutput file name (supports expressions)
ContentText string, JSON object, or base64 binary data (auto-detected)
Storage PathTarget folder in file storage
OverwriteIf a file with the same name exists: overwrite or version

Output: { key, name, url, size, uploadedAt }

delete-file

Deletes a file from storage. Typically used for cleanup — removing temporary files created during processing.

FieldDescription
File KeyStorage key of the file to delete (expression supported)
Fail if Not FoundToggle: fail with error, or skip silently if file does not exist

File Storage Architecture

File nodes do not interact with a local disk. They call the BizFirstAI file storage service, which abstracts:

All file keys follow the pattern: {tenantId}/{executionId}/{filename}. Files created during an execution are automatically tagged with the execution ID for audit and cleanup purposes.