n8n

How to Generate Google Drive Download Links?

Publish a full Google Drive folder in one run and get direct download links for every file. Teams that share assets often can use it to move fast and avoid manual clicks. It is great for campaign folders, press kits, and content libraries.

The flow starts by running it on demand. You enter the folder ID, then the Google Drive node lists up to 100 files from My Drive and Shared Drives. A batch loop updates each file to anyone with the link viewer. At the same time, a code step builds direct download URLs from the file IDs. A merge step combines the share results and the links so each item includes the file name, link, and permission info. The final step is a placeholder where you can connect storage or reporting.

You only need a Google Drive account with access to the folder and the folder ID from the URL. Expect to cut bulk sharing work from an hour to a few minutes for typical folders. Use it to publish campaign assets, share training files with partners, or prepare download packs for events. After the first run, repeat it any time the folder changes to refresh links quickly.

What are the key features?

  • Manual start for safe, on demand publishing using a Manual Trigger
  • Folder ID input captured with a Set node to control the target location
  • Google Drive list pulls up to 100 files across My Drive and Shared Drives
  • Batch processing updates sharing to anyone with the link as viewer
  • Code step builds direct download URLs from each file ID
  • Merge combines link data and permission results into one clean item per file
  • Final no op step ready to connect to your storage or reporting node

What are the benefits?

  • Reduce manual sharing from 60 minutes to 5 minutes for a 100 file folder
  • Automate 100 percent of permission updates for the selected folder
  • Create direct download links for every file to speed delivery
  • Handle up to 100 files per run by default and adjust limits as needed
  • Cut link mistakes by combining sharing and link creation in one run

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, double click a Google Drive node, choose the 'Credential to connect with' dropdown, click 'Create new credential', and follow the on screen steps to connect your Google account using OAuth2.
  4. In Google Drive, confirm you have Editor access to the target folder. For Shared Drives, you may need Content Manager or Manager to change sharing.
  5. Open the target folder in Google Drive and copy the folder ID from the URL.
  6. In n8n, open the Set Folder ID node and paste the folder ID into the 'Folder ID' field.
  7. Open the Google Drive list node and verify 'Limit' is set to 100 and 'All Drives' support is enabled. Adjust the limit if your folder has more or fewer files.
  8. Run the workflow. After it finishes, check a few files in Google Drive to confirm the permission shows Anyone with the link Viewer.
  9. From the execution data in n8n, confirm each item includes the file name, the direct download link, and permission details. Test a link in a private browser window to ensure it downloads.
  10. If you see permission errors, verify your role on the Shared Drive. If rate limits appear, lower the batch size in the Loop Over Items node. To store results, connect a storage node to the final step.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.