Automated Google Drive Folder Creation by Path

somdn_product_page

This n8n workflow automates the creation of nested folders in Google Drive based on a specified path string. When triggered, it takes a desired folder path (e.g., “Projects/Clients/Reports”), splits it into its components, and then checks if each folder exists at the proper level within a designated parent folder (or root). If a folder does not exist, the workflow creates it, ensuring the entire hierarchy is established accurately. The process repeats for each subfolder in the path, creating missing folders one by one. Once complete, it returns the ID of the last created (or existing) folder, enabling seamless integration with other workflows, such as uploading files directly into that folder.

Node Count

11 – 20 Nodes

Nodes Used

code, executeWorkflowTrigger, googleDrive, if, manualTrigger, set, stickyNote

Reviews

There are no reviews yet.

Be the first to review “Automated Google Drive Folder Creation by Path”

Your email address will not be published. Required fields are marked *