{ "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 320, 170 ], "parameters": {}, "typeVersion": 1, "id": "node-e5da57f3" }, { "name": "Merge", "type": "n8n-nodes-base.merge", "position": [ 960, 320 ], "parameters": { "mode": "mergeByIndex" }, "typeVersion": 1, "id": "node-8abb1749" }, { "name": "Move Binary Data", "type": "n8n-nodes-base.moveBinaryData", "position": [ 1260, 320 ], "parameters": { "mode": "jsonToBinary", "options": { "useRawData": false } }, "typeVersion": 1, "id": "node-9f8567e1" }, { "name": "Map", "type": "n8n-nodes-base.function", "position": [ 710, 320 ], "parameters": { "functionCode": "return items[0].json.data.map(item => {\n return {json: item}\n});" }, "typeVersion": 1, "id": "node-0b17bc48" }, { "name": "Get Workflow", "type": "n8n-nodes-base.httpRequest", "notes": "Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. ", "position": [ 830, 460 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {}, "authentication": "{{ $credentials.basicAuth }}" }, "credentials": { "httpBasicAuth": "n8n Creds" }, "notesInFlow": false, "typeVersion": 1, "id": "node-e2385e9d" }, { "name": "Get Workflow List", "type": "n8n-nodes-base.httpRequest", "notes": "Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. ", "position": [ 520, 320 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {}, "authentication": "{{ $credentials.basicAuth }}" }, "credentials": { "httpBasicAuth": "n8n Creds" }, "typeVersion": 1, "id": "node-7a9ce6f3" }, { "name": "FunctionItem", "type": "n8n-nodes-base.functionItem", "position": [ 1110, 320 ], "parameters": { "functionCode": "item = item.data;\nreturn item;" }, "typeVersion": 1, "id": "node-fd3a326c" }, { "name": "Google Drive", "type": "n8n-nodes-base.googleDrive", "position": [ 1450, 320 ], "parameters": { "name": "={{$node[\"Merge\"].data[\"name\"]}}.json", "parents": [ "Delete this text and put id for folder you want to upload into in this field. The folder ID can be found by opening the folder in your browser and copying the portion after https://drive.google.com/drive/u/0/folders/" ], "binaryData": true, "resolveData": true }, "credentials": { "googleApi": "test" }, "typeVersion": 1, "id": "node-24e2c225" }, { "name": "Run Daily at 2:30am", "type": "n8n-nodes-base.cron", "position": [ 330, 320 ], "parameters": { "triggerTimes": { "item": [ { "hour": 2, "minute": 30 } ] } }, "typeVersion": 1, "id": "node-9137d52e" }, { "id": "error-49facdfe", "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-f5d3a12a", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:45.043323", "updatedAt": "2025-09-29T07:07:45.043332", "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." }