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