# Recursive Google Drive folder duplicator: n8n workflow template

> Runs on demand, and works across Google Drive. 19 steps, 2 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/recursive-google-drive-folder-duplicator (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Recursive Google Drive folder duplicator

Runs on demand, and works across Google Drive. 19 steps, 2 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Frecursive-google-drive-folder-duplicator)

**19 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Logic 13 Service 6

The steps in the order they run, from what starts it.

- 1 **Set Configuration** Set *Logic*
- 2 **Search Folder Contents1** Google Drive *Service*
- 3 **Create Main Folder** Google Drive *Service*
- 4 **Filter Files Only1** Filter *Logic*
- 5 **Filter Folders Only1** Filter *Logic*
- 6 **Start Recursive Processing** Execute Workflow *Logic*
- 7 **Copy File1** Google Drive *Service*
- 8 **Create Subfolder1** Google Drive *Service*
- 9 **Main Completion** Set *Logic*
- 10 **Prepare File Data** Set *Logic*
- 11 **Prepare Folder Data1** Set *Logic*
- 12 **Check File Has Permissions1** If *Logic*
- 13 **Check Folder Has Permissions1** If *Logic*
- 14 **Prepare File Permissions1** Code *Logic*
- 15 **Level Completion** Set *Logic*
- 16 **Prepare Folder Permissions1** Code *Logic*
- 17 **Recursive Call to Self** Execute Workflow *Logic*
- 18 **Apply File Permission1** Google Drive *Service*
- 19 **Apply Folder Permission1** Google Drive *Service*

## How it's built

- **Starts on:** Nothing automatic; you run it
- **Steps:** 19, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Google Drive
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Drive account. You connect your own accounts after importing it; none are included.

What starts it?

Nothing starts it automatically. You run it by hand.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Frecursive-google-drive-folder-duplicator)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**Actioning your meeting next steps with OpenAI** 19 steps · calls a model · Google Calendar, Google Drive](https://millionrounds.com/workflow/actioning-your-meeting-next-steps-with-openai)
- [**Automate meeting summaries & action items with Google Meet** 19 steps · calls a model · Google Calendar, Google Drive](https://millionrounds.com/workflow/automate-meeting-summaries-and-action-items-with-google-meet)
- [**Organize school emails with Google Calendar and Drive** 19 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/organize-school-emails-with-google-calendar-and-drive)
- [**Schedule and auto-post images to Instagram with Google Sheets** 19 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/schedule-and-auto-post-images-to-instagram-with-google-sheet)
- [**Auto-schedule Instagram & Facebook posts from Google Sheets** 18 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/auto-schedule-instagram-and-facebook-posts-from-google-sheet)
- [**Classify documents with Gemini** 20 steps · Gmail, Google Calendar](https://millionrounds.com/workflow/classify-documents-with-gemini)
