n8n/packages/nodes-base/nodes/SpreadsheetFile/test/workflow.json

253 lines
4.6 KiB
JSON
Raw Normal View History

{
"meta": {
"instanceId": "104a4d08d8897b8bdeb38aaca515021075e0bd8544c983c2bb8c86e6a8e6081c"
},
"nodes": [
{
"parameters": {},
"id": "087277cc-297d-4912-bd11-86626eff2d71",
"name": "When clicking \"Execute Workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
620,
640
]
},
{
"parameters": {
"options": {}
},
"id": "f55bc21c-c9a8-43af-bbc8-e4bdd30f0ce9",
"name": "Read From File",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1260,
640
]
},
{
"parameters": {
"filePath": "C:\\Users\\spech\\Documents\\GitHub\\n8n-master\\packages\\nodes-base\\nodes\\SpreadsheetFile\\test\\spreadsheet.csv"
},
"id": "d7620053-eb3d-43dd-b2cd-d60d9a08a9cc",
"name": "Read Binary File",
"type": "n8n-nodes-base.readBinaryFile",
"typeVersion": 1,
"position": [
840,
640
]
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "csv",
"options": {}
},
"id": "21bc49fe-1e6b-46d6-a04d-cb474d138e02",
"name": "Write To File CSV",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1580,
280
]
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "html",
"options": {}
},
"id": "a4c2c717-5a9d-4fd6-8450-6bb78e233c05",
"name": "Write To File HTML",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1580,
460
]
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "ods",
"options": {}
},
"id": "58e5a423-0477-44df-a505-6b8a40dbf275",
"name": "Write To File ODS",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1580,
640
]
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "rtf",
"options": {}
},
"id": "3ae6e9c5-bc0a-44e4-959e-cfc572f4179f",
"name": "Write To File RTF",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1580,
820
]
},
{
"parameters": {
"operation": "toFile",
"options": {}
},
"id": "7e6db847-d24c-4094-907d-92ffec626f68",
"name": "Write To File XLS",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1580,
1020
]
},
{
"parameters": {
"options": {
"range": "A2:B3"
}
},
"id": "48934f0d-ac10-4862-ae0c-2ea591b111e3",
"name": "Read From File Range",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1060,
520
]
},
{
"parameters": {
"options": {
"headerRow": false
}
},
"id": "dea6f3f6-f2fb-472e-97b2-8a0c0a36bc4d",
"name": "Read From File no Header Row",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1060,
320
]
},
{
"parameters": {
"options": {
"rawData": true
}
},
"id": "38ed33fc-6906-4b09-8376-937ef3ca99be",
"name": "Read From File Raw Data",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1060,
740
]
},
{
"parameters": {
"options": {
"readAsString": true
}
},
"id": "ffe09dc8-9b7a-4baf-bd03-bd65bbce2590",
"name": "Read From File Read as String",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1060,
940
]
}
],
"connections": {
"When clicking \"Execute Workflow\"": {
"main": [
[
{
"node": "Read Binary File",
"type": "main",
"index": 0
}
]
]
},
"Read From File": {
"main": [
[
{
"node": "Write To File CSV",
"type": "main",
"index": 0
},
{
"node": "Write To File HTML",
"type": "main",
"index": 0
},
{
"node": "Write To File ODS",
"type": "main",
"index": 0
},
{
"node": "Write To File RTF",
"type": "main",
"index": 0
},
{
"node": "Write To File XLS",
"type": "main",
"index": 0
}
]
]
},
"Read Binary File": {
"main": [
[
{
"node": "Read From File",
"type": "main",
"index": 0
},
{
"node": "Read From File Range",
"type": "main",
"index": 0
},
{
"node": "Read From File no Header Row",
"type": "main",
"index": 0
},
{
"node": "Read From File Raw Data",
"type": "main",
"index": 0
},
{
"node": "Read From File Read as String",
"type": "main",
"index": 0
}
]
]
}
}
}