πŸ“ Index new Google Drive folder files into Google Sheets automatically

⚑ 62 views Β· πŸ“ File Management

Description

Description:

Automatically catalog the contents of any Google Drive folder into a Google Sheets spreadsheet β€” capturing file names, types, extensions, Drive links, and timestamps in one click. Ideal for teams or individuals who need a living, auditable inventory of shared Drive folders without manually tracking files.

How it works

Set up steps

  1. Connect your Google Drive and Google Sheets OAuth2 accounts in n8n credentials.
  2. Create a Google Sheet with the following column headers in row 1 (order does not matter): File Name, MIME Type, File Extension, Google Drive URL, File ID, Indexed At.
  3. Open the Config node and fill in three values: your target Google Drive folder ID, your Google Sheets spreadsheet ID, and the sheet tab name (defaults to Sheet1).
  4. Run the workflow manually to populate the index. Re-run anytime to append newly added files β€” existing entries are skipped automatically.

Requirements

How to customize

πŸ”— Nodes Used

Google Sheets, Google Drive

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup