Upload & rename videos to Google Drive via Apps Script from URL
Google Script Workflow: Upload File from URL to Google Drive (via n8n) 🔧 Purpose: This lightweight Google Apps Script acts as a server endpoint that receives a file URL (from n8n), downloads the file, uploads it to your specified Google Drive folder, and responds with the file’s metadata (like Drive file ID and URL). This is useful for large video/audio files that n8n cannot handle directly via HTTP Download nodes. --- 🚀 Setup Steps: 1. Create a New Script Project - Go to - Click “New Project”
At a glance
Upload & rename videos to Google Drive via Apps Script from URL is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Google Drive
- Modules
- 3
- Price
- Free
- Version
- v1.0

About this workflow
Google Script Workflow: Upload File from URL to Google Drive (via n8n) 🔧 Purpose: This lightweight Google Apps Script acts as a server endpoint that receives a file URL (from n8n), downloads the file, uploads it to your specified Google Drive folder, and responds with the file’s metadata (like Drive file ID and URL). This is useful for large video/audio files that n8n cannot handle directly via HTTP Download nodes. --- 🚀 Setup Steps: 1. Create a New Script Project - Go to - Click “New Project” - Rename the project to something like: DriveUploader --- 2. Paste the Script Code Replace the default Code.gs content with the following (your custom script): --- 3. Generate & Set Up Secret Key To allow authorized post requests to your script only, we need to generate a secret key from aany reliable key generator. - You can head over to acte, click generate and copy the "Encryption key 256". - Paste it in the 'your-strong-secret-here' placeholder in your script then click save 4. Replace Folder ID in Code - Open the target Drive folder in your browser - The folder ID is the part of the URL after /folders/ Example: - Paste that ID in the script: --- 5. Set Up Deployment as Web App - Click “Deploy” > “Manage Deployments” > “New Deployment” - Under Select type, choose Web app - Description: Upload from URL to Drive - Execute as: Me - Who has access: Anyone - Click Deploy - Authorize the script when prompted - Copy the Web App URL --- 📤 How to Use in n8n 1. HTTP Request Node - Method: POST - URL: (your web app URL) - Secret Key: (Secret Key set in script) - Body Content Type: JSON - Paste code: - videoUrl: The file download URL - secret: The generated and set up secret key 2. Rename Node - A simple drive update node to rename the file using the file drive url returned from the script. ---
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
AI-powered email automation for business: Summarize & respond with RAG
Scheduled workflow backups from n8n to Google Drive with auto cleanup
Music Producer Chatbot 🎵🎤 using Gemini + Suno (via Kei AI) & Google Drive Upload
Estimate 4D/5D construction costs from Revit BIM models with DDC CWICR
Automate image validation tasks using AI Vision
Telegram AI chatbot with document-based answers using OpenAI and PGVector RAG
Generate UGC-style AI videos with Google Sheets, NanoBanana Pro and Veo 3.1
Transcribing bank statements to markdown using Gemini Vision AI
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you