Iron Goo
Iron Goo blog featured image on sequencing an AI upgrade: foundation first, then optimization, then customer-facing features.

The Right Order to Do an AI Upgrade In

Atamyrat Hangeldiyev
Atamyrat Hangeldiyev
Systems Architect
AIBusiness
Table of contents
  1. Order is most of the outcome, not feature choice
  2. What order should you do an AI upgrade in?
  3. The three stages, and why each one needs the one below it
  4. Why the plumbing comes before the optimization
  5. Where you actually are in the order right now

A bakery owner I got called in to help had already spent her AI budget before I ever spoke to her. She had paid someone to put a clever ordering assistant on her website, the kind that answers questions and takes custom cake requests in a chat window, because that was the part she could picture and the part that demoed well. It worked in the showroom and fell apart in the wild. It quoted prices that were two seasons out of date because the only place her real prices lived was a spreadsheet on her laptop. It could not tell a customer whether a flavor was available, because availability lived in her head and a paper calendar. And the website it sat on was so slow and so tangled that the assistant itself loaded late and half-broke on phones. The feature was fine. It was sitting on nothing. The reason this keeps happening is that the ai upgrade order most owners follow is exactly backwards: they start with the visible, exciting layer and leave the foundation, a site a machine can actually read and business facts a machine can actually use, for last or for never. Where you should start with an AI upgrade is the unglamorous groundwork, and the order is most of whether the whole thing works.

She did not have a bad idea. She had a good idea built in the wrong order, and she paid for the assistant twice: once to build it, and again, a few months later, after we fixed what should have come first and the same feature suddenly behaved.

Order is most of the outcome, not feature choice

Owners agonize over which AI feature to buy and barely think about the sequence they build it in, which is backwards, because the sequence is the part that decides whether the feature works. An AI feature is not a standalone thing you bolt on. It is a top layer that reads from everything underneath it. When a customer asks the bakery's assistant what a three-tier cake costs, the assistant has to pull a real price from somewhere; when it cannot, it makes one up or stalls, and either way the owner looks worse than if she had no assistant at all. The cleverness of the feature could not save it, because the feature was never the variable. What it stood on was.

This is the part the demo never shows you. A demo runs on a clean, fake dataset the vendor built specifically so the thing looks good. Your business runs on real prices in a spreadsheet, real availability in someone's memory, real product details scattered across an old site, an inbox, and a supplier PDF. The feature that dazzled in the demo meets that reality and degrades, not because the AI got worse, but because the demo had a foundation under it and your business did not. The order matters because each layer of an AI upgrade depends on the layer below it, and the most visible layer depends on the least visible one.

So the question that actually governs the outcome is not "which feature" but "in what order," and almost nobody asks it, because the order does not sell. The foundation does not demo. You cannot screenshot a clean price list or a site a machine can parse and make a customer say wow. So it gets skipped, and the skip is what you pay for later.

What order should you do an AI upgrade in?

Foundation first: a site a machine can read and parse, and business facts a machine can find and use instead of scattered and stale. Then the visibility and optimization layer, so AI platforms surface you correctly. Then the customer-facing features. Start with the shiny layer and you redo it once the foundation catches up.

That sequence is not a rigid product every business runs identically. It is a dependency order, the same way you wire a house before you hang the lights. The point is portable even when the specifics are not: the plumbing comes before the optimization, and the optimization comes before the showpiece. Here is what each stage actually is.

The three stages, and why each one needs the one below it

Stage one, the foundation: a site and data a machine can use

This is the groundwork, and it is the stage owners most want to skip because it is invisible to customers. It has two halves. The first is a site a machine can actually read: structured cleanly, fast enough to load before a model gives up on it, with your products, services, and facts laid out so a machine can parse them rather than guess. The second is your business data made usable: the prices, the availability, the product details, the policies, pulled out of the spreadsheet and the inbox and the one person's head, and put somewhere a machine can reach and trust as a single source of truth.

The bakery had neither. Her site was slow and tangled, and her real facts lived in places no software could see. That is not a small gap the feature can paper over; it is the gap the feature falls into. An AI feature is only ever as good as the data it can reach and the site it sits on. Get this layer wrong and nothing above it can be right, because there is nothing solid for it to stand on.

Whether this layer is in place yet is genuinely a readiness question, and it is the honest first thing to check before you spend on anything visible. If you are not sure whether your business is even ready to start or whether the groundwork has to come first, the test for whether the foundation is actually in place yet is the right place to settle that before you buy a single feature.

Stage two, optimization: being found and surfaced correctly

Once a machine can read your site and use your data, the next layer is making sure AI platforms and search surface you, and surface you correctly. This is where the readable foundation starts earning visibility: structured facts a model can quote, content shaped so an assistant pulls the right answer about you, the signals that let AI platforms like ChatGPT, Claude, and Gemini describe your business accurately instead of guessing or skipping you.

Notice this stage is impossible without stage one. You cannot optimize what a machine cannot read. If the site is unparseable and the facts are scattered, there is nothing for the optimization layer to work with; you would be polishing a surface a model never reaches. This is exactly why the order is not negotiable. Optimization is not a thing you do instead of the foundation. It is a thing the foundation makes possible.

Stage three, the customer-facing features: the part owners want to start with

This is the assistant that talks, the chatbot, the AI feature on the site, the layer everyone pictures when they say "we should do AI." It belongs last, not because it is unimportant, but because it depends on both layers beneath it. The feature reads from your data (stage one) and lives in a surface that AI platforms and customers can actually find and trust (stages one and two). Put it first, with no readable site and no usable data under it, and you get the bakery's assistant: a clever layer quoting stale prices into a slow page, impressive in a demo and embarrassing in production.

Same upgrade, two orders
What owners do: shiny first

Start with the visible feature because it is the part you can picture and the part that demos. Bolt a chatbot onto a slow, unstructured site that holds data a machine cannot read. It quotes stale facts, breaks on phones, and underperforms. Months later you tear it out and finally build the foundation you skipped, then rebuild the same feature on top. You paid for it twice.

The order that works: foundation first

Start with the unglamorous groundwork: a site a machine can read, data a machine can use. Then the optimization layer, so AI platforms surface you correctly. Then the customer-facing feature, landing on a foundation that can actually hold it. Nothing demos along the way, so nobody is impressed until the end. But the feature works the first time, and you build each layer once.

The dependency runs one direction. Features need optimization needs foundation. You can build up the stack, but you cannot build down it, and trying to start at the top is what forces the expensive redo.

Why the plumbing comes before the optimization

The load-bearing idea is simple and a little unfair: the work that matters most is the work that shows least. The foundation is the plumbing of an AI upgrade. Nobody admires plumbing. You admire the kitchen. But the kitchen does not work without the pipes behind the wall, and an AI feature does not work without the readable site and usable data behind it. Owners spend on the kitchen first because that is what they can see and show off, and then wonder why the water does not run.

This is why the standard "AI roadmap for small business" advice tends to be backwards. It leads with the customer-facing layer because that is what sells and what photographs, and it puts the foundation last or treats it as an afterthought. The honest order is the reverse, and almost nobody leads with it, because "first we make your site machine-readable and your data usable" is a terrible pitch and a great decision. The unglamorous neighbor of this whole argument is that the AI upgrade that actually pays off is usually the boring one, for the same reason: the part that does the work is rarely the part that demos.

The order, in one line

Foundation, then optimization, then features. The plumbing before the polish before the showpiece. Each layer needs the one below it, which is why starting at the top, with the visible feature, is what forces you to redo it later. Build up the stack, never down it.

There is a money version of this too, and it is the part that stings. Building out of order does not just delay the payoff; it doubles the cost. The bakery paid for her assistant, watched it underperform, paid to put the foundation in, and then effectively paid for the assistant again when it finally had something to stand on. Had she done the groundwork first, the feature would have been a single build on solid ground. The wrong order is not slower. It is more expensive, because the redo is the foundation work you were always going to need, plus the feature work you now have to repeat.

I bought the chatbot first because it was the part I could see. It quoted prices that were months old and broke on half my customers' phones. Turns out the thing I should have started with was the boring part I could not picture: a site that worked and prices a machine could actually read.

A composite owner, the usual version

None of this means the foundation is a thing you can knock out in a weekend or that I am going to spec the build of it here. Making a site genuinely machine-readable and getting scattered business facts into a clean, usable source of truth is real work, and it is a different job from naming the order. What matters for the decision in front of you is the sequence: do the groundwork before the clever layer, and the clever layer lands; skip it, and you decorate a house with no wiring.

Where you actually are in the order right now

Most owners reading this are about to start at stage three. The feature is the part you can picture, so it is the part you reach for, and the market is happy to sell it to you first because the wow does the selling. The move is to stop, look one layer down, and ask whether the thing underneath the feature exists yet: can a machine read your site, and can it use your data. If the answer is no, that is not a reason to abandon the AI upgrade. It is the reason to start it in the right place.

So before you go shopping for the assistant that talks, do the one thing that actually decides the outcome: get the foundation in first. The people who build the groundwork the rest of the upgrade rests on, a site a machine can read and data a machine can use are the right first call, not because the feature does not matter, but because the feature only works once the layer beneath it is real. Start there, and you build the upgrade once instead of twice.

More posts