n8n/docs/workflows/excel-to-postgres.json
2019-08-21 22:47:27 +02:00

76 lines
1.3 KiB
JSON

{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"filePath": "spreadsheet.xls"
},
"name": "Read Binary File",
"type": "n8n-nodes-base.readBinaryFile",
"typeVersion": 1,
"position": [
450,
650
]
},
{
"parameters": {},
"name": "Spreadsheet File1",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
600,
650
]
},
{
"parameters": {
"table": "product",
"columns": "name,ean"
},
"name": "Insert Rows1",
"type": "n8n-nodes-base.postgres",
"typeVersion": 1,
"position": [
750,
650
],
"credentials": {
"postgres": "postgres"
}
}
],
"connections": {
"Read Binary File": {
"main": [
[
{
"node": "Spreadsheet File1",
"type": "main",
"index": 0
}
]
]
},
"Spreadsheet File1": {
"main": [
[
{
"node": "Insert Rows1",
"type": "main",
"index": 0
}
]
]
}
}
}