Node reference
Write file
Add lines to a temporary file
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#
| Parameter | Field type | Default | Description |
|---|---|---|---|
File (file) | file-reference | {{createdFile.output}} | Temporary file to update. |
Lines (content) | text | (empty) | |
New line (lineEnding) | select | lf | |
On failure (onFailure) | select | stop | Choose whether a failed execution stops the workflow or only ends this path. |
Retry attempts (retryCount) | number | 0 | How 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#
| Port | Value | Description |
|---|---|---|
in | any | One line or a list of lines to add. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | file | The same temporary file with its cursor advanced. |
out fields#
| Field | Type | Description |
|---|---|---|
assetId | string | Internal file reference. |
name | string | File name. |
mediaType | string | File type. |
size | number | File size in bytes. |
lastModified | number | Last changed time. |
writable | boolean | Whether this temporary file can be changed. |
cursor | number | Current 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.