Use this custom n8n workflow to clone nested folder structures in Google Drive automatically. Ideal for project template creation and bulk operations.
Download this n8n workflow template and start using it instantly.
Manually recreating deeply nested folder structures in Google Drive is time-consuming and error-prone. This specialized n8n workflow solves this by providing a reliable, automated solution. This n8n template is essential for organizations that rely on standardized document hierarchy for various projects, clients, or departments. The automation leverages the generic HTTP Request n8n node to interact directly with the Google Drive API, giving maximum control over the creation process, including the application of custom prefixes or suffixes defined in the configuration. Implementing this powerful n8n workflow simplifies project setup and ensures consistency across all your digital assets.
This comprehensive n8n workflow operates in a sequential, highly customized manner to ensure accurate folder replication.
sourceFolderId and the targetParentFolderId for the new structure.To set up this n8n workflow, follow these steps:
This n8n workflow relies on several specific n8n node types for its functionality:
When clicking "Test workflow" (Manual Trigger): The initiating n8n trigger, used to manually start the cloning process.
โ๏ธ CONFIG (Code n8n node): Function: Initializes crucial variables like Source Folder ID, Target Parent ID, and any custom naming strings needed for the folder replication.
๐ Get All Folders (HTTP Request n8n node): Function: Queries the Google Drive API's files endpoint to retrieve a recursive list of all folder metadata starting from the defined source folder ID.
๐ Process Folders (Code n8n node): Function: The core logic node. It processes the flat API response, calculates the new relative paths, determines the necessary parent IDs, and applies custom naming conventions for the copied folders.
๐ Should Create? (If n8n node): Function: Acts as a flow control mechanism, ensuring only items identified as folders that need creation are passed to the next step. This crucial n8n node maintains workflow integrity.
โจ Create Folder (HTTP Request n8n node): Function: Executes the final Google Drive API call (POST request) to create the new folder using the modified name and the dynamically determined new parent folder ID. This n8n node executes the core action.
Use this n8n workflow to automatically scrape LinkedIn posts, analyze the author's writing style using AI, generate custom prompts, and save the resulting style guide and prompt to Airtable.

Use this powerful n8n workflow to automate competitive ad analysis and creation. It scrapes Facebook Ads via Apify, leverages Gemini AI for creative adaptation, and stores new ads in Google Drive. Get started with n8n templates today.

Automate client feedback and sentiment analysis using this n8n workflow. Integrates HighLevel, GPT-4o (OpenAI), Gmail, and Slack to collect reviews and instantly notify your team. Use this n8n template to streamline your customer success operations.

This powerful n8n workflow uses Apify and Google Gemini 2.5 Pro to forensically analyze TikToks and Instagram Reels, generating detailed, cloning prompts for AI video generators like Veo or Sora. Get this n8n template now.

Automate cloning viral videos using AI (Perplexity, GPT-4o, Captions.ai) and schedule auto-posting to Instagram, TikTok, YouTube, and 6 other platforms using this robust n8n workflow.









































