Templates / Copy folder structure without files in Google Drive

Copy folder structure without files in Google Drive

Ready for 3.0

by Builds.Cool · 213 views · created 2025-05-20 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. EDIT_THIS_NODE (Edit Fields (Set)): sets or maps fields
  2. Get_Folders_DESTINATION (Google Drive): uses Google Drive
  3. Merge: merges the data from its input branches
  4. Set Destination Names (Edit Fields (Set)): sets or maps fields
  5. Get_Folders_SOURCE (Google Drive): uses Google Drive
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Check if folder exists (Code): runs custom JavaScript code
  8. If: checks a condition and branches into true / false
  9. Create Folder (Google Drive): uses Google Drive

Services it uses

Google Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Why? Google Drive desktop lets you copy full folders—contents and all. But what if you only want to copy the folder names (not the files) from one drive location to another? Maybe you're reusing a folder structure or duplicating a template structure, but…

Excerpt from Builds.Cool's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.