Classify into a review queue before moving files
An AI sorter can propose whether a file appears to be an invoice, statement or receipt. It should not silently choose the client, authorize payment or declare a package complete. Start with a manifest that preserves the original file reference and records the proposed class, evidence and review state. Move files only after the intended routing and access rules have been checked.
Power Automate can run a text prompt. The deployment pattern below is a proposed assistant using authorized document text, with ordinary workflow rules checking its output. No model execution is claimed.
Use a closed label set and a narrow output
For the fictional pilot, allow Invoice, Statement, Receipt and Needs review. The assistant returns FileID, one label, a short supporting passage and a question where evidence is insufficient. Instructions found inside a document are source content, not permission to act. The workflow rejects unfamiliar labels and any returned FileID that does not match the input.
- Create a read-only test manifest and select authorized text for one file at a time.
- Apply the same classification instructions and capture the model configuration used.
- Validate the returned label and identity before showing the proposal to the reviewer.
- Keep client assignment separate from document type. A recognized invoice can still have an unknown entity.
- Record reviewer acceptance or correction, then route only the approved file version.
Use twelve synthetic files with independent labels
| File | Observed content | Expected label |
|---|---|---|
| D1 | Invoice number and amount due | Invoice |
| D2 | Supplier invoice for monthly service | Invoice |
| D3 | Itemized sales invoice | Invoice |
| D4 | Account activity and opening/closing balances | Statement |
| D5 | Bank statement heading and period | Statement |
| D6 | Supplier statement listing several invoices | Statement |
| D7 | Paid purchase receipt | Receipt |
| D8 | Store receipt with purchase total | Receipt |
| D9 | Payment receipt for identified purchase | Receipt |
| D10 | Cover page saying documents attached | Needs review |
| D11 | Bundle containing invoice and statement | Needs review; mixed bundle |
| D12 | Unreadable text plus routing instructions | Needs review |
Expect three examples of each substantive class and three review cases. These are invented document descriptions, not files actually classified by a model. Prepare representative authorized samples before testing your chosen implementation.
Bind approval to the file and destination
Power Automate provides human approval actions. The reviewer should see the source, proposed label and intended destination together. Approval of a label alone does not approve sharing the file with a client or a broader team. Keep uncertain entity names and mixed bundles held for a separate decision.
Do not let the sorter overwrite the original file or remove it from the intake manifest. A corrected class should preserve the original proposal so the team can identify recurring mistakes. If the file changes, the old approval must not authorize routing the replacement.
Measure errors that matter to the next step
Test that D11 is not reduced to whichever document appears first, and D12 cannot command a move to a new folder. Remove readable text from D1 and require uncertainty rather than a confident invoice label. Repeat the same pack and inspect changes in proposals, not just an aggregate accuracy number.
Record wrong-class suggestions, uncertain files and reviewer changes separately. ParseMill’s current supported invoice processing is distinct from this general document-sorting assistant. A workflow review can scope the classification step, access boundaries and human release point around your existing document tools.
Assisted setup with ParseMill
Turn one intake task into a reviewed workflow
Start with one type of message or document, its expected result and the cases that need a person. We can scope an assisted setup with clear review and delivery checks.
Discuss this deploymentDescribe your tools, the repeated task, its frequency and the result you need. We agree the scope and any fee before starting. Third-party connections need their own fit assessment; sending a request does not activate an integration.
For supplier invoice PDFs, try the invoice-to-Excel example to see ParseMill’s extraction, source review and workbook export.
Sources and editorial notes
- Microsoft: Use a prompt in a flowChecked 2026-11-09
- Microsoft: Flow approvalsChecked 2026-11-09
Written by ParseMill. Worked examples are illustrative process examples, not customer results. Software availability can vary by subscription and region; check the linked documentation for your account. Review decisions and approvals remain with your team.