AutomationMart
Home/Browse/Create Google Drive folders by path
n8n

Create Google Drive folders by path

n8nn8n11 modulesv1.0
Google Drive

This workflow creates nested Google Drive folders from a path string (like Projects/Clients/Reports). It automatically handles the necessary folder lookups and creation steps required by Google Drive, then outputs the final folder's ID for immediate use. How it works This workflow streamlines the creation of nested folders in Google Drive: 1. Input: Provide a rootfolderid and a path (e.g., Projects/Clients/Reports) as input. 2. Path Parsing: The workflow splits the path into individual folder na

At a glance

Create Google Drive folders by path is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Drive
Modules
11
Price
Free
Version
v1.0
Create Google Drive folders by path workflow diagram

About this workflow

This workflow creates nested Google Drive folders from a path string (like Projects/Clients/Reports). It automatically handles the necessary folder lookups and creation steps required by Google Drive, then outputs the final folder's ID for immediate use. How it works This workflow streamlines the creation of nested folders in Google Drive: 1. Input: Provide a rootfolderid and a path (e.g., Projects/Clients/Reports) as input. 2. Path Parsing: The workflow splits the path into individual folder names (based on the / separator) 3. Iterative Check & Create: Loops through each part of your path: - Searches within the current parent folder (starting with the rootfolderid) for a subfolder matching the name. - If found: Retrieves the existing folder's ID to use as the parent for the next iteration. - If not found: Creates a new folder with that name inside the current parent folder and uses the new folder's ID as the parent for the next iteration. 4. Output: Returns the Google Drive Folder ID of the very last folder in the specified path (e.g., the ID for Reports in the example above). This ID can then be directly used in subsequent n8n nodes to upload files, create documents, or perform other actions within that specific folder. Set up steps Setting up this workflow requires configuring the connection to Google Drive and knowing where to start creating folders: 1. Connect Google Drive Account: Ensure you have a Google Drive credential configured in your n8n instance. Then link your credentials in the workflow: there are 2 Google Drive nodes that will need to be updated. 2. Identify Starting Folder ID: Determine the Google Drive Folder ID where your nested structure should begin. You can either use the root of your Google Drive or a specific folder: - To use the root of Google Drive, simply set rootfolderid to root (also called "My Drive" in the UI) - To use a specific folder, open the folder in a webbrowser and look at the URL. The folder ID will be in the last part of the URL: 3. Prepare Inputs for Execution: When running the workflow (or triggering it), you will need to provide: - googledrivefolderid -> this is the root folder ID you identified in step 2. - desiredpath -> This is the path you want to create (e.g., Projects/Clients/Reports). Here's an example of how you can call this workflow in your other workflows:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create Barcodes for new Zoho Inventory sales orders

Every time a sales order is added to your Zoho Inventory organization, Make will automatically generate a Barcode for it. Then, the Barcode will be saved in a specified Google Drive folder, as a ready-to-print document.

Free

Qualify lead lists and find professional emails with OpenAI and Google Sheets

Qualify Lead Lists And Find Professional Emails With OpenAI and Google Sheets Drop a lead list into Google Drive. This workflow reads it, finds professional emails using OpenAI, and splits leads into Qualified and Unqualified sheets fully automated. --- How It Works 1. Watch For New Leads Google Drive trigger monitors a folder. When a new spreadsheet lands, the workflow fires. 2. Read Lead Sheet Pulls every row from the new spreadsheet. 3. Normalize Lead Data Standardizes fields: full name, comp

Free

Generate and post Instagram captions with Google Drive, GPT-4.1-mini, Gmail and Blotato

Social Media Post & Caption Generator (Google Drive → AI Caption → Approval → Auto-Post) Automatically turn your existing content library into approved, AI-written social media posts. This workflow selects a random file from Google Drive, generates an Instagram caption using AI, sends it to you for approval, and—once approved—uploads and publishes the post via Blotato. 🎥 Watch Step-By-Step Guide: What this template does On a scheduled basis (default: 10:00 AM), this workflow: Searches a specifie

Free

Generate an HTML/CSS Invoice from new Google Sheets rows

Every time a new row is added to your Google Sheets spreadsheet, Integromat will automatically generate an invoice with HTML/CSS to Image and upload it to Google Drive.

Free

Retrieve and answer Gmail email queries with Llama 3.2, mxbai-embed, and Qdrant

Self-Hosted This workflow provides a complete end-to-end system for automatically managing your inbox by reading incoming questions, matching them to approved guidelines, and sending consistent, 24/7 replies. By combining local AI processing with an automated retrieval-augmented generation (RAG) pipeline, it ensures fast resolution times without compromising data privacy or incurring ongoing AI API costs. Who is this for? This is designed for University Admissions, Student Support Teams, Custome

Free

Scrape & analyse Meta Ad Library image ads with Apify and OpenAI

Meta Image Ads Analyzer This n8n template builds an automated system to scrape, analyze, and extract insights from Meta advertising content. The workflow uses AI to perform deep analysis of image ads and organize the results in a structured format. How it works The workflow connects to Facebook's Ad Library to scrape image ads based on a specified page ID. Images are filtered by reach and days running, then processed through OpenAI's GPT-4o to analyze their content. Each image ad is systemati

Free

AI-powered WhatsApp support bot with ticket creation for Google Sheets

This n8n workflow automates the entire process, from learning based on your website data, documents to a multi-channel chatbot with automated ticket creation. It's the perfect solution for businesses looking to build a powerful and intelligent chatbot, replace their customer support operations team with a website widget support and a dedicated WhatsApp support agent. How it Works 1. Data Ingestion & Vectorization: The workflow starts with a simple form where you can input your website's sitemap

Free

Zoom AI meeting assistant creates mail summary, ClickUp tasks and follow-up call

Update 19-04-2025 ## - Change from OpenAI to Claude 3.7 Sonnet module - Adding the Think Tool The update enables significantly better results to be achieved. This is particularly noticeable during longer meetings! What this workflow does This workflow retrieves the Zoom meeting data from the last 24 hours. The transcript of the last meeting is then retrieved, processed, a summary is created using AI and sent to all participants by email. AI is then used to create tasks and follow-up appointments

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free