How to organise PDFs and documents automatically

Save PDF attachments and scans to one landing folder, then sort that folder on a schedule. Email rules can save attachments automatically in some email apps; a file organiser can then move them into client, finance or legal folders. Badly named scans need either renaming or content analysis before they can be sorted reliably.

The two halves of the problem

Getting PDFs organised automatically is really two jobs: getting the files out of email and onto your computer or shared drive, and then putting each one in the right folder. Most tools handle one or the other, not both.

Step 1: Save attachments to one place

Pick one landing folder — Downloads, or a dedicated Inbox folder on your shared drive — and save every attachment there. Some email services and automation tools can save attachments from specific senders to a cloud folder automatically; check what yours supports. If yours doesn't, saving manually into a single folder is still far quicker to deal with than attachments scattered across the desktop.

Step 2: Decide where each kind of document goes

  • Supplier invoices and receipts → Finance, by financial year.
  • Signed contracts and agreements → Legal, or the client's contracts folder.
  • Client documents → the client's folder.
  • Anything you can't place → Unsorted.

Step 3: Deal with unhelpful filenames

PDFs from scanners and accounting systems often arrive as scan001.pdf or Document (3).pdf. Any rule based on filenames can't sort these, because there's nothing in the name to go on. You can rename them after opening each one, ask senders to include a reference, or use a tool that can read the document text.

Step 4: Sort the landing folder

Manually

Sort the folder by name or date in File Explorer and drag files across in batches. Fine for a few files a week.

With rules or a script

A script or rules-based tool can move files whose names contain a word such as “invoice”. It works well when names are predictable and poorly when they aren't.

With an instruction-based organiser

Apps like Sortem take a plain-English instruction and propose a destination for each file, which you approve before anything moves.

Frequently asked questions

Related guides