I am trying to create a CSV file creating a Spreadsheet from several binary files, however the output of the file I’m creating is empty, has anyone encounter this issue?
(Note: when I read the file from the Spreadsheet I can see the correct output of all the csv files merged)
Here’s the flow:
{
"name": "test",
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "csv",
"options": {}
},
"name": "Spreadsheet File",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
700,
300
],
"alwaysOutputData": false,
"retryOnFail": false,
"notesInFlow": false
},
{
"parameters": {
"fileSelector": "*.csv"
},
"name": "Read Binary Files",
"type": "n8n-nodes-base.readBinaryFiles",
"typeVersion": 1,
"position": [
480,
300
]
},
{
"parameters": {
"fileName": "output.csv"
},
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"typeVersion": 1,
"position": [
910,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Read Binary Files",
"type": "main",
"index": 0
}
]
]
},
"Spreadsheet File": {
"main": [
[
{
"node": "Write Binary File",
"type": "main",
"index": 0
}
]
]
},
"Read Binary Files": {
"main": [
[
{
"node": "Spreadsheet File",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {},
"id": "1"
}