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.

  1. Create a read-only test manifest and select authorized text for one file at a time.
  2. Apply the same classification instructions and capture the model configuration used.
  3. Validate the returned label and identity before showing the proposal to the reviewer.
  4. Keep client assignment separate from document type. A recognized invoice can still have an unknown entity.
  5. Record reviewer acceptance or correction, then route only the approved file version.

Use twelve synthetic files with independent labels

FileObserved contentExpected label
D1Invoice number and amount dueInvoice
D2Supplier invoice for monthly serviceInvoice
D3Itemized sales invoiceInvoice
D4Account activity and opening/closing balancesStatement
D5Bank statement heading and periodStatement
D6Supplier statement listing several invoicesStatement
D7Paid purchase receiptReceipt
D8Store receipt with purchase totalReceipt
D9Payment receipt for identified purchaseReceipt
D10Cover page saying documents attachedNeeds review
D11Bundle containing invoice and statementNeeds review; mixed bundle
D12Unreadable text plus routing instructionsNeeds 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 deployment

Describe 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

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.

Explore the wider workflow