DocSorter: AI Document Classifier & Auto-Router
DocSorter: AI Document Classifier & Auto-Router ships as a ready-to-import n8n automation package: load the bundled workflow JSON, connect the credentials listed on this page, and activate it on self-hosted n8n or n8n Cloud.
Stop dragging invoices, contracts, and receipts into folders by hand — AI reads every new file in your Drive inbox, renames it, files it in the right folder, and flags anything it isn't sure about.
- Classify every new inbox document as an invoice, contract, receipt, or other in seconds
- Auto-file confidently-classified documents into the matching Drive folder with a clean, consistent name
- Extract the vendor or client each document belongs to for faster lookup later
- Escalate low-confidence documents to Slack instead of risking a misfiled record
- Log every routing decision to a Google Sheet for a complete audit trail
- Never re-process the same file twice, even across hundreds of polling runs
- End the recurring monthly chore of manually sorting mixed documents before handoff to your accountant
Setup Service — optional live install and test. Choose your tier at checkout (not tied to this template's price).
Paste the license key from your receipt. It must match this template.
Workflow summary
One workflow handles everything end-to-end.
- 1Checks your Drive inbox folder every 15 minutes for new documents
- 2AI reads each file's name, type, and any notes to decide if it's an invoice, contract, receipt, or other document
- 3Renames the file with a clean, consistent name and extracts the vendor or client it belongs to
- 4Automatically moves confidently-classified documents into the matching Drive folder
- 5Leaves anything the AI isn't sure about in the inbox and posts a Slack alert for a human to review
- 6Logs every decision — routed or flagged — to a Google Sheet for a full audit trail
- 7Never processes the same file twice, even across many polling runs
What's included with your purchase
Every checkout includes the same practical package so you are never hunting for missing files mid-setup.
- 01Workflow JSON exports ready to import into your n8n workspace (self-hosted or n8n Cloud).
- 02Step-by-step guide that walks credential creation, node-by-node checks, and activation.
- 03Credential checklist for Google Drive, Google Sheets, OpenAI, Slack. Email support@n8ntemplatestore.com if you get stuck — replies within 24 hours (SLA).
- 04Perpetual (lifetime) use license Your one-time purchase includes an ongoing right to use this template package on n8n instances you control for your own automation — not for resale or public redistribution of the files as a product. Terms & conditions.
- 05We keep the copyright Workflow JSON, guides, screenshots, and bundled assets stay our copyrighted works (or our licensors'). Payment grants the limited license in our Terms only — it does not transfer ownership.
Need a second opinion before buying? Compare the full catalog, browse more Productivity templates, see how n8n compares to Zapier and Make, or read the support policies.
Three steps to a running n8n automation
Import the workflow into n8n
Paste your API keys into the credentials panel
Press ‘activate’ — you’ll get your first report tomorrow morning
Need help setting up this n8n template?
Beginner-friendly guidance is included. Our support team will help you if you get stuck — email support@n8ntemplatestore.com or visit support.
About this template
How long does it take to set up DocSorter: AI Document Classifier & Auto-Router?
What if I get stuck?
Do I need to pay for Google Drive?
Can I customize the workflow?
What if it doesn’t work for me?
Related n8n workflow templates
App Development Time Estimator
Pre-built n8n workflow template that automates productivity with OpenAI. Live in about 10 minutes.
QuoteForge: Batch Quote/Estimate PDF Generator
Pre-built n8n workflow template that automates productivity with Google Sheets. Live in about 10 minutes.
MomentumLoop: Between-Session Client Engine
Pre-built n8n workflow template that automates productivity with Google Sheets. Live in about 10 minutes.