Templates / Auto file organizer for Google Drive: sort PDFs, images & documents by type

Auto file organizer for Google Drive: sort PDFs, images & documents by type

Ready for 3.0

by Rahul Joshi ✓ · 1,786 views · created 2025-07-29 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Search files and folders (Google Drive): work with file folder
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Download file (Google Drive): download
  4. If: checks a condition and branches into true / false
  5. Move to Documents (Google Drive): move
  6. If: checks a condition and branches into true / false
  7. Move to PDFs (Google Drive): move
  8. If: checks a condition and branches into true / false
  9. Move to Images (Google Drive): move

Services it uses

Google Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (If Image).
Check at runtime on n8n 3.0
  • If/Switch with “Always Output Data”: in 3.0 the empty item only appears when every output is empty, so a branch relying on an empty item may silently stop.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (4)

From the author

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 —…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.