Convert to File
Node: convertToFile · Full type: n8n-nodes-base.convertToFile · Version: 1.1
Operations
csv
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
html
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
iCal
| Parameter |
Type |
Default |
Details |
title |
string |
"" |
|
start |
dateTime |
"" |
required |
end |
dateTime |
"" |
required |
allDay |
boolean |
false |
|
binaryPropertyName |
string |
"data" |
required |
additionalFields |
collection |
{} |
keys: attendeesUi, busyStatus, calName, description, fileName, geolocationUi, ... |
toJson
| Parameter |
Type |
Default |
Details |
mode |
options |
"once" |
once, each |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: addBOM, format, encoding, fileName |
ods
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
rtf
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
toText
| Parameter |
Type |
Default |
Details |
sourceProperty |
string |
"" |
required |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: addBOM, encoding, fileName |
xls
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
xlsx
| Parameter |
Type |
Default |
Details |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: compression, delimiter, fileName, headerRow, sheetName |
toBinary
| Parameter |
Type |
Default |
Details |
sourceProperty |
string |
"" |
required |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: addBOM, dataIsBase64, encoding, fileName, mimeType |
Parameter Details
options children:
| Parameter |
Type |
Default |
Details |
compression |
boolean |
false |
|
delimiter |
string |
"," |
|
fileName |
string |
"" |
|
headerRow |
boolean |
true |
|
sheetName |
string |
"Sheet" |
|
additionalFields children:
| Parameter |
Type |
Default |
Details |
attendeesUi |
fixedCollection |
{} |
groups: attendeeValues |
busyStatus |
options |
"" |
BUSY, TENTATIVE |
calName |
string |
"" |
|
description |
string |
"" |
|
fileName |
string |
"" |
|
geolocationUi |
fixedCollection |
{} |
groups: geolocationValues |
location |
string |
"" |
|
recurrenceRule |
string |
"" |
|
organizerUi |
fixedCollection |
{} |
groups: organizerValues |
sequence |
number |
0 |
|
status |
options |
"CONFIRMED" |
CONFIRMED, CANCELLED, TENTATIVE |
uid |
string |
"" |
|
url |
string |
"" |
|
useWorkflowTimezone |
boolean |
false |
|
Example
NODE "convertToFile" AS "Convert to File" {
operation: "csv",
binaryPropertyName: {{ $json.binaryPropertyName }},
sourceProperty: {{ $json.sourceProperty }}
}