Skip to main content

Bulk automated Google Drive files sharing and direct download link generation

Workflow preview

Workflow preview
100%
Bulk automated Google Drive files sharing and direct download link generation preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch processing, public link generation, and access status modification for efficient...

Best for

  • File Management automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrive, n8n-nodes-base.splitinbatches, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.manualtrigger, n8n-nodes-base.code, n8n-nodes-base.noop, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nskha.

Original n8n.io source

1.1 Workflow description

Title
Bulk automated Google Drive files sharing and direct download link generation
Workflow name
Bulk automated Google Drive files sharing and direct download link generation

This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch processing, public link generation, and access status modification for efficient file handling. Suitable for users seeking to streamline their Google Drive file sharing process. sutiable for bulk actions, tested on 4.2K files folder working like charm.

How It Works

  1. Initialize Workflow: The process begins with a Manual Trigger, allowing the user to start the workflow at their convenience.
  2. Folder ID Specification: A 'Set Folder ID' node where the user can enter the desired Google Drive Folder ID.
  3. List Files from Google Drive: The 'Google Drive' node lists all files within the specified folder using OAuth2 authentication.
  4. Batch Processing: The 'Loop Over Items' node processes the files in batches for efficiency.
  5. Generate Public Links: The 'Generate Download Links' node creates downloadable links for each file.
  6. Change File Access: The 'Change Status' node alters the file status to make them publicly accessible.
  7. Merge and Output: A 'Merge' node consolidates the data, preparing it for further actions or output.

Set Up Steps

  • Estimated Time: The setup should take approximately 10-15 minutes.
  • Initial Setup: You'll need to provide OAuth2 credentials for Google Drive and specify a folder ID.
  • Customization: Adjust the batch size and file access permissions according to your needs.
  • Detailed Descriptions: For specific configuration details, refer to the sticky notes within the workflow.

Example Item output

{
"link": "https://drive.google.com/u/3/uc?id=1hojqPfXchNTY8YRTNkxSo-8txK9re-V4&export=download&confirm=t&authuser=0",
"name": "firefox_rNjA0ybKu7.png",
"kind": "drive#permission",
"id": "anyoneWithLink",
"type": "anyone",
"role": "reader",
"allowFileDiscovery": false
}

You can store the output data with any data store node you want, for example save them into Excel Sheet or Airtable etc...

Keywords: n8n workflow, Google Drive integration, file sharing automation, batch file processing, public link generation, OAuth2 authentication, workflow automation

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 1

Block 2 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 4 - Set Folder ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.2

Block 5 - Manual Execute Workflow

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 6 - Generate Download Links

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Change Status

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 1

Block 8 - Replace Me

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Bulk automated Google Drive files sharing and direct download link generation
Complexity intermediate
Nodes 9
Categories File Management
Author Nskha
Published 08 Jan 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2042/2042.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Bulk automated Google Drive files sharing and direct download link generation do?

This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch processing, public link generation, and access status modification for efficient...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management use case.