AI workflow testing and monitoring for accounting and law firms
A 12-gate release checklist, 30-case test plan and weekly monitoring routine for AI workflows at CPA and law firms, with human handoff and rollback rules.

Before an AI workflow touches client work, run it against a fixed set of about 30 test cases, write the pass criteria down first, and agree in advance which single failure stops the pilot: any disclosure of one client’s data to another, or any action the workflow was not allowed to take. After go-live, sample at least 10 outputs a week, route uncertain cases to a named reviewer within 1 business day, and rerun the full test set whenever the model, prompt, sources or permissions change. This is the testing and monitoring routine for owners and operations leads at 2–30 person CPA practices and law firms, whether the workflow extracts bank statements, drafts client emails or sorts intake.
Key decisions
- Write acceptance criteria and stop conditions before running representative normal, exception and unauthorized-action cases.
- Retest when the model, prompt, sources or permissions change; a successful demonstration does not establish reliable operation.
The AI workflow release checklist
Each gate has an owner and a pass condition. A workflow goes live only when every row passes. The same gates feed the exception queue in the automation exception monitoring workflow, so failures after launch land in one place.
| # | Gate | Owner | Pass condition |
|---|---|---|---|
| 1 | Workflow boundary written | Process owner | One page: trigger, permitted inputs, output, who acts on it, what is excluded |
| 2 | Manual baseline timed | Process owner | Minutes per item for the current method, including review and rework |
| 3 | Acceptance criteria approved | Partner | Written before any test runs, with stop-the-pilot errors listed separately |
| 4 | Test set built | Senior staff | About 30 cases with synthetic or redacted data, each with an expected result |
| 5 | Full path tested | Builder | Source file to final output, including timeouts, missing fields and duplicates |
| 6 | Permissions tested | Builder | Every operation outside scope is refused by the system, not just by the prompt |
| 7 | Planted-instruction cases | Builder | Instructions hidden in test documents change nothing outside the task |
| 8 | Handoff route live | Operations lead | Named reviewer and backup, queue states, 1-business-day target |
| 9 | Version manifest recorded | Builder | Model, settings, prompt, sources, tools and permissions under one release label |
| 10 | Rollback rehearsed | Backup operator | Previous version or manual process restored once, by someone other than the builder |
| 11 | Monitoring owner named | Partner | Weekly sample size, metrics and a dated 30-day review |
| 12 | Decision record signed | Partner | Proceed limited, retest, use a simpler method, or stop, with conditions in writing |
Build a test set that looks like your real work
A convincing demo shows the tool on a clean document. Your test set shows it on the documents your staff actually see in March. Use about 30 cases, labeled as tests, with names and numbers replaced by synthetic values:
- 18 routine cases covering the common shapes: for bank-statement extraction, that means each bank your clients use, single and multi-page statements, checking and credit card.
- 5 incomplete inputs: a missing page, a cut-off scan, a statement with no ending balance.
- 3 conflicting inputs: two statements for the same month, a corrected statement, a date format the tool could read two ways.
- 2 out-of-scope requests the workflow must refuse or route, such as a brokerage statement sent to a bank-statement extractor.
- 2 planted-instruction cases: a document containing text that tells the AI to do something else. Our article on prompt injection in client-document workflows lists what to plant.
Write the expected result for each case before you run anything. For extraction, that is the exact figures and a tie-out to the statement totals. For drafted client emails, it is the facts that must appear, the claims that must not appear (no promised filing date the firm has not approved) and an acceptable range of wording. Keep 10 further cases aside and run them only once, at the end, so you know the instructions were not tuned to pass the first 30.
Score failures by consequence, not by average
One average score hides the failure that matters. Separate errors into two classes:
| Error | Class | Response |
|---|---|---|
| Output contains another client’s data | Stop | Pilot halts; investigate access and retrieval |
| Workflow sends, files or changes a record outside scope | Stop | Pilot halts; fix permissions in the system |
| Invented figure, date or commitment | Stop if client-facing, correctable if internal draft | Fix input structure; rerun failed cases plus 5 new ones |
| Missed a required field or fact | Correctable | Track rate by case type |
| Awkward wording, formatting | Correctable | Track only if review time rises |
Measure review time per accepted output against the manual baseline from gate 2. If AI drafting saves 6 minutes but fact-checking adds 8, the workflow is slower. Put both numbers, with your volume and billing rates, into the firm automation ROI calculator before you decide. Our AI vs rules-based automation article covers when a fixed rule or a better form beats AI outright.
Hand uncertain cases to a person who can decide
Every AI workflow needs a defined route for the cases it cannot settle. A notification saying “please review” is not a route. A handoff works when the reviewer can see what was attempted, why it stopped, and what decision would let it continue.
Triggers that send a case to review
Use observable conditions, never the model’s own confidence score alone. A confident output can be wrong.
- Extracted totals do not tie to the statement’s beginning and ending balances.
- Two sources disagree on a date, amount or party name.
- A required field is empty or a source file could not be opened.
- The request falls outside the written boundary, such as a client asking an intake bot about fees or legal strategy.
- A proposed action needs authority the workflow lacks, such as sending to a new email address.
- A tool call timed out and nobody knows whether it completed.
The handoff packet
Give the reviewer a short packet so they never redo the whole task: case ID and current status; the specific reason for the stop (“statement ending balance $41,208.17; extracted transactions total $40,958.17”); links to the source pages; the proposed action, marked as a proposal; what was already attempted, including anything uncertain; the assigned reviewer and backup; and what the client has been told.
The reviewer needs real options: approve the exact proposal, edit it, request information, reroute it, or reject it with a reason. A screen with only an approve button trains people to click approve. Keep queue states few and honest: awaiting assignment, assigned, awaiting client, ready for decision, approved, completed, closed. “Approved” and “completed” are different states; an approved action that failed to run stays open. The automation failure queue article covers the queue itself in detail.
An approval covers the exact version the reviewer saw: recipient, amounts, attachments. If any of those change, the approval lapses and the case returns to review.
Control changes to prompts, models and sources
A prompt edit is an operating change. So is a vendor’s model update, a new document in the knowledge source, a new connector, or a field added to the intake form. Each can change outputs without anyone touching the workflow you tested.
Give each live configuration a release label, such as “bank-extract 1.3”, and a manifest listing the model and settings, prompt, source collection, input fields, tools and permissions, and output checks. Store the label with every output so a reviewer can tell which version produced it. Then classify each proposed change by consequence:
| Change | Retest required |
|---|---|
| Wording change with no intended behavior change | Rerun the existing 30 cases |
| New or replaced source document | Rerun cases touching that topic; check access and conflicts with current policy |
| Different model, model version or settings | Full test set plus the 10 held-back cases |
| New input field | Data boundary check plus missing-field cases |
| New tool or permission | Full test set plus permission-refusal tests |
| Step moves from draft to automatic action | Full evaluation as a new workflow, with partner sign-off |
Experiment on a working copy, never on the live version. Release in stages: run the new version in parallel without acting for a week, then on one queue or one staff member’s work, then firm-wide. Keep the previous version and the manual procedure ready. A saved old prompt is not a rollback; rehearse the restore once, with the backup operator following the written steps, and confirm no queued case gets a duplicate action. If your vendor cannot restore an earlier model, write down the real fallback, usually the manual process.
For urgent fixes, contain first: pause the affected action, route new cases to the manual queue, record what changed and who decided. Do not bundle unrelated improvements into an urgent fix.
Monitor after go-live
A workflow that passed in October can drift by February because the inputs changed, not the software. Weekly, the monitoring owner reviews:
- A sample of at least 10 outputs, or 5% of volume if that is larger, checked against source.
- Handoff volume and the oldest open case.
- Reviewer edit rate: the share of outputs changed before use.
- Any client-visible correction.
Decision rules for the monitoring owner
- If any stop-class error appears in live work, pause the workflow that day and return it to testing.
- If reviewers edit more than 20% of outputs in a week, rerun the test set and look for an input change before blaming the model. Set your own threshold; 20% is an example.
- If a handoff case waits more than 1 business day, it moves to the backup reviewer and the operations lead is notified.
- If the vendor announces a model change, rerun the full test set before the next client batch.
- If weekly volume doubles, confirm the reviewer still has time to review every case the design says they review.
Illustrative example: testing a bank-statement extraction workflow
A 6-person CPA firm wants AI to extract transactions from client bank statements into a review spreadsheet before import into QuickBooks Online. The manual baseline is 14 minutes per statement, including tie-out. The partner sets the criteria: extracted transactions must tie to the statement’s beginning and ending balances to the cent; no output may contain data from a different client file; the workflow may only write to the review spreadsheet, never to QuickBooks.
The senior builds 30 test cases from redacted statements across 7 banks. First run: 26 of 30 tie out. Two failures are scans with cut-off pages, correctly flagged for handoff. The other two are credit union statements where the tool read pending items as posted. The fix is a rule, not a prompt: drop any line marked “pending” before extraction. The rerun plus 10 held-back cases pass, and review time falls to 5 minutes per statement.
The decision record approves “bank-extract 1.0” for checking and credit card statements only, with full review of every output for 30 days, a 10-statement weekly sample afterward, and brokerage statements excluded. In January the vendor updates its model; the full set is rerun before the next client batch.
Rules that apply
- Circular 230, 31 CFR §10.22. Tax practitioners must exercise due diligence in preparing returns and in representations to clients and the IRS. §10.22(b) presumes diligence when relying on another person’s work only if you used reasonable care in engaging, supervising, training and evaluating that person; test records and monitoring logs are how you show comparable care over an AI step.
- ABA Model Rules 1.1, 5.1 and 5.3. Competence includes understanding the benefits and risks of relevant technology (Rule 1.1, comment 8), and lawyers with managerial authority must make reasonable efforts to ensure nonlawyer assistance is compatible with professional obligations.
- ABA Formal Opinion 512 (July 29, 2024). Applies competence, confidentiality, communication, supervision and fee rules to generative AI, and expects lawyers to review AI output at a level appropriate to the task.
- FTC Safeguards Rule, 16 CFR 314.4(d)(2) and (f). For tax preparers: monitor and test safeguards, and oversee service providers that touch customer information.
- NIST AI RMF 1.0 and NIST AI 600-1. Voluntary frameworks; useful vocabulary for test, evaluation and monitoring records.
Check whether your state bar has issued its own generative AI guidance, since several states have, and adapt your review levels to it.
This article describes administrative practice. It is not legal or tax advice; have a qualified professional review your firm’s policies.
Common implementation mistakes
- Writing pass criteria after seeing results, so whatever the tool did becomes “acceptable”.
- Testing only clean PDFs from one bank, then going live on scanned statements from twelve.
- Relying on the prompt to say “don’t send emails” while the connector can still send them.
- Editing the live prompt during tax season with no release label, then being unable to say which version produced a wrong figure.
- A review queue with one reviewer and no backup, which stalls the week that person is out.
Keep a register of every AI workflow and its release label in your firm AI use policy and inventory. Sector resources are on the accounting and legal hubs.
Next step
Download the free Automation exception queue for CPA and law firms workbook to set up the handoff queue, owners and weekly review from this article, then add the 12 release gates as your go-live checklist. When the routine is running, track the workflow, its owner and open exceptions in Operations Desk.
Sources and application notes
Timings, workload estimates and approval limits in this guide are proposed operating settings. Adapt them to your firm; binding duties come from the applicable rules.
- NIST AI Risk Management Framework
- ABA Formal Opinion 512: Generative AI
- Treasury Circular 230
- FTC Safeguards Rule compliance guide
U.S. tax and legal examples need jurisdiction-specific review. ABA model rules apply only as adopted. Sources describe requirements or product behavior; they do not certify this workflow.
Publisher: FirmWorkflows. Report a correction with the URL and statement concerned.



