That is the whole method. The rest of this page explains each step, the mistakes that make a pilot unreadable, and the questions to put to any vendor before you start.
Where AgentCollect fits. AgentCollect describes itself in one line: "We help companies get paid sooner, with an AI billing concierge on every customer account." AgentCollect follows up with the customer accounts your team does not have time to reach, by voice, email and SMS. AgentCollect is not an AR suite and does not replace one. It runs alongside your existing AR system.
Disclosure: AgentCollect (Y Combinator S23) wrote and publishes this page, and AgentCollect sells software in this category. We do not rank providers. The method on this page works for any AI accounts receivable product, including ours. Every outside source links to its own page, checked on November 22, 2026. Confirm details with each provider before you sign anything.
TL;DR
- A before-and-after comparison tells you very little, because many things besides the agent change between two periods, such as the season, quarter ends and your customers' own cash. A control group running at the same time is what makes the result readable.
- Split by customer, not by invoice, so the same customer never hears from both the AI agent and your team about different invoices.
- Balance the two groups on what drives payment timing: invoice size, payment terms, invoice age and how responsive the customer has been.
- Your team keeps working the control group exactly as usual. Not harder, not lighter.
- Write the measures down before you start, and do not call the result early because one week looks good.
- Write three rules into the pilot charter: which accounts the agent may contact, which decisions it may never take, and where a flagged case lands for your team.
The questions buyers actually ask
This page comes from recent sales calls with finance leaders who were deciding whether to test an AI agent on their accounts receivable. We have not named any company or person, and nothing from those calls is presented as a result. Paraphrased, these are the questions they asked:
- "Can we try it on part of our customers first and compare?" Most buyers wanted a defined group of customers on the agent next to their own team before any wider rollout.
- "Which customers should be in the test?" Several buyers wanted to start with the smaller accounts their team rarely reaches, and keep their largest customers out.
- "Should the test cover only older invoices, or newer ones too?" Buyers differed: some wanted to test only on older invoices, others on older and newer invoices together.
- "Can we run the test without connecting our ERP?" More than one buyer had an ERP project or an IT queue they did not want a pilot to depend on.
- "When a customer raises something unusual during the test, who sees it and who decides?" Several buyers asked how an unusual case reaches a person on their team.
- "If it works at one company, can we repeat it at others?" One buyer asked how a test at one company could lead to a wider rollout across related companies.
The method in eight steps
Step 1. Write a one-page pilot charter
Before you pick a single account, write down on one page: the question the pilot answers (for example, "Does the AI agent get customers in this group to pay sooner, without more work for our team and without hurting the relationship?"), the start and end dates, the group of accounts, the measures, the rules, and who decides at the end. Get the finance lead and the AR lead to sign it. A pilot without a charter tends to end in an argument about what was being tested.
Step 2. Choose the eligible accounts, and the exclusions
Start from the customer accounts where the question matters. For most teams that is the long tail: many smaller accounts that your team does not have time to reach, where customers mostly need a reminder, an invoice copy or a quick answer.
Then take accounts out before the split, not after:
- your largest or most sensitive relationships, which stay with a named person on your team;
- any account with an open dispute, a payment plan being negotiated, or a credit decision pending;
- any account your team has promised a specific contact person or channel;
- any account with missing or stale contact details, unless testing contact repair is part of the question.
Exclusions apply to both groups equally, because they are removed before the split.
Step 3. Split by customer, not by invoice
Assign whole customers to a group, never single invoices. If one customer has several open invoices and some go to the agent while others stay with your team, that customer hears from both, and neither group's result means anything. If several of your customer accounts pay through the same accounts payable team, keep them together in one group.
Research methodologists call this choosing the unit of randomization. J-PAL (the Abdul Latif Jameel Poverty Action Lab) says "the unit of randomization should be the unit at which the treatment will be delivered, and ideally at a unit that minimizes spillovers" (J-PAL, Randomization, last updated 2023).
Step 4. Balance the two groups, then split at random
A random split is what makes the comparison fair. To keep the two groups alike on what drives payment timing, sort the eligible customers into buckets first (for example by invoice size band, payment terms and invoice age), then split each bucket at random into two halves. J-PAL describes this as stratification, "also called blocking", used so that the treatment and control groups look alike on the characteristics that matter (J-PAL, Randomization, last updated 2023).
Do the split with a spreadsheet random function or a script, save the file, and do not move customers between groups afterwards. Never let anyone hand-pick which customers go to the agent: people pick the easy ones, and the result flatters the agent.
Step 5. Keep the control group truly normal
Your team keeps working the control group exactly as it would have without the pilot. Same people, same cadence, same tools. If the team works the control group harder because it knows it is being compared, the pilot measures the competition, not the agent. J-PAL names this risk: the "John Henry effect occurs when individuals in the control group react in some form to being in the experiment and in particular might emulate the treatment group" (J-PAL, Randomization, last updated 2023).
A simple safeguard: tell the team that the control group is "business as usual" and log, in the charter, what business as usual means today.
Step 6. Agree the measures before the first message
Pick one primary measure and a short list of supporting and guardrail measures, and write them into the charter. A good set has four layers:
- Cash timing (primary). For each group, the time from invoice date to payment, and the share of invoices in the group paid by an agreed date. Company-wide days sales outstanding is the wrong primary measure for a split test: Investopedia defines it as accounts receivable divided by total credit sales, multiplied by the number of days in the period (Investopedia, Days Sales Outstanding, checked November 2026), so it mixes both groups and everything else in your book.
- Coverage. How many customers in each group were actually reached, and how many questions were answered without your team.
- Team effort. Hours your team spent on each group, including time spent reviewing or correcting the agent.
- Guardrails. Disputes opened, complaints, customers who asked not to be contacted, and any case where the agent did something outside its rules. Agree in advance which guardrail event stops the pilot.
Decide in advance how big a difference would change your decision. J-PAL calls the smallest effect a study can reliably detect the "minimum detectable effect" and ties it to sample size (J-PAL, Power calculations, last updated 2021). If your group is small, you will only be able to see a large difference, and it is better to know that before you start.
Step 7. Run for a fixed window, and do not peek to decide
Set the end date so the window covers at least one full payment cycle for the terms in the group. Look at the guardrails every week. Do not look at the primary measure to decide early. Evan Miller's note on A/B testing explains why stopping as soon as a result looks significant produces false wins, and gives the advice: "Decide on a sample size in advance and wait until the experiment is over" (Evan Miller, How Not To Run an A/B Test, 2010).
Step 8. Read the result and make one of three decisions
At the end date, compare the two groups on the primary measure first, then on coverage, effort and guardrails. Then make one decision, recorded in the charter:
- Extend: the agent did better on the primary measure and the guardrails held. Move a larger group, or a second group of accounts, to the agent, and keep a smaller control group running so you can keep measuring.
- Adjust and rerun: the result is unclear, or one guardrail moved. Change one thing (the account group, the messages, the rules) and run a second window.
- Stop: the agent did not do better, or a guardrail broke. Write down why, so the next test starts from that.
If the pilot runs at one company in a group of companies, the charter becomes the template for the next one. Keep the same measures so results can be compared across companies.
Pilot designs compared
| Design | How it works | What it tells you | Main risk | Use it when |
|---|---|---|---|---|
| Randomized split (this page) | Eligible customers split at random into agent group and team group, same dates | Whether the agent changed the result, separate from season and calendar | Small groups only show large differences | You can assign customers to groups and keep the team's work on the control group unchanged |
| Matched segments | One segment goes to the agent (for example one region), a similar segment stays with the team | A rough comparison when random assignment is not possible | The two segments differ in ways you did not see | Accounts cannot be split inside a segment, for example one team per region |
| Before and after | All eligible accounts go to the agent; compare with the same months last year or last quarter | Very little about cause | Season, quarter end and customer cash all change at the same time | Only as a sanity check next to a real control group |
| Staggered start | Groups move to the agent one after another; groups not yet moved act as the control | Cause, plus a natural path to rollout | Later groups can be affected by what earlier groups saw | You plan to roll out anyway and want to measure along the way |
| Agent and team on the same accounts | The agent and your team both contact the same customers | Nothing about the agent on its own | Customers hear from two sources; results cannot be separated | Never for a pilot |
Rules to write into the charter
These rules protect your customers and make the result trustworthy. Ask every vendor to show you how each one is enforced in their product, not just described.
- Who may be contacted. The eligible list, the exclusions, and a do-not-contact list for accounts that must never hear from the agent.
- What the agent may never decide. Credits, discounts, invoice reissues, payment plans and anything that changes what a customer owes stay with your team.
- What happens on a dispute. Contact on that account stops, and the case goes to a named person on your team.
- What happens when the agent is not sure. Where the flagged case lands, who picks it up, and how fast.
- What your team can see. A record or summary of every conversation, so the review at the end is based on what was actually said.
- How the agent introduces itself. Under your brand and in a tone you approve, so customers in the agent group are treated as your customers.
- When to stop the pilot. The guardrail events that end it early, and who can call it.
Questions to ask any vendor before the pilot
- Can we assign specific customers to the pilot, and keep every other customer completely out of reach?
- Can we pause or stop a single invoice, and keep a do-not-contact list, without asking you?
- What happens, step by step, when a customer disputes an invoice during a call?
- Where does a case land when the agent is not sure, and what does my team see?
- Can we start from a file of open invoices, or does the pilot depend on an integration?
- How do you make sure a customer who already paid is not contacted again, and does that work on a file-based start?
- What will my team need to do each week during the pilot?
- Can we export every conversation and outcome at the end, so we can run the comparison ourselves?
How AgentCollect maps to this method
If you run this method with AgentCollect, these are the parts that correspond to the steps above.
- A dedicated AI agent per account. Agents work by voice, email and SMS. Agents work under your brand, and your customers pay you directly.
- Starting the pilot (steps 2 to 4). It starts from your open invoices, through a connection to your billing system or a spreadsheet upload. You can start without connecting your ERP: AgentCollect can work from a spreadsheet upload and connect to your billing system later.
- Keeping accounts out (step 2 and rule 1). AgentCollect lets your team keep a VIP do-not-contact list and pause or stop at invoice level.
- Paid invoices. Once your accounting system is connected, AgentCollect syncs with your accounting system several times a day and stops contacting a customer about any invoice your books show as paid, so customers who already paid are not chased. That paid-invoice stop depends on the accounting connection, so it does not apply to a spreadsheet-only start. On a spreadsheet-only start, send fresh files often.
- Disputes (rule 3). When a customer disputes, calls on that account stop and the dispute can be routed to your team.
- Decisions (rule 2). Your team keeps every decision that needs judgment. The AI never applies a credit, discount or invoice reissue on its own. Those requests go to your team.
- Flagged cases (rule 4). When the agent is not sure, it flags the case to your team in the AgentCollect dashboard or in Slack.
- Review (rule 5 and step 8). Your team sees a short summary of every call in the account report. Full transcripts are available on request.
- Introduction (rule 6). Your AgentCollect agent can introduce itself as your billing assistant, not as a collector.
- Customer questions. The agent answers your customers the moment they ask: invoice copies sent during the call, PO questions, in their own language.
Common mistakes that make a pilot unreadable
- Giving the agent the easy accounts. Hand-picked groups flatter whoever got the better list. Split at random.
- Splitting invoices instead of customers. The same customer hears from two sides, and neither result is clean.
- Changing the rules halfway. If you change messages, groups or rules mid-pilot, you are running two pilots in one window. Change things between windows.
- Measuring only cash. A faster payment that costs a customer relationship, or a week of your team's time, is not a win. Track the guardrails and the effort.
- Calling it early. One good week is noise. Wait for the end date you agreed.
- No owner for flagged cases. If nobody on your team picks up what the agent flags, customers wait, and the agent group looks worse than it is.
FAQ
Sources
- J-PAL (Abdul Latif Jameel Poverty Action Lab), "Randomization", last updated September 2023: https://www.povertyactionlab.org/resource/randomization
- J-PAL, "Power calculations", last updated August 2021: https://www.povertyactionlab.org/resource/power-calculations
- Evan Miller, "How Not To Run an A/B Test", 2010: https://www.evanmiller.org/how-not-to-run-an-ab-test.html
- Investopedia, "Days Sales Outstanding (DSO)", checked November 2026: https://www.investopedia.com/terms/d/dso.asp