Workflow: formulate an n8n flow to perform Writebinaryfile Spreadsheetfile Automate
Integrations: postgres, spreadsheetFile, writeBinaryFile

{"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}]]}}}