Skip to main content

Create and share client folders from Google Sheets to Google Drive

Workflow preview

Workflow preview
100%
Create and share client folders from Google Sheets to Google Drive preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow watches a Google Sheets worksheet for new client rows, creates (or reuses) a matching client folder structure in Google Drive, shares the folder with one or more client...

Best for

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

Tools used

n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.set, n8n-nodes-base.googledrive, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, 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 Agung Jati Kusumo.

Original n8n.io source

1.1 Workflow description

Title
Create and share client folders from Google Sheets to Google Drive
Workflow name
Create and share client folders from Google Sheets to Google Drive

Quick overview

This workflow watches a Google Sheets worksheet for new client rows, creates (or reuses) a matching client folder structure in Google Drive, shares the folder with one or more client email addresses, and writes the Drive folder URL back to the sheet.

How it works

  1. Runs every hour and triggers when a new row is added in Google Sheets.
  2. Searches Google Drive for an existing client folder using the row’s Code value as the search term.
  3. If no matching folder is found, creates a new client folder under your specified parent Google Drive folder and adds Documents and Media subfolders.
  4. Splits the sheet’s comma-separated Email field into individual email addresses.
  5. Shares the client folder from Google Drive with each email address as a read-only user permission.
  6. Updates the Google Sheets row by matching on Code and writing the generated Google Drive folder URL into the Url column.

Setup

  1. Connect Google Sheets OAuth2 credentials for the trigger and update actions, and select the target spreadsheet and sheet.
  2. Connect Google Drive OAuth2 credentials and ensure the connected account has access to create and share folders.
  3. Paste your parent Google Drive folder URL into the Configuration step (ParentDriveFolderUrl).
  4. Ensure your Google Sheet includes at least Code, Name, Email, and Url columns (will updated by workflow), and enter client emails as a comma-separated list in the Email field.

Requirements

  • google sheet with this column (Code, Name, Email, Url)

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 - When sheet row is added

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

Block 2 - Configuration

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

Block 3 - Share folder with client

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

Block 4 - Update sheet with folder URL

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 5 - Search for client folder

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

Block 6 - Check if folder exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 7 - Parse client emails

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

Block 8 - Loop over emails

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

Block 9 - Create Documents subfolder

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

Block 10 - Create Media subfolder

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

Block 11 - Overview sticky

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

Block 12 - Step 1 sticky

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

Block 13 - Step 2 sticky

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

Block 14 - Create Client folder

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

3. Summary Table

Workflow Create and share client folders from Google Sheets to Google Drive
Complexity intermediate
Nodes 14
Categories File Management
Author Agung Jati Kusumo
Published 29 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16019/16019.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 Create and share client folders from Google Sheets to Google Drive do?

Quick overview This workflow watches a Google Sheets worksheet for new client rows, creates (or reuses) a matching client folder structure in Google Drive, shares the folder with one or more client...

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.