Automate Video Uploads to Google Drive with Google Scripts
detail.loadingPreview
Seamlessly upload and manage your video files directly to Google Drive. This workflow automates the process by leveraging Google Scripts, ensuring your videos are organized and accessible without manual intervention.
About This Workflow
This n8n workflow is designed to streamline your video management by automating the upload process directly to your Google Drive. It begins by sending a video URL to a custom Google Apps Script, which then handles the actual file upload. Once the video is in your Drive, the workflow automatically renames it, making it easier to identify and organize your media assets. This solution is perfect for anyone looking to save time and reduce the manual effort involved in transferring and organizing video files.
Key Features
- Automated Video Uploads: Directly send video files to Google Drive via a Google Apps Script.
- Customizable Renaming: Automatically rename uploaded videos for better organization.
- Secure Secret Handling: Includes a placeholder for secure secret management when communicating with your script.
- Trigger Flexibility: Designed to be tested with a manual trigger, easily adaptable to other triggers.
How To Use
- Configure Google Apps Script: Ensure you have a Google Apps Script set up with a web app URL that accepts POST requests with
videoUrlandsecretin the JSON body. Replace"your_google_script_web_app_url"in theSend URL to GDrive Script and Uploadnode with your actual script URL. - Set Up Google Drive Credentials: Authenticate n8n with your Google Drive account using the
Google Drive accountcredentials in theRename Uploaded Videonode. - Define Video Upload: In the
Send URL to GDrive Script and Uploadnode, update thejsonBodywith the actual URL of the video you want to upload and your secure secret. - Specify File Renaming: In the
Rename Uploaded Videonode, use an expression like={{ $json.driveUrl }}in thefileIdparameter to dynamically get the uploaded file's ID from the previous step. Then, set thenewUpdatedFileNameto your desired name (e.g., "My Awesome Video"). - Test and Activate: Click the 'Test workflow' button to run the workflow and verify that your video is uploaded and renamed correctly in Google Drive. Once satisfied, activate the workflow.
Apps Used
Workflow JSON
{
"id": "a8e9ab9c-0e39-4c3b-8a88-d0b5129858f8",
"name": "Automate Video Uploads to Google Drive with Google Scripts",
"nodes": 22,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: a8e9ab9c-0e39...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.