Convert to File
core.convert_to_file · version 1.1 · Transform
Turn items into a CSV, spreadsheet, JSON, text or calendar file.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "csv" | Convert to. One of csv, xlsx, ods, html, toJson, toText, toBinary, iCal. | ||
binaryPropertyName | string | "data" | Output binary property. | ||
mode | options | "once" | JSON mode. One of once, each. | ||
sourceProperty | string | "data" | Source field. | ||
options | collection | {} | |||
options.fileName | string | File name. | |||
options.headerRow | boolean | true | Header row. | ||
options.sheetName | string | "Sheet" | Sheet name. | ||
options.delimiter | string | "," | |||
options.encoding | string | "utf8" | |||
options.addBOM | boolean | false | Add byte order mark. | ||
options.format | boolean | false | Pretty-print JSON. | ||
options.mimeType | string | MIME type. | |||
options.dataIsBase64 | boolean | true | Source is Base64. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.convertToFile | 1 | unverified |