Automate Google Drive Public Sharing & Direct Download Links
detail.loadingPreview
Automate the process of making files in a Google Drive folder publicly accessible and instantly generate direct download links for all of them. Streamline content distribution and simplify sharing your cloud assets with this efficient n8n workflow.
About This Workflow
This powerful n8n workflow is designed to effortlessly manage and share your Google Drive files. By simply inputting a folder ID, the workflow automatically lists all files within that folder, sets their sharing permissions to 'publicly viewable by anyone with a link', and then generates unique, direct download URLs for each file. It includes batch processing to handle large volumes of files efficiently, ensuring smooth operation and compliance with API limits. The final output combines the direct download links with the file's sharing status, making it easy to integrate with other services for storage, email distribution, or further processing.
Key Features
- Automated Public File Sharing: Instantly make all files within a specified Google Drive folder publicly viewable (read-only) for anyone with the link.
- Direct Download Link Generation: Automatically create unique, shareable direct download URLs for every file, eliminating manual link creation.
- Efficient Batch Processing: Handles large numbers of files by processing them in configurable batches, preventing API rate limits and enhancing reliability.
- Dynamic Folder Selection: Easily target any Google Drive folder by simply providing its ID, offering flexibility for various sharing needs.
- Extendable Output: The generated download links and sharing details are readily available for integration with other nodes, such as saving to Google Sheets, Airtable, or sending via email.
How To Use
- Configure Google Drive Credentials: Ensure you have correctly set up and connected your Google Drive OAuth2 credentials in n8n.
- Specify Folder ID: In the "Set Folder ID" node, replace the placeholder text "Enter Your Folder ID here" with the actual ID of the Google Drive folder you wish to process. The Folder ID can be found in the URL when you view the folder in your Google Drive.
- Review "Replace Me" Node: The "Replace Me" node (
noOp) serves as a placeholder for the workflow's final output. Connect it to your preferred destination, such as a Google Sheets node to log the links, an Email node to send them, or an Airtable node for database storage. - Execute Workflow: You can manually trigger the workflow using the "Manual Execute Workflow" node, or configure a schedule for automated execution.
- Monitor Output: Upon execution, the workflow will make the files public and generate their download links. The final output at the "Replace Me" node will contain a JSON object for each file, including its direct download link and public sharing confirmation.
Apps Used
Workflow JSON
{
"id": "409635c6-16df-4942-95f4-8235bd846291",
"name": "Automate Google Drive Public Sharing & Direct Download Links",
"nodes": 9,
"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: 409635c6-16df...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
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.