Home Use Cases Work Insights About Contact
Back to Our Work

How an Enterprise HR Services Company Built a Documents Agent That Holds Uncertain Fields for Human Review

Operations2
Open the walkthrough

Five-Step AI Workflow with Human Oversight

Each step shows the workspace, what the AI completed, and what still needs human review.

Step 3 needs a person. Step 3 is waiting for approval right now. Click it to open the full walkthrough.

Estimates are directional and based on stated assumptions. All names, organizations, and identifying details have been anonymized in accordance with our confidentiality agreements.

The Transformation

How an Enterprise HR Services Company Built a Documents Agent That Holds Uncertain Fields for Human Review

Before
A person used to open, name and sort every arrival by hand.
A person used to key every field off every form.
A person used to key each cleared record into the payroll system a second time.
A person used to assemble the file by hand before every audit.
After
everything that arrived, whole, named, and matched to its file
every field off every page, with its certainty scored
the open fields, cleared by you, and what your corrections teach
every cleared record posted, read back, and proven to match
the trail per document, the file per employee, the deadlines on a clock
Executive Summary

Every document that reaches the operation, from the moment it arrives to the moment its record is posted and its file is complete. The agents sort it, read it, fill its fields, post it into the payroll and HR systems, and hand a person only the fields they were not sure of. Five stations, run as a loop: the corrections a person makes at station 3 change how station 2 reads tomorrow, and what station 5 finds missing changes what station 1 holds.

What Was Broken

A person used to open, name and sort every arrival by hand
A person used to key every field off every form
A person used to key each cleared record into the payroll system a second time
The real cost
A person used to assemble the file by hand before every audit.

What We Built

Five stations and 10 subagents. Each subagent carries its own tasks and its own refusal.

A4
Batch Sweep
Collect every document off the client portal, the shared mailbox and the scanner folder
A3
Page Check
Check every page is present against what that form type carries
A4
Page Reader
Read the typed text, the tables and the handwriting off every page
A3
Field Check
Check every date, amount and id number against the format its field carries
A3
Doubt Queue
Gather every open field with the page region that produced it beside it
A2
Correction Log
Record every correction you make against the field and the form type it came from
A3
Record Post
Post each cleared record into the payroll or HR system its type feeds
A3
Read Back
Read each posted record back out of the system it landed in
A4
Trail Keeper
Keep the trail per document: arrived, read, checked, posted, filed
A3
File Audit
Check each employee file for the documents its client's contract requires

How It Runs

1

Arrival Sorting

Nobody is asked anything here

Agents collect every document off every route, name each one's form type, match it to the employee file it belongs to, and hold anything partial, unreadable or unknown. Nothing waits on a person here. A held document is never guessed at and never quietly dropped.

2

Data Entry

Nobody is asked anything here

Agents read the typed text, the tables and the handwriting off every page, fill the fields that form type carries, score their own certainty on each value, and leave open what they would otherwise be guessing. Nothing waits on a person here. An open field is an open field, not a filled one.

3

Exception Review

A person answers here

Agents put each open field on one screen with the page region that produced it beside it, ranked by the deadline its document carries, and log every correction a person makes. This is where a person works. Everything else exists so that 61 fields, not 6,650, reach this screen.

4

System Posting

Nobody is asked anything here

Agents post each cleared record into the payroll or HR system its type feeds, read every posting back out, and hold anything the receiving system rejects with the rejection attached. Nothing waits on a person here. A rejection is held with its reason, not retried until it goes through.

5

Record Keeping

Nobody is asked anything here

Agents close the trail on every document, file the original beside the record read off it, check each employee file for what its client's contract requires, and put every deadline on a clock. Nothing waits on a person here. A file found short is flagged the day it is short, and lands on the review queue, not in an audit.

Where a Person Decides

Step 3, Exception Review. Clear the open fields, the page is beside each one, the garnishment order is first. Accept or reject the timesheet reading change the 11 corrections propose. a doubtful field never posts unchecked.

Operating Model

This changes how work flows through the team.

Role
Responsibility
Exception Review owner
Clear the open fields, the page is beside each one, the garnishment order is first. Accept or reject the timesheet reading change the 11 corrections propose. a doubtful field never posts unchecked.
Arrival Sorting, when it goes wrong
Look here only if a sender says a document vanished.
Data Entry, when it goes wrong
Look here only if a filled field reads differently than the page does.
System Posting, when it goes wrong
Look here only if a system shows a record this station does not.
Record Keeping, when it goes wrong
Look here only when an auditor or a client asks who touched what.

What Transfers, What Must Be True

What transfers
A person is in the loop wherever a field the agents were not sure of would otherwise post. One station refuses to proceed on its own, Exception Review, and it is the one a person carries. Everywhere else the agents sort, read, post, file and flag, and reach you only with a field that is yours to decide.
Exception Review stops for a person, and a doubtful field never posts unchecked.
Every subagent says what it will not do. 10 of them do.
What must be true in your environment
The agent can read the systems your records already live in. This one reads 19.
Somebody owns Exception Review and has time for it.

Failure Modes

What breaks this pattern:

✗ Guessed documents enter the pipeline

A document that matches no form gets guessed onto the closest one. The wrong data then sits inside a record that looks right, and nobody knows to check it.

✗ Uncertain readings post as facts

A value the reader was not sure of goes into the system with the same weight as one it read clean. Downstream, nobody can tell which numbers were solid and which were guesses.

✗ Retries push wrong records through

A rejected record gets retried until the receiving system accepts it. The rejection was the one warning that the record was wrong, and retrying past it puts a bad record in your books.

✗ Missing documents surface at audit

A file short a required document looks complete until an auditor opens it. By then the gap is months old and the original paper is much harder to recover.

Directional Outcomes

What the agent counts, and the station that counts it.

These counts are the tallies from one monitored run of the agents. They are not monthly or annual totals.

Documents sorted
Counted at Arrival Sorting
21,400
Wrong form type passed on
Counted at Arrival Sorting
0
Held for a person to name
Counted at Arrival Sorting
57
Fields filled
Counted at Data Entry
512,000
Guessed values passed on
Counted at Data Entry
0
Fields left open for a person
Counted at Data Entry
4,890
Records posted and read back
Counted at System Posting
19,800
Posted twice
Counted at System Posting
0
Held on a system rejection
Counted at System Posting
61
Documents trailed
Counted at Record Keeping
21,400
Audit questions the trail could not answer
Counted at Record Keeping
0
Files flagged short to a person
Counted at Record Keeping
84
Our measurement policy: We do not publish precise ROI without baseline methodology. Every figure above carries its basis.

What Runs Where

Every step names the subagent that does the work, the record it writes, the thing that raises a question for a person, and what it is allowed to touch. This is drawn from the source, not from a diagram somebody kept in sync by hand.

1Arrival Sorting
subagentdoc-intake
writesdocs/intake/<doc-id>.json
raiseshold-partial-or-unknown
may touchdocs/intake/**, docs/held/**, the sources read-only
2Data Entry
subagentread-and-extract
writesdocs/fields/<doc-id>.json
raisesfield-below-the-line
may touchdocs/fields/**, docs/intake/** read-only
3Exception Review
GATE
subagentreview-queue
writesdocs/cleared/<doc-id>.json, rules/proposed/<rule-id>.json
raisesawait-your-clearance
may touchdocs/cleared/**, rules/proposed/**, everything else read-only
4System Posting
subagentsystem-post
writespostings/<doc-id>.json
raisesreceiving-system-rejected
may touchpostings/**, the payroll and HR systems through their own interfaces, docs/cleared/** read-only
5Record Keeping
subagentfile-and-trail
writestrail/<doc-id>.json, files/<employee-id>/index.json
raisesrequired-document-missing
may touchtrail/**, files/**, the history read-only

Stack

Every system this agent reads or writes.

System
Read at
Stations
the HR record system
System Posting
1 of 5
the audit trail
Record Keeping
1 of 5
the client contracts
Record Keeping
1 of 5
the client portal
Arrival Sorting
1 of 5
the correction log
Exception Review
1 of 5
the deadline list
Exception Review
1 of 5
the employee files
Arrival Sorting
2 of 5
the field mappings per form type
System Posting
1 of 5
the field schemas per form type
Data Entry
1 of 5
the format rules
Data Entry
1 of 5
the list of forms we process
Arrival Sorting
1 of 5
the page images
Data Entry
2 of 5
the payroll system
System Posting
1 of 5
the posting log
System Posting
1 of 5
the retention calendar
Record Keeping
1 of 5
the review queue
Data Entry
2 of 5
the review screen
Exception Review
1 of 5
the scanner folder
Arrival Sorting
1 of 5
the shared mailbox
Arrival Sorting
1 of 5
Next Step

Want to see if this pattern fits your document processing?

No build commitment·Real samples, not a demo·Estimate in writing