{ "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 240, 300 ], "parameters": {}, "typeVersion": 1, "id": "node-03c5429d" }, { "name": "Split Up Binary Data", "type": "n8n-nodes-base.function", "position": [ 900, 300 ], "parameters": { "functionCode": "let results = [];\n\nfor (item of items) {\n for (key of Object.keys(item.binary)) {\n results.push({\n json: {\n fileName: item.binary[key].fileName\n },\n binary: {\n data: item.binary[key],\n }\n });\n }\n}\n\nreturn results;" }, "typeVersion": 1, "id": "node-bf82135b" }, { "name": "Download Example Data", "type": "n8n-nodes-base.httpRequest", "position": [ 460, 300 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {}, "responseFormat": "file" }, "typeVersion": 1, "id": "node-14a3d713" }, { "name": "Decompress Example Data", "type": "n8n-nodes-base.compression", "position": [ 680, 300 ], "parameters": {}, "typeVersion": 1, "id": "node-b0d13554" }, { "name": "Note", "type": "n8n-nodes-base.stickyNote", "position": [ 420, 120 ], "parameters": { "width": 400, "height": 360, "content": "## Example Data\nThe first two nodes simply fetch some example data to work with.\n\nIn the real world, you'd probably process incoming emails, uploaded FTP files or something similar instead." }, "typeVersion": 1, "id": "node-bd1fc66c" }, { "name": "Note1", "type": "n8n-nodes-base.stickyNote", "position": [ 860, 120 ], "parameters": { "width": 320, "height": 360, "content": "## Transformation\nThis is where the magic happens. Incoming files are split up into individual items, each with a single binary data object under the `data` key." }, "typeVersion": 1, "id": "node-2d932800" }, { "id": "error-4e87a096", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [ 1000, 400 ], "parameters": { "message": "Workflow execution error", "options": {} } } ], "connections": {}, "name": "Production Workflow", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3 }, "meta": { "instanceId": "workflow-993a3eb6", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:48.696201", "updatedAt": "2025-09-29T07:07:48.696212", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "description": "Production-ready workflow: Production Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }