blokboard/ Open app

Node reference

Write file

Add lines to a temporary file

FilesfileWrite

Add lines to a temporary file

Part of Files / Files. This reference is generated from the node definitions shipped with Blokboard.

When to use it#

  • Append a line of text to a temporary file.

Parameters#

ParameterField typeDefaultDescription
File (file)file-reference{{createdFile.output}}Temporary file to update.
Lines (content)text(empty)
New line (lineEnding)selectlf
On failure (onFailure)selectstopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts (retryCount)number0How many additional attempts to make after the first failure.

New line: Choices: LF (lf), CRLF (crlf). Available under More options.

On failure: Choices: Stop workflow (stop), Continue (continue). Available under More options.

Retry attempts: Available under More options. Limits: minimum 0; no declared maximum.

Inputs#

PortValueDescription
inanyOne line or a list of lines to add.

Outputs#

PortValueDescription
outfileThe same temporary file with its cursor advanced.

out fields#

FieldTypeDescription
assetIdstringInternal file reference.
namestringFile name.
mediaTypestringFile type.
sizenumberFile size in bytes.
lastModifiednumberLast changed time.
writablebooleanWhether this temporary file can be changed.
cursornumberCurrent write position in bytes.

Use in a workflow#

Connect this node to the path that should execute it. Run a small example, inspect its actual output, and use the expression picker to select values for later nodes.

See expressions for mapping values, workflow basics for connections, and troubleshooting for failed runs.