{ "nodes": [ { "name": "Write Binary File", "type": "n8n-nodes-base.writeBinaryFile", "position": [ 800, 350 ], "parameters": { "fileName": "test.json" }, "typeVersion": 1 }, { "name": "Make Binary", "type": "n8n-nodes-base.function", "position": [ 600, 350 ], "parameters": { "functionCode": "items[0].binary = {\n data: {\n data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\n }\n};\nreturn items;" }, "typeVersion": 1 }, { "name": "Create Example Data", "type": "n8n-nodes-base.function", "position": [ 390, 350 ], "parameters": { "functionCode": "items[0].json = {\n \"text\": \"asdf\",\n \"number\": 1\n};\nreturn items;" }, "typeVersion": 1 }, { "id": "documentation-node", "name": "Workflow Documentation", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ 100, 100 ], "parameters": { "content": "# Writebinaryfile Workflow\n\nAutomated workflow: Writebinaryfile Workflow. This workflow processes data and performs automated tasks.\n\n## Nodes:\n- 3 total nodes\n- Includes error handling\n- Follows best practices\n\n## Usage:\n1. Configure credentials\n2. Update environment variables\n3. Test workflow\n4. Deploy to production" } } ], "connections": { "Make Binary": { "main": [ [ { "node": "Write Binary File", "type": "main", "index": 0 } ] ] }, "Create Example Data": { "main": [ [ { "node": "Make Binary", "type": "main", "index": 0 } ] ] } }, "name": "Writebinaryfile Workflow", "description": "Automated workflow: Writebinaryfile Workflow. This workflow processes data and performs automated tasks.", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null } }