Data Report · RedactSure Research
Chris Sowa · Founder, RedactSure
Published
Last updated
Can an AI Agent Work a Collections Queue Without Seeing Account Balances?
A queue can be worked without the balance figure, because the order comes from status, age and statements sent, and a balance that renders as BALANCE_001 leaves the decision intact. Check the two places the figure is needed, the payment plan and the payment, and who releases the real value at each.

A collections queue is a stack of accounts that somebody has to work in an order, and the order is most of the job. Each row says how far behind the account is, how many statements have gone out, whether the policy has moved it to COLLECT, and what is owed. The list is worked by a person with a headset today, one row at a time, and the first pass is the part a team most wants to hand over. A team that wants an agent to take the first pass is deciding, at the same time, whether the model can see that last figure, because the amount arrives on the same screen as the patient's name, the date of birth, the guarantor and the notes from earlier calls.
The question is narrower than the account. Ordering the rows, drafting the first message and logging the outcome need the status, the age and the count of statements sent, which the list displays beside the amount. The amount is needed twice, when a plan is set and when a payment posts, and both points sit downstream of the first pass. A design that keeps the figure off the row until a person approves a plan is a different design from one that hands over the row as a person sees it, and the difference is what a queue row with the amount rendered as BALANCE_001 has to show.
Key findings
- To work a queue without the balances, an agent would need the values on the rendered row replaced with consistent tokens before any model reads it, so the amount shows as BALANCE_001 while status and age stay readable and the sort still runs (What Is Render-Layer Tokenization?).
- It would also need a named person approving the plan the agent drafts and a record of what the model received on each row. Neither control belongs to the collections system the agent works in; both belong to the environment that runs it (What Is an AI Control Record?).
- The vendor pages reviewed set the queue order and the file layout, and no page among them describes a control that keeps the amount off the screen an agent reads. What they describe is the record and the export, and the screen sits outside both (What Is the PII Wall?).
- athenahealth's help page states that "Policies run each day and move all eligible claims to COLLECT status", so a row's position is set before any agent opens it (athenahealth, 2026).
- Epic's catalog says Epic "can generate a flat file extract to collections agencies", and its statement extracts carry "information about the patient and their Professional Billing balances in Epic" (Epic Systems, 2026).
- AWS's guidance asks that "audit logs attribute every action unambiguously to either an agent or a human actor", which is what a queue run's record has to hold (AWS, 2026).
What does an agent read when it opens a collections queue?
The queue is a table, and every column on it exists to rank a row or record what happened to it. In the worklist athenahealth documents, a row carries the account, the patient, the balance, the status, the statements already sent and the note trail from earlier calls. A person reads the age, the status and the statement count, then decides whether the next step is a letter, a call or a plan. An agent that opens the same list reads the same columns, which is why the amount matters: it is one field in a record that also holds the name, the date of birth and, in the export, the Social Security number.
athenahealth calls the balance the "Patient Outstanding amount" and describes it as "the total of all outstanding patient charges, both current and delinquent", and the same page sets the two conditions a claim meets before it enters the list, including that "the last billed date must be at least 10 days before the collection policy is run" and a balance above zero (athenahealth, 2026). Both are properties of a row, and neither is a figure the agent has to hold in order to order the work.
| Field on a queue row | What it holds | What the queue work does with it | Value in the example |
|---|---|---|---|
| Status | COLLECT, set by the daily policy | Whether the row is worked at all | STATUS_013 |
| Age | Days since the last billed date | The next touch and the message | AGE_045 |
| Statements sent | Count of statements already mailed | A letter or a call | STATEMENTS_006 |
| Outstanding amount | Current and delinquent charges | Sets the plan terms, later | BALANCE_001 |
The four fields answer different questions: status says whether the account is in collections, age says how long it has been there, and statement count says what the debtor has already received. The amount says what a plan has to recover, which is the one question the first pass does not answer.
The row also carries identity. The collection file athenahealth sends to an agency lists "Patient ID Patient Name Patient DOB", "SSN" and "Amount Outstanding" in the same record, so an agent that reads the export to check a row receives the identity with the amount (athenahealth, 2026). The same worklist has been examined from the agent's side, where the fields that finish the task arrive inside a record that carries more (Can a Collections Team Use OpenAI Dots on Debtor Accounts?).
Which fields order the queue, and what does the balance decide?
Order is the part of the work that decides what happens first, and the queue computes it from fields a person can see. Status separates the accounts a policy has moved to COLLECT from the ones it has not reached. Age separates a row that entered this week from one that has been there since spring. Statement count separates a first letter from a fourth notice. An agent that reads those three fields can produce the order a supervisor produces.
The amount enters two decisions. The first is eligibility, which the vendor page states as a threshold: "the last billed date must be at least 10 days before the collection policy is run", and a balance above zero (athenahealth, 2026). A threshold returns an answer, and an environment that renders BALANCE_001 in that field can return it while the model never holds the figure. The second is the plan, where the terms follow the debt and a person sets them.
The difference shows up in what the agent writes. A model holding the amount tends to state it, because it drafts the message a person would write with the balance in front of them, and OWASP's entry on sensitive information disclosure notes that "Personal identifiable information (PII) may be disclosed during interactions with the LLM" (OWASP, LLM02:2025, 2025). Of the two failures, a message that states an amount the queue never held is the worse one.
The row also carries free text, where an instruction can hide. A note saying the balance was corrected and the plan should be reissued is a sentence the model reads in the same context as its task. A model that follows it has left its task, and the research names the deviation: the authors of one study "define this deviation as task drift", the point at which an injected instruction moves the model off the user's request (Abdelnabi et al., 2025).
What do the vendors themselves say?
Two vendor pages describe this record, and both describe it for a person at a desk.
athenahealth documents the queue and the export. Its help page sets the daily policy that moves claims to COLLECT, states the ten-day rule, and lists the CSV2 collection-file fields, which include "Patient ID Patient Name Patient DOB", "RP Name (Guarantor)", "SSN", "Amount Outstanding" and "Number of Statements Sent"; it also says that sending a balance closes the claim, so the status an agent reads after an outreach is set by the send itself: "the charges are adjusted off for reason COLLECT and the claims are closed" (athenahealth, 2026). Nothing on the page states what a model receives when an agent opens the worklist.
Epic documents the boundary of the system. Its interface catalog says Epic "can generate a flat file extract to collections agencies containing information about charges assigned to the agency", and that Epic "can also receive flat file imports with updates to those charges" (Epic Systems, 2026). The statement extracts, 807 for professional billing and 808 for enterprise billing, are described as carrying "information about the patient and their Professional Billing balances in Epic", and each carries the note "File format subject to change" (Epic Systems, 2026). Card payments are posted through a gateway: "The gateway then sends the verified payment information back to the Epic system to post the payment" (Epic Systems, 2026).
| Question | athenahealth, per its documentation | Epic Systems, per its catalog |
|---|---|---|
| What the queue holds | Patient Outstanding, COLLECT status, statements sent | Charges posted to hospital or guarantor accounts |
| What leaves the system | A CSV2 file with identity, SSN and amount | A flat file extract to an agency, plus 807 and 808 statements |
| What comes back | Sending a balance closes the claim | An import of the agency's updates to the charges |
| What a model receives | The page states no rule | The page states no rule |
Both pages answer the data question. Neither answers the exposure question, which is the one a team has to settle before an agent opens the list.
Who approves a payment plan, and what record does the run leave?
Approval is the second half of the control, and it has a standard. Harvard's security office puts it plainly: "Require human approval for high-impact, sensitive, irreversible, or externally visible actions whenever feasible" (Harvard University Information Security and Data Privacy, 2026). A payment plan is high impact, it is visible to the debtor, and the first payment is irreversible once it posts. The same guidance names the combination to avoid, "The riskiest agent setup combines three things: access to private data, exposure to untrusted content, and the ability to send data outward", and a queue agent that reads account notes and can message a debtor holds all three (Harvard University Information Security and Data Privacy, 2026).
An approval on a run, granted once, is not the same as an approval on terms, because the terms are what the debtor accepts and what the ledger has to match. The person signing off needs the amount, the schedule and the account, and none of the three has to sit in the model's context for the approval to happen.
The action side carries its own risk. OWASP defines excessive agency as "the vulnerability that enables damaging actions to be performed in response to unexpected, ambiguous or manipulated outputs from an LLM" (OWASP, LLM06:2025, 2025), and an agent that sends the message as well as drafting it can take that action.
The record is the third part. An action log with an actor is a start, and it does not say what the model read. A record that keeps the rendered row as tokens, the plan the agent drafted, the amount a person approved and when the value was released answers the question a reviewer actually asks: what did the agent see, what did it do, and who let it (What Is an AI Control Record?).
What should a collections team ask for in writing?
Five answers belong in writing, and the first is the one this record turns on: what the model receives from the rendered queue screen. A vendor that lists the amount among the fields an agent reads, and cannot say whether it arrives as a value or as a token, has described a screen built for a person. The answer should name the columns that render to the model and the columns that are replaced before it reads them.
The second is where a real value resolves. A token that unlocks the amount on any page the agent can reach is an access grant with a different name (What Is an Approved Destination for AI Agent Output?). Name one destination and one approver, and say what happens at the second page the agent opens after the plan, because the value should reach one place and not every page (What Is Least Exposure?).
The third is who approves, asked as a role rather than as a feature: a named person on the collections team, recorded with the terms and the message, not a setting that lets any agent send.
The fourth is the record. Ask for the row as the model read it, the plan as the agent drafted it, and the approval as the person gave it, exported to the team's own monitoring and not held only by the vendor. A screen recording of a session is not the same record, because it shows what a person saw rather than what the model received.
The fifth is the agency file. athenahealth's layout puts "Amount Outstanding" and "Number of Statements Sent" beside the patient's identifying fields, so a file sent to a collection agency carries the balance in a row the agency can join to a name (athenahealth, 2026). A queue that renders tokens and still exports the full file has moved the exposure rather than closed it.
What does a governed environment change?
A governed environment replaces values on a rendered page before a model reads them. A policy names the fields, the page draws a token where each value sits, and the token stays the same for the whole run, so one account is ACCT_014 on every screen it appears on (What Is Render-Layer Tokenization?). Real values resolve only at an approved destination, at the moment of an approved action, and a named person approves each consequential one (What Is Supervised Delegation?). Every screen as tokens, every action and every approval goes to a record that exports to the organization's own monitoring (What Is an AI Control Record?).
For a collections queue the change is that the order and the outreach keep working while the amount and the identity stop traveling. Status, age and statement count can render as themselves, because they describe the work rather than the person, and the amount renders as BALANCE_001.
The exposure does not depend on the model being tricked. Indirect injection through a page or a note was demonstrated early, with attacks that "can act as arbitrary code execution, manipulate the application's functionality" (Greshake et al., 2023), and a defense that inspects what a tool returns is a "simple, modular, and model-agnostic defense operating at the agent-tool interface" (Bhagwatkar et al., 2026), which acts after the content has arrived. Substitution at the render acts before.
Two limits belong with the claim. The control covers the page the agent renders. A spreadsheet a clerk downloads and hands to the agent is outside it, and so is an API call that returns the account as JSON. And the policy has to name the column: a queue that renders the outstanding amount because nobody listed it has not been governed.
What the record shows
The control that answers the title sits at the render: values chosen by policy are replaced with tokens before any model reads the screen, real values resolve only at the approved destination, a named person approves the plan, and the run leaves a record of what the model received. On that reading a queue is workable without the figure, because the order comes from status, age and statements sent, and the amount is a threshold before the first pass and a plan input after it. The vendor pages carry the record as far as the data goes: athenahealth sets the status in a nightly policy and exports the amount to an agency, and Epic sends the extract and takes the agency's updates back. Where the model is concerned the pages stop at the field list. A single row is enough to test the design: name an account, replace the amount with a token, run the sort and the first message, and compare the order and the draft against what a supervisor produces from the full row.
Methodology and limitations
This page rests on two vendor help pages, three research papers, two OWASP entries on LLM applications, one cloud provider's architecture guidance, one university security guidance page and existing RedactSure research pages. Public documentation read in full gives a sound view of where each vendor applies its control. Vendor pages were read as of October 22, 2026, and each Sources line carries the date for its page, and quoted facts are cited to the page that states them.
The products on this page are described from documentation; none of them was tested for this page, and "not described" means the pages reviewed here. Vendor features change, and the page carries its date, so a release after it should be treated as unreviewed until the test above is repeated. RedactSure is deploying now with enterprise and government customers. The example describes a record type, a queue row in a medical billing office, and not an organization.
Determinations about what a collections communication or a payment plan must contain belong to counsel, assessors and the organization's own compliance officers. Nothing here replaces a pilot of one queue row on the organization's own screens.
Frequently asked questions
Can an AI agent work a collections queue without seeing account balances?
Yes, when the amount is replaced on the rendered row and the work runs on status, age and statements sent. A person sets the plan terms, and the real balance resolves at the plan and the payment rather than at the first pass. The queue still needs the amount to decide eligibility, which is a threshold test that can return an answer without the model holding the figure. Check which of the four fields the agent actually needs.
What does the agent read on a queue row?
It reads the columns the list draws: the account, the patient, the status, the age, the statements sent, the amount and the notes. The first four carry the work and the last two carry the exposure. A team closes that gap at the render rather than at the page, and the render is the part of the record to write down first.
Who approves a payment plan, and what does the approval cover?
A named person on the collections team, approving the terms and the message rather than the run. Harvard's guidance asks for human approval on high impact, irreversible and externally visible actions, and a plan and its first payment are all three (Harvard University Information Security and Data Privacy, 2026). An approval that covers a whole session does not name the amount, the schedule or the account, so it cannot be the control the plan needs.
What record does a queue run leave?
The row as the model saw it, the plan as the agent drafted it, and the name of the person who approved it. AWS's guidance asks that "audit logs attribute every action unambiguously to either an agent or a human actor", which is the floor rather than the whole record (AWS, 2026). A log of actions without the rendered row cannot tell a reviewer whether the model read the amount or a token. Ask for the export path and its retention period with the record.
Does the balance ever have to reach the model?
Only at the plan and the payment, and only as far as the approved action needs it. The first pass, the sort and the first message work from status, age and statement count, which the queue already carries. At the plan the terms follow the debt, so the amount has to resolve somewhere; the question is whether it resolves in the model's context or at the destination a person approved. An agent that never holds the figure cannot state it in a message it drafts later.
What should a team ask a vendor in writing?
Which columns render to the model, whether the amount is replaced before it reads them, where the real value resolves, who approves the plan, and what record of the row exists. Ask for the answers beside a test run on one account, because a field list and a control are different documents. A vendor that cannot answer the first question has described the queue and not the exposure. Ask who can change the answer, and when it was last tested.
How RedactSure Keeps the Balance Off the Queue Screen
The queue orders on status and age, and the row still renders the amount beside the name that finance asks about first.
The environment that enforces this is built by RedactSure, an AI agent controls, governance and data protection company.
Before: the agent opens a row that shows the patient, the guarantor, the outstanding amount and the notes, and every one of those values stays in the model's context for the rest of the run. Inside the governed environment: the same row carries BALANCE_001, STATUS_013, AGE_045 and STATEMENTS_006, the agent orders the list on status, age and statements sent, and the real amount resolves only when a named person approves the plan.
RedactSure is deploying now with enterprise and government customers. athenahealth's collection file puts the amount and the Social Security number in the same row.
Everyone else controls where data can go. RedactSure controls what the AI can see.
See it on your own workflow
A queue that orders on status and age does not need the balance to finish its first pass. Bring one row from your own worklist and see, with test values, what the model reads and who releases the amount. Book a demo