Skip to content

Where do AI projects stall on legacy systems, and how do you find out early?

In our work, AI projects on legacy systems stall on your own data and systems far more often than on the AI. Before anyone writes code, spend four weeks running last month's real requests against the real system and counting the messy records.

Your demo ran on your cleanest record. Your project will run on your messiest one. The gap between those two is where AI projects on legacy systems stall, in the first weeks after the demo, when the AI moves off a hand-picked sample and onto your real records. In the work we’ve done, most of what stops them sits in your own data and systems, and very little of it is the AI.

You can find most of it in four weeks, before anyone writes code, by running last month’s real requests against the real system and counting the messy records.

Executives ask me about the systems where the work actually lives: the scheduling tool with no API, the 20-year-old workbook, the SharePoint nobody has cleaned. Can AI get into this system at all? Do we replace the old system first or work around it? Is our data clean enough to trust what comes out? A lot of leaders are signing off on AI-drafted plans before anyone has checked whether the systems underneath can support them, which is how a project stalls right after the demo.

What happened when our working demo met real email

Our team built an AI agent for a client with several locations. Customers email to move a booking, and the agent reads the email, finds the customer’s account, checks their credits, pulls two availability reports, offers three slots and books the one the customer picks. Their scheduling platform has no public API, so the agent logs in and works the same screens their staff use.

The demo worked. It ran on a test form instead of email, against one of our own test accounts with a single booking and a single credit, and somebody triggered it by hand. The real email intake had never run.

The first live test was an ordinary email from the client’s operations lead, and it went four tries, four handoffs to a person. The customer’s name was in the subject line and the agent only read the body. The address the lead wrote from sat on two accounts, one they didn’t know existed, and the agent searched by email and took the first match. A test credit had already been used, which was our setup mistake. And a location with plenty of open slots came back with zero options, which a week later traced to how the locations were named.

Months before that test, a data cleanup had found that under 1% of their records had a missing or duplicated email. So the problem behind the second failure was known and written down, and it still broke the first real test, because it never became a fix or a test case and testing kept running on a clean record.

After that it kept breaking in new places. Some location names used a colon and others a comma, so an exact-match search missed them. The agent misread a location name off the screen. A booking looked successful, the logs said it had failed, and nobody was told. The agent read an email signature as a customer’s name. Weeks into testing, most handoffs came from staff testers writing from an address that wasn’t the one on their account.

Of about a dozen failures, one to three were the AI getting something wrong. Everything else was data, design or plumbing. About seven months after a call summary described the agent as nearly finished, it was still in testing.

RSM’s 2026 survey of 1,030 middle-market companies, which it defines as $30 million to $10 billion in revenue, says it isn’t only our project: the ones whose pilots had only moderate or limited success named data quality (53%) and integration (47%) as their biggest barriers to scaling.

Can AI get into a system with no API?

Usually, yes. When a system has no API, an agent can go through the same flow and screens your people use, and it works, but it’s slower, more error prone and more costly than an API doing the same job, and it shapes what the agent can do. One 2025 study ran the same web tasks both ways with GPT-4o: the agent working the screens completed 14.8% of them, and the one using the sites’ APIs 29.2%. Each of our runs had a few minutes to finish, so the agent only searched one week ahead, which covered about two-thirds of requests and sent the rest to a person. That was a deliberate tradeoff on cost. Nobody had walked the client’s staff through it, though, so some of their test requests asked for slots the agent was built to hand off.

Which problems stall a project for weeks?

The ones that need the client to change their own system. Our team fixed the model’s misreads in code, for example by stripping the signature off an email before the agent reads it. The slow fixes were all on the client’s side: clearing the duplicate emails, renaming locations so every screen spelled them the same way, and agreeing on the one-week window. The rename needed the owner’s sign-off because it touched branding, and that sign-off came mid-testing. They’d already renamed more than a thousand schedule entries months earlier for the same kind of mismatch. Each of those fixes waited on whoever owned the record, and testing couldn’t get past one until it landed, so the stall ran for weeks.

What does finding out late cost?

About seven months from nearly done to still in testing, and dozens of hours of diagnosis we can trace, on both sides. Each failure took our engineer about half an hour to diagnose, digging through the workflow logs, the screen recordings and the platform’s reports. I’d say the real cost was the weeks, not necessarily the hours, because for those seven months the client’s staff kept handling every booking change by hand.

To price that for your own project, get one number: how many of those requests your team handles in a typical week. Multiply it by the weeks of delay and by the minutes each request takes your staff, and that’s what finding out late cost you.

How do you find out in four weeks?

Before anyone builds, take four weeks, one for each of these, and use only real material.

  1. In week one, write the job in one sentence, map where every fact in the answer lives, and log last month’s real requests, all of them or a random sample, never a handful somebody picked. On our project that alone would have measured the biggest cause of handoffs, people writing from an address that isn’t the one on file, which the cleanup never checked because it only counted blank and duplicate emails.
  2. In week two, look up every request by hand, exactly as it was typed, and sort what comes back: one clean match, no match, several matches, a stale match, or a record the AI’s login can’t reach. Colons in one place and commas in another, temporary text added to a name, a location missing from a report’s filter list. Lookups like that catch the naming problem before it costs weeks.
  3. In week three, turn your ten worst records into test cases, with the expected answers written by the person who does the work today, and pick one fix in your own system with an owner and a date. Duplicate emails, customers holding several credits at different locations: one report run would have shown how many held three or more. Even big platforms trip on duplicate emails. HubSpot’s own help page says that when several Salesforce records share an email, Salesforce returns them “in no particular order” and HubSpot syncs with the first one.
  4. In week four, make the fix, rerun the same lookups to see how far the match rate moved, and hand the builder the rate, the test set and the list of what’s still broken.

This won’t catch everything. Reading real emails tells you names move around and every email has a signature, but it doesn’t tell you how a model will misread them. So plan for a week of real input after the build too, because that’s where everything else shows up for you to learn from. The check finds the problems that stall you for weeks, and the week of real input finds the rest.

How do you know the check worked?

By the end of week four, the client has changed something in their own system or process, with a name and a date on it, before anyone writes code. On our project that would have been the location rename. It came mid-testing, and if the owner had signed off in week three instead, the check would have paid for itself. By then you should also have a match rate, something like “X% of last month’s real requests matched exactly one account”, so scope gets set from that number and not from the demo, and a test set built from the ten worst records that the first build has to pass.

The signal it failed is that the plan after week four is the same as on day one. The findings are written down, but the scope, the timeline and the test account haven’t changed. That’s what happened to us with the duplicate emails. Two smaller tells: a check that found nothing, which with more than ten thousand records means nobody looked at real data, and a check where every finding is ours to fix and nothing lands on the client’s list, which means the hard problems are still waiting.

A check that can’t end in “smaller” or “not yet” is a formality. On this project, the honest week-four answer might have been to run a simpler monthly batch job now and hold the booking agent until the platform was replaced. A check that produced that call would have done its job, even though it shrank the project.

Should you wrap the old system, replace it or wait?

That client was already weighing a replacement before we built anything, and wrapping the old platform was a defensible bridge through busy season, but the miss was building the most complex workflow, one that changes records, on a system already slated for replacement, when a monthly batch job with one report, one action and a person on the exceptions was the thing to wrap. The rough rule I’d use is to replace first when a replacement is decided and lands within about six months or the workflow changes records, to wrap when the replacement is a year or more out and the job is a narrow batch with a person on the exceptions, and to wait when staff don’t agree on the rules or nobody will commit to fixing the records. Some of our work carries over to whatever replaces it, like the matching rules, the naming cleanup and the email templates, but the screen scripts don’t.

When this answer doesn’t apply

The four-week check is for AI that has to read or change records in a system the business runs on. It’s a waste in three cases.

If the AI never touches a system of record, like drafting, summaries and meeting notes in a company-approved tool, the stall is adoption, and plenty of folks end up using AI a few times a week and no more. So pick three real tasks per role, train people on those, and track weekly use for a month.

If a real test costs less than the first two weeks, those two weeks are the waste, so run the test in their place. When the system has a documented API and the AI only reads from it, a two-day build on real records tells you more than two weeks of logging and lookups. It still needs last month’s real requests and your ten worst records, and weeks three and four still happen, because the broken records still wait on the owner’s fix. The catch is that it has to run on the messy records, not a clean sample, which is exactly where our testing went wrong.

If the system is going away soon and there’s no short-term business case, don’t check it and don’t wrap it. Build on whatever replaces it.

And sometimes the stall isn’t data or integration at all. Usually that’s because nobody actually owns the decision, which needs its own post. Before day one, name who owns the data and who approves access, and get the pilot’s access approved in writing.

What to ask before you approve the build

Ask for one thing: “Show me it working on last month’s real requests and our ten worst records.” If nobody can show that, the project isn’t ready for money. If the answer turns up something you have to fix in your own system, put an owner and a date on it before any code gets written. The pre-build readiness test lays out the four weeks step by step, so you can run it yourself.

Keep reading

Get new posts in The 5th Wave

Case studies, frameworks and industry updates for mid-market leaders. Unsubscribe in one click.

By signing up you agree to the terms and the privacy policy.

A single figure standing at a horizon where a warm field of light meets a cool one.

Start with a conversation.

Thirty minutes with a partner to talk through your priorities and a sensible first step.