Automation library · Documents and files

Google Drive AI documents classifier with DeepSeek

Started by an event in a connected app, and works across Google Drive. It hands the judgement calls to DeepSeek. 13 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: DeepSeek

13 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 2Logic 2Service 8

The steps in the order they run, from what starts it.

  1. 1DeepSeek Chat ModelLm Chat Deep SeekModel
  2. 2Google Drive TriggerGoogle Drive triggerStarts it
  3. 3Classify DocumentText ClassifierModel
  4. 4Search Source FolderGoogle DriveService
  5. 5Move to Manual ReviewGoogle DriveService
  6. 6Move to OrdersGoogle DriveService
  7. 7Move to Delivery NotesGoogle DriveService
  8. 8Move to InvoicesGoogle DriveService
  9. 9Process Files One by OneSplit In BatchesLogic
  10. 10Download FileGoogle DriveService
  11. 11Route by File TypeSwitchLogic
  12. 12Extract Text from PDFExtract From FileService
  13. 13OCR ImageTesseract NodeService

How it's built

Starts on
An event in a connected app
Steps
13, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Drive
Model
DeepSeek

Questions

What does it need to run?

An n8n account, plus your own Google Drive account, and a key for DeepSeek. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls DeepSeek. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 13 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 13 steps before you point it at anything that matters.