New guide: how to develop internal audit’s build-or-buy AI strategyRead the guideNew guide: build-or-buy AI strategy

Blog

Does audit really need an agent? How to choose your first controls for automated control testing

Anu Ashok, Forward Deployed Auditor

· 8 min read

When I was testing controls on an in-house internal audit team, I would have jumped at the chance to have an agent take over some of my most tedious work through automated control testing. There were multiple revenue controls that would regularly take me a full week to get through.

Those were the kinds of controls I'd have wanted an agent to support me on first. But now that I help audit teams roll out their automated control testing, I've seen how that instinct can often backfire.

Teams will only ever see the ROI of automated control testing when they can trust what an agent produces. And the only way for an agent to earn that trust is to start by working through controls you can easily check. That's where a rollout should start.

Not every control needs an agent

Before you move a control to an agent to test, ask whether it is a control that is even ready for an agent. The check I use is whether someone who joined the team today could work through the control from the existing documentation alone. An agent starts in the same place as that new hire, so the answer tells you how much the agent can take on and how easily your team can check the agent's work.

Complex controls usually fail that test on a first run, not because they can't be tested by an agent, but because by nature they're typically complex and not well documented. When I tested them manually, I knew which workbook tabs mattered, and I could ask a teammate for terminology clarification whenever necessary. An agent needs all of that written down before it can do the same work.

Teams will only ever see the ROI of automated control testing when they can trust what an agent produces.

That's a lot to ask in the first weeks of a rollout. One team I worked with tests its entire revenue process through a single order review control with 25 attributes. Imagine how much documentation and support a new hire would need to effectively gather all the internal knowledge and context necessary to test that control on their first day.

Controls that pass the new-hire test are much easier for your team to document and check, which makes them the ideal starting point for rolling out automated control testing. Running each control in your risk and control matrix (RCM) will help you sort them into one of three buckets:

  • Automate. These are controls where each attribute asks something the evidence can answer directly. In a user access review, for example, the agent checks whether each user had the right access, and your team can click through its citations to confirm every result.
  • Assist. Some controls, like those related to revenue recognition or quarter-end accrual reviews, depend on context nobody has written down. In these cases, an agent could take a first pass through the documentation, while your tester reviews outputs and fills in knowledge gaps the agent missed.
  • Keep human. Some controls are so simple that setting up an agent costs more than doing the test yourself. Confirming the board met this quarter takes a few minutes with the meeting minutes and carries little risk, so an agent won't save you much there.

For the first few months of an automated control testing rollout, start with the controls in the automate bucket. Those are the controls where your team can confirm the agent's work quickly and build the trust it needs before it takes on controls like revenue recognition.

Start with a control you tested last year

Once you've sorted your RCM, look for automate-bucket controls your team tested last year. You already have the samples, the evidence, and a workpaper showing what passed and what didn't, which gives you an answer key for checking the agent's work.

At this stage, the agent is reperforming tests your team has already signed off on, so you know the expected answer for every sample. If the agent fails a sample you passed, or flags evidence as missing when you found it last year, you can quickly see where the agent differed from the auditor's review.

That matters most in the first few weeks, when testers are setting up the agent on top of their regular testing. Checking the agent against new evidence would mean working through each test a second time. With last year's workpaper open, a tester can compare results sample by sample without redoing the work.

After a few runs, your team learns where the agent's results line up with theirs and what it still needs to be told. A PO-to-invoice tie-out shows how this works on a single control.

Example: a PO-to-invoice tie-out, before and after

Say your team tests a control that ties purchase orders to invoices and payments. For each sample, the attributes ask whether the invoice matches the PO and whether the payment matches the invoice.

When I tested controls like this by hand, I picked a sample I could get through in the hours we'd budgeted. Every sample then went through the same routine:

  1. Pull the PO, invoice, and payment record.
  2. Tie out each attribute, like the vendor and amount on the PO against the invoice.
  3. Screenshot the evidence for every attribute, draw a box around the relevant figures, and label each one.
  4. Tie each label back to the lead sheet with tickmarks so a reviewer can follow the work.

Moving the same control to an agent replaces most of that routine with setup and review:

  1. Write out the steps you take for each attribute, the way you'd explain them to a new hire. If you check the PO first and the amount second, say so, or the agent may dig through details you'd never look at.
  2. Give the agent last year's workpaper along with your attributes so it can see how your team documents the test.
  3. Run the agent on last year's samples.
  4. Before opening the workpaper, read the agent's steps and click its citations to see where it found each figure.
  5. Compare its results to last year's. A sample you passed might come back with missing evidence, or the agent might mark up parts of the invoice you'd never touch. When that happens, add a clarification to its instructions and run it again.
  6. Once the results line up, review the annotated workpaper the agent produces instead of building one yourself.
Figure 1The same tie-out, by hand and with an agent

By hand

You perform the test

  1. Pull the PO, invoice and payment record
  2. Tie out each attribute
  3. Screenshot, box and label the evidence
  4. Tickmark each label back to the lead sheet

With an agent

You set it up

  1. Write out your steps for each attribute
  2. Give it last year's workpaper
  3. Run it on last year's samples

You review it

  1. Read its steps and click its citationsbefore you open the workpaper
  2. Compare with last year, clarify, run again
  3. Review the annotated workpaper

Most testers I work with get comfortable with this after two or three tests. By then, their job on this control has shifted from performing the test to reviewing it.

That shift also loosens the limit on sample size. Once the tie-out no longer depends on how many invoices you can screenshot and label in the time you have, you can review a much larger share of the population.

A bigger sample gives an experienced reviewer more to notice. Say two invoices in a run look almost identical, and the agent passed both because each one matched its PO. A reviewer who traces them back might find the same PO was entered twice and paid twice.

Pace the rollout by your team's review capacity

Every control you add to an automated control testing program needs the same treatment as the PO-to-invoice example. Someone writes out the steps, checks the agent's results against last year's, and adds clarifications until the output holds up. Your rollout can move only as fast as your team can do that well, alongside the testing it's already responsible for.

Teams that move faster than that end up with more controls than anyone has checked. I've seen teams load up controls nobody has reviewed yet, to the point where testers aren't sure where to look. At that point the team is relying on results it hasn't confirmed, which works against the trust you're trying to build.

I suggest starting with at least three controls a week and adding more as your team gets faster at reviewing them. Many teams reach around 50 controls in their first round of automated control testing, and the largest rollouts I've seen grew to about 400 over six months.

Expect the first round to save little time on its own, since it's mostly setup. Most of that work carries forward, though. The instructions and clarifications your team writes stay with each control, so the next round picks up where this one ended. For an access review budgeted at four hours, I'd expect round two to take closer to two or two and a half, with the agent pulling the evidence and handing back an annotated workpaper.

If a control still isn't lining up after several rounds of clarifications, look at how it's built. Controls that pack a whole process into one test need more context than most teams can realistically write down. Splitting them into smaller controls usually helps (for example, splitting revenue booking into several controls of about a few attributes each rather than one control with 20+ attributes). Attributes are typically agreed with your external auditor, so bring them in before you restructure anything.

Five questions to find your first controls

When I help a team pick its first controls for automated control testing, we go through their RCM one control at a time and ask a few questions about each. You can use the same ones:

  • Did your team test this control last year, and do you still have the samples, evidence, and workpaper? Those are what you'll compare the agent's results against.
  • Could you write down the steps you take for each attribute in a few lines? Documented test procedures make this easier. If the steps are hard to put into words, the agent will struggle to follow them too.
  • Is everything you need to pass or fail each attribute in the evidence itself? Anything you know from experience, like what a term means in your industry, has to be written down before an agent can use it.
  • Is the test mostly tying documents together? Controls that lean on pivot tables, VLOOKUPs, or recalculating figures in Excel are better saved for later.
  • Does testing it by hand take more than a few minutes? For a quick, low-risk check, setting up an agent costs more time than it saves.

Controls that get a yes on all five are your best first candidates, and a short list is plenty. The ones that miss on a question or two can come later, once your team is comfortable checking the agent's work.

If you'd like a second set of eyes on that list, or want to see the before and after for yourself, bring us a few controls your team tested by hand last year. We'll run them through Petual using your workpapers as the answer key. You can compare each result side by side, and the agent's citations show why any of them differ. Book a demo to try it on your own controls.

Questions about your first controls?

Tell us about your controls and how your team reviews the work.

Talk to our team