Node reference
Write CSV
Create a CSV file from rows
Create a CSV file from rows
Part of Files / Files. This reference is generated from the node definitions shipped with Blokboard.
When to use it#
- Convert an array of records into a CSV file.
Parameters#
| Parameter | Field type | Default | Description |
|---|---|---|---|
File name (name) | string | output.csv | |
Delimiter (delimiter) | select | , | |
Add object headers (includeHeaders) | boolean | true | |
Protect spreadsheet formulas (protectFormulas) | boolean | true | |
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. |
Delimiter: Choices: Comma (,), Semicolon (;), Tab ( ), Pipe (|).
Protect spreadsheet formulas: 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 row or a list of rows to convert to CSV. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | file | CSV file available for the rest of this run. |
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.