๐Ÿ“ Google Drive workflow with nested folder support

โšก 228 views ยท ๐Ÿ“ File Management

Description

๐Ÿ‘ค Whoโ€™s it for


โš™๏ธ How it works / What it does

This workflow will:

  1. Accept a Google Drive Folder ID as an input (from another workflow or trigger).
  2. Recursively discover all child folders starting from the parent, no matter how many levels deep.
  3. Collect all file IDs & names from every folder (parent + all descendants).
  4. Return a clean list of all found files (with IDs and names) for further automation, downloading, or processing.

Key features:


๐Ÿ› ๏ธ How to set up

1. Google Drive Credentials

2. Parent Folder ID

3. Check Set Nodes

4. Run the Workflow


โœ… Requirements


๐Ÿง‘โ€๐Ÿ’ป How to customize


๐Ÿšจ Notes & Tips


๐Ÿ—‚๏ธ Node Overview


๐Ÿ”„ Example Output

[
  {
    "file_id": "1A2B3C...",
    "file_name": "MyDoc.pdf"
  },
  {
    "file_id": "2B3C4D...",
    "file_name": "Presentation.pptx"
  }
]

## ๐Ÿ”— Nodes Used

Google Drive, Execute Sub-workflow, Execute Workflow Trigger

## ๐Ÿ“ฅ Import

Download [`workflow.json`](workflow.json) and import into n8n:
**Workflow menu โ†’ Import from File**

[๐Ÿ“– Importing guide](../../../docs/importing-templates.md) ยท [๐Ÿ”‘ Credential setup](../../../docs/credential-setup.md)