How to Use the Hazel Rules Prompt to Organize a Bookkeeper's Client Document Inbox
Design a set of Hazel rules for macOS that sort a bookkeeper's downloaded bank statements, receipts, and tax forms into client and year folders: exact conditions, contents matching with custom tokens, rename and sort patterns, rule order, and a dry run plan so nothing gets lost.

A bookkeeper's Downloads folder fills up fast. Bank statements, card statements, receipts, and tax forms arrive from a dozen portals with names that say nothing about the client. Hazel on macOS can sort them automatically, but a careless rule set can file a statement under the wrong client, grab a download before it finishes, or overwrite last month's file. The Hazel Rules for a Bookkeeper's Client Document Inbox: Conditions, Rename Patterns, Subfolder Sorting, and Safe Rule Order on macOS prompt designs a rule set that is specific, ordered, and safe.
What the prompt produces
- A rule order table for each watched folder, with specific rules above general ones and a catch all at the end.
- Each rule written as it appears in Hazel, with the conditions and the actions in order.
- Custom token definitions for reading client keys and statement dates from file names or document text.
- Rename and sort patterns that produce your folder structure, with the result shown for real example files.
- Edge case handling for duplicates, files that match two clients, and names with punctuation.
- Sync cautions and a dry run plan so you test on copies before turning rules on.
How to fill the inputs
WatchedFolders names the folders Hazel watches and where the client archive lives. DocTypes is the heart of the prompt: list each kind of document that arrives with one real file name for each. File names are what Hazel matches first, so examples beat descriptions.
ClientKeys lists each client with a short code for paths and something that reliably appears in their documents, such as the last four digits of an account. NamingConvention is the folder and file pattern you want. HazelSetup gives your Hazel version and whether the archive syncs through Dropbox, iCloud Drive, or a NAS. Unmatched says what happens to files no rule recognizes.
Reading the example output
The example handles two clients, one of them with an apostrophe in its name, and four document types. Patterns worth copying:
- Specific rules come first. Hazel works through a folder's rules from the top and acts on the first one a file matches, so bank statements with account digits in the name sit above the general rules.
- Every filing rule skips fresh downloads. A Date Added condition stops Hazel from moving a file that is still being written.
- Card statements use contents matching. Their names carry no account digits, so the rule reads the text inside the PDF. The prompt notes that scanned PDFs need OCR first.
- W-9 forms go to review, not to a folder. A W-9 does not tell you which client asked for it, so the rule only tags it.
- Nothing is deleted. Unmatched files are tagged Needs Review and left where they are.
- Short codes keep paths clean. The apostrophe in O'Day never reaches a folder name.
Tips for better results
Use real file names. Rename patterns and conditions depend on the exact text. A made up example can produce a rule that never fires.
Start with fewer rules. Cover the documents you get every month, run it for a cycle, then add the rare ones.
Test on a copy folder. Duplicate the rules onto a test folder, copy last month's files there, and use Hazel's preview to see which rule each file matches before you enable anything on Downloads.
Watch cloud placeholders. If the archive syncs and some folders are online only, moves can stall. Keep the current year available offline.
Mistakes to avoid
- Putting a broad rule like Extension is pdf above the specific ones.
- Adding any delete or trash action to an automated inbox.
- Guessing a client from a vague match instead of sending the file to review.
- Forgetting that two statements for the same month need a counter, not an overwrite.
Who it is for
This prompt fits bookkeepers, solo accountants, virtual assistants who manage client paperwork, and small firms on Macs that want document intake to run without someone dragging files into folders all afternoon. The same structure works for property managers, insurance agents, and anyone who receives recurring documents per client.
Related PromptDig links
- Prompt: Hazel Rules for a Bookkeeper's Client Document Inbox: Conditions, Rename Patterns, Subfolder Sorting, and Safe Rule Order on macOS
- More productivity prompts: Browse more prompts
- Have an automation prompt that saves you time? Share a prompt