Workflow: Postgres Workflow
Integrations: manualTrigger, postgres, spreadsheetFile, stopAndError, writeBinaryFile

{"nodes": [{"id": "trigger-94453e98", "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [100, 100], "parameters": {}}, {"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, "id": "91247a9d-0af3-4185-a6af-e04c7a357480", "notes": "This postgres node performs automated tasks as part of the workflow."}, {"name": "Spreadsheet File", "type": "n8n-nodes-base.spreadsheetFile", "position": [600, 450], "parameters": {"operation": "toFile"}, "typeVersion": 1, "id": "5d5628be-71bf-4256-8575-601e7cde3a4b", "notes": "This spreadsheetFile node performs automated tasks as part of the workflow."}, {"name": "Write Binary File", "type": "n8n-nodes-base.writeBinaryFile", "position": [750, 450], "parameters": {"fileName": "spreadsheet.xls"}, "typeVersion": 1, "id": "30aecc10-471f-450a-b97b-f619301031ac", "notes": "This writeBinaryFile node performs automated tasks as part of the workflow."}, {"id": "error-fcb71123", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Postgres Workflow", "description": "Automated workflow: Postgres Workflow. This workflow processes data and performs automated tasks.", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "meta": {"instanceId": "workflow-2310569c", "versionId": "1.0.0", "createdAt": "2025-09-29T07:08:01.698060", "updatedAt": "2025-09-29T07:08:01.698101", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Postgres Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}