n8n-workflows/workflows/2_workflow_2.json
2025-05-14 11:58:29 +03:00

68 lines
1.2 KiB
JSON

{
"nodes": [
{
"name": "Run Query",
"type": "n8n-nodes-base.postgres",
"position": [
450,
450
],
"parameters": {
"query": "SELECT name, ean FROM product",
"operation": "executeQuery"
},
"credentials": {
"postgres": "postgres"
},
"typeVersion": 1
},
{
"name": "Spreadsheet File",
"type": "n8n-nodes-base.spreadsheetFile",
"position": [
600,
450
],
"parameters": {
"operation": "toFile"
},
"typeVersion": 1
},
{
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"position": [
750,
450
],
"parameters": {
"fileName": "spreadsheet.xls"
},
"typeVersion": 1
}
],
"connections": {
"Run Query": {
"main": [
[
{
"node": "Spreadsheet File",
"type": "main",
"index": 0
}
]
]
},
"Spreadsheet File": {
"main": [
[
{
"node": "Write Binary File",
"type": "main",
"index": 0
}
]
]
}
}
}