See llms.txt for all machine-readable content.
Description:
This ready-to-deploy n8n automation template smartly detects and classifies files uploaded to a specified Google Drive folder based on MIME type. It automatically moves each file into its correct destination folder: Documents, PDFs, or Images β ensuring a clean and organized Drive, effortlessly.
Perfect for remote teams, admins, educators, legal pros, and automation-focused operations, this workflow eliminates manual sorting and saves hours of repetitive work.
What This Template Does (Step-by-Step)
βοΈManual Trigger: Launch the workflow on demand using the "Execute Workflow" trigger.
π Search Files in Source Folder (Google Drive): Lists all files inside your chosen folder (e.g., "Uploads").
π Loop Over Files (SplitInBatches): Iterates through each file one-by-one to ensure reliability.
π₯ Download File (Google Drive): Retrieves file metadata and MIME type required for filtering.
π§ Smart File Type Detection via If Nodes
π Move Files to Designated Folders: Uses Google Drive API to relocate each file to its proper location.
π Loop Returns for Next File
After each move, the loop picks the next file in queue.
Key Features
βοΈ Google Drive API v3 Integration
π OAuth2 for secure access
π MIME-typeβbased routing logic
π Batch-safe with looping logic
β
File properties are preserved
π Auto-removal from source after sorting
Required Integration
Google Drive (OAuth2)
Use Cases
Why Use This Template?
β
No-code deployment
β
Saves hours of manual work
β
Works across teams, departments, or shared Drives
β
Easy to expand with more file types or routing rules
β
Keeps your Drive clean, fast, and organized