{ "id": "wGv0NPBA0QLp4rQ6", "meta": { "instanceId": "workflow-a839431a", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:50.752408", "updatedAt": "2025-09-29T07:07:50.752661", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "name": "Upload video to drive via google script", "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "nodes": [ { "id": "b89e494d-f85d-4ad5-b0ba-5699f59a58d5", "name": "When clicking ‘Test workflow’", "type": "n8n-nodes-base.manualTrigger", "position": [ -300, -40 ], "parameters": {}, "typeVersion": 1, "notes": "This manualTrigger node performs automated tasks as part of the workflow." }, { "id": "061597f1-d57d-4733-bc9f-3a3070bd5e95", "name": "Rename Uploaded Video", "type": "n8n-nodes-base.googleDrive", "position": [ 180, -40 ], "parameters": { "fileId": { "__rl": true, "mode": "url", "value": "={{ $json.driveUrl }}" }, "options": {}, "operation": "update", "newUpdatedFileName": "Music Video 1" }, "credentials": { "googleDriveOAuth2Api": { "id": "l8Cc2MEVE7foBfbK", "name": "Google Drive account" } }, "typeVersion": 3, "notes": "This googleDrive node performs automated tasks as part of the workflow." }, { "id": "7e8ff194-fdb7-43e4-afde-bba466ac9dd3", "name": "Send URL to GDrive Script and Upload", "type": "n8n-nodes-base.httpRequest", "position": [ -60, -40 ], "parameters": { "url": "{{ $env.BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "{\n \"videoUrl\": \"{{ $env.API_BASE_URL }}\",\n \"secret\": \"your-strong-secret-here\"\n}", "sendBody": true, "specifyBody": "json" }, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow." } ], "active": false, "pinData": {}, "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "versionId": "b554bac3-27d2-498a-9e5a-b98cde9ea593", "connections": { "7e8ff194-fdb7-43e4-afde-bba466ac9dd3": { "main": [ [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-5f433efb", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-8020a8e6", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-3f5d9a72", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-99cc526c", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-6562a3f3", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-80c5b8fb", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-c9d3232e", "type": "main", "index": 0 } ], [ { "node": "error-handler-7e8ff194-fdb7-43e4-afde-bba466ac9dd3-20ea49be", "type": "main", "index": 0 } ] ] }, "061597f1-d57d-4733-bc9f-3a3070bd5e95": { "main": [ [ { "node": "error-handler-061597f1-d57d-4733-bc9f-3a3070bd5e95-8923efbe", "type": "main", "index": 0 } ] ] } }, "description": "Automated workflow: Upload video to drive via google script. This workflow processes data and performs automated tasks.", "notes": "Excellent quality workflow: Upload video to drive via google script. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }