What This Workflow Does
This automation solves the tedious process of manually downloading videos from various sources, renaming them appropriately, and uploading them to Google Drive. Content teams, marketers, and educators often waste hours each week on these repetitive tasks, especially when dealing with multiple video files from different platforms.
The workflow uses n8n to trigger the process (either on schedule or via webhook), then leverages a Google Apps Script endpoint that handles the actual file transfer and renaming. The script fetches the video directly from the source URL, applies your naming convention, and saves it to your specified Google Drive folder - all without any manual intervention.
How It Works
1. Triggering the workflow
The process begins when n8n receives new video URLs, either from a scheduled check, webhook, or manual input. This could be from social media platforms, video hosting services, or internal systems that generate video content.
2. Processing the video URL
n8n prepares the video URL and any metadata needed for renaming (like project codes, dates, or content types). The workflow can extract information from the source or combine data from other systems to create meaningful filenames.
3. Calling the Google Apps Script
The prepared data gets sent to your custom Google Apps Script endpoint. This script runs on Google's servers with permission to access your Drive, eliminating the need for complex API setups or OAuth flows from n8n directly.
4. File transfer and renaming
The Apps Script fetches the video file directly from the source URL, applies your predefined naming convention, and saves it to your specified Google Drive folder. The script can handle various file formats and includes error handling for failed transfers.
5. Confirmation and logging
Once complete, the script returns success/failure information to n8n, which can trigger notifications, update databases, or initiate downstream processes like video processing or team alerts.
Pro tip: Add a metadata spreadsheet that logs all uploads with timestamps, original sources, and processing status for easy tracking and auditing.
Who This Is For
This automation is ideal for content teams, marketing agencies, educators, and any business that regularly works with video files from multiple sources. Video production companies can use it to centralize client deliverables, social media managers can archive campaign assets, and training departments can organize educational materials.
Teams that collaborate on video projects benefit particularly well, as the automated naming and organization ensures everyone accesses files consistently. The solution scales from individuals handling a few videos weekly to enterprises processing hundreds of assets daily.
What You'll Need
- An n8n instance (cloud or self-hosted)
- A Google Workspace account with Drive access
- Basic knowledge of Google Apps Script (to deploy the endpoint)
- A designated Google Drive folder for uploaded videos
- Video source URLs that are publicly accessible or with known authentication
Quick Setup Guide
- Download the workflow template and import it to your n8n instance
- Create a new Google Apps Script project and paste in the provided script
- Deploy the script as a web app with appropriate permissions
- Configure the n8n workflow with your script URL and target folder ID
- Set up your naming convention logic in both the workflow and script
- Test with sample video URLs and verify the output in Google Drive
- Connect your actual video sources via webhook, schedule, or manual trigger
Key Benefits
Save 5-15 minutes per video by eliminating manual download/upload cycles. For teams handling 20+ videos weekly, this adds up to 17-50 hours saved monthly.
Eliminate naming inconsistencies with automated filename generation based on your business rules, ensuring all team members and systems reference files consistently.
Centralize video assets securely in Google Drive with proper organization from the start, making files easier to find and share while maintaining access controls.
Scale your video operations without adding staff - the system handles hundreds of uploads as easily as a few, with consistent reliability.
Integrate with downstream processes by triggering video processing, notifications, or catalog updates automatically after successful uploads.