Auto-sort Documents (German Workflow)

Scan → OCR → Rename → Auto-sort into German folder structure. Complete workflow with templates and rules for insurance, contracts, taxes, and invoices.

This workflow shows how NameQuick not only renames scanned documents intelligently but also moves them into the right folders based on content. Instead of sorting every file manually, insurance policies land in Versicherungen/, rental contracts in Verträge/, invoices in Finanzen/Rechnungen/{year}/{month}/ and so on.

This example targets German document types (Versicherungspolice, Mietvertrag, Steuerbescheid, Gehaltsabrechnung, Arztrechnung) because that is where the auto-sort workflow pays off most. Use the same pattern with English document types if you operate in a different market.

Before & After#

NameQuick
Scan_001.pdf
Versicherungen/2026-01-15_Allianz_KFZ-Versicherung.pdf
Insurance
AI
Scan_002.pdf
Verträge/Mietvertrag/2026-02-01_Mietvertrag_Hauptstr-45.pdf
Rental contract
AI
Scan_003.pdf
Steuern/2025_Steuerbescheid_Finanzamt-München.pdf
Tax assessment
AI
Scan_004.pdf
Finanzen/Rechnungen/2026/03/2026-03-10_Telekom_Rechnung_89,99EUR.pdf
Invoice
AI
IMG_4521.jpg
Gesundheit/2026-02-20_Arztrechnung_Dr-Mueller_125EUR.pdf
Medical bill
AI
doc20250315.pdf
Arbeit/2025-03-15_Gehaltsabrechnung_Mueller-GmbH.pdf
Payslip
AI

Five-step workflow#

1

Scan

Capture the document as PDF using the iPhone Notes app, a sheet-fed scanner, or a multifunction device.

2

Inbox folder

The scan lands in ~/Scans/ — the Watch Folder — via AirDrop, iCloud Drive, or USB.

3

OCR and AI

NameQuick detects new files in the Watch Folder and reads their content via OCR. The AI extracts date, sender, amount, and document type.

4

Smart Rename

The configured preset produces a meaningful filename according to your schema.

5

Auto-sort

Post-AI rules move the file into the right folder based on the detected content and apply Finder tags.

German folder structure#

A proven layout for private documents on the Mac:

~/Documents/
├── Versicherungen/       (Insurance)
│   ├── Haftpflicht/      (Liability)
│   ├── KFZ/              (Car)
│   ├── Kranken/          (Health)
│   └── Hausrat/          (Home contents)
├── Verträge/             (Contracts)
│   ├── Mietvertrag/      (Lease)
│   ├── Arbeitsverträge/  (Employment)
│   └── Abonnements/      (Subscriptions)
├── Steuern/              (Taxes)
│   ├── 2024/
│   ├── 2025/
│   └── 2026/
├── Finanzen/             (Finances)
│   ├── Rechnungen/       (Invoices)
│   │   └── {year}/{month}/
│   ├── Kontoauszüge/     (Bank statements)
│   └── Kreditunterlagen/ (Loan docs)
├── Gesundheit/           (Health)
│   ├── Arztrechnungen/   (Medical bills)
│   ├── Befunde/          (Diagnoses)
│   └── Rezepte/          (Prescriptions)
├── Arbeit/               (Work)
│   ├── Gehaltsabrechnungen/ (Payslips)
│   └── Zeugnisse/        (Certificates)
└── Urkunden/             (Certificates)
    ├── Geburt-Heirat/    (Birth/Marriage)
    └── Ausbildung/       (Education)

Templates for German document types#

A template defines which fields to extract from a document and how the filename is assembled. Switch between the five templates below:

Extracts insurer, policy type, and issue date from policies and premium bills.

Filename Pattern

{Datum}_{Versicherer}_{Versicherungsart}

Fields Extracted

Datum (YYYY-MM-DD)Versicherer (insurer name)Versicherungsart (policy type)

Example

InputScan_001.pdf
Output2026-01-15_Allianz_KFZ-Versicherung.pdf

Tips

  • Normalize insurer names (Allianz SE → Allianz) so folders stay consistent.
  • Extract policy type as Haftpflicht, KFZ, Hausrat, or Kranken — makes Finder-tag filtering easier.

Auto-sort rules#

After renaming, these rules move the file into the right folder. Conditions check the extracted content or the new filename. Enable rules one at a time and copy them into NameQuick:

Rule: detect insurance
Condition: Extracted content contains "Versicherung" OR "Police" OR "Versicherer"
Action:    Move to Versicherungen/{year}/
         Add tag "versicherung"
Rule: detect rental contract
Condition: Extracted content contains "Mietvertrag" OR "Miete" OR "Vermieter"
Action:    Move to Verträge/Mietvertrag/
         Add tag "vertrag"
Rule: sort invoices
Condition: Extracted content contains "Rechnung" OR "Invoice" OR "Rechnungsnummer"
Action:    Move to Finanzen/Rechnungen/{year}/{month}/
         Add tag "rechnung"
         Add Finder comment with extracted amount
Rule: detect tax assessment
Condition: Extracted content contains "Steuerbescheid" OR "Finanzamt"
Action:    Move to Steuern/{year}/
         Add tag "steuer"
Rule: detect payslip
Condition: Extracted content contains "Gehaltsabrechnung" OR "Lohnabrechnung" OR "Netto"
Action:    Move to Arbeit/Gehaltsabrechnungen/{year}/
         Add tag "gehalt"
Rule: detect medical bill
Condition: Extracted content contains "Arzt" OR "Praxis" OR "Behandlung" OR "Gebührenordnung"
Action:    Move to Gesundheit/Arztrechnungen/{year}/
         Add tag "gesundheit"

Watch Folder setup#

A single Watch Folder handles the entire inbox:

  1. Watch Folder: ~/Scans/
  2. Preset: Smart Rename with multiple document-type templates (NameQuick auto-selects the matching template)
  3. Auto-sort rules: all rules above enabled, in the order shown

Scan sources that land in ~/Scans/:

  • iPhone Notes app, AirDrop to the Mac
  • Sheet-fed scanner with save-to-folder (e.g., ScanSnap iX1600)
  • Multifunction device over an SMB share
  • Docutain, Genius Scan, or Adobe Scan with cloud sync to ~/Scans/

Try it yourself

7-day free trial. 50 file renames. No credit card required.

Joinhappy customers

Try NameQuick Free