Automatically sort Google Drive files into folders by type

The system checks each new file's type and moves it into the right Documents, PDFs, or Images folder.

How the work actually flows

It branches. Exactly one path is taken; runs once per each uploaded file.

Pattern: Exclusive Choice (4) · Simple Merge (5) · Multiple Instances without Synchronization (12)

flowchart TD trig(("you run the sorter")):::human s0[["check each file's type"]]:::mi s1["remove from original folder"]:::task trig --> s0 gx{"× which file type"}:::gate s0 --> gx p00["move to pdf folder"]:::task gx -->|"pdf files"| p00 p10["move to images folder"]:::task gx -->|"image files"| p10 p20["move to documents folder"]:::task gx -->|"document files"| p20 jn{"○ file moved"}:::gate p00 --> jn p10 --> jn p20 --> jn jn --> s1 out[/"files sorted into type folders"/]:::out pay{{"organized drive without manual sorting"}}:::pay s1 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
A stepRuns once per itemA personOne path onlyPaths rejoinResultPayoff
Build size
Standard

A mid-size build with several tools working together.

Business functions
Document Processing & OCRFile & Cloud Storage
Connects
Google Drive

The problem it solves

Uploads pile up in one folder and it takes real time to manually sort PDFs, images, and documents into the right place. Skipping the sorting for even a few days makes the folder a mess you have to untangle later.

Who it fits

Best for a remote team, admin, or educator who receives a steady stream of mixed file uploads.

How it works

  1. You run the sorter on a folder of uploaded files
  2. The system checks each file's type
  3. PDFs, images, and documents are automatically moved into their matching folder
  4. The file is removed from the original folder once it's sorted
What you get

Folders that stay tidy without you touching them

New files sort themselves straight into the right Documents, PDFs, or Images folder the moment they land in your Drive.

What you get

A Drive with files automatically routed into Documents, PDFs, and Images folders instead of one messy pile.

What you need

A Google account with Drive access.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook