How to prepare company data for AI: four things to do first

A model won't fix messy data, it will copy it and make it look credible. Four things to clean up before connecting AI and a way to do it in stages.

The first question you ask an AI agent connected to company data rarely ends in an error. It ends in something worse: an answer that sounds correct but concerns a client who left two years ago.

A model doesn't see context that isn't in the data. It doesn't know that the file “pricelist_final_v3” is out of date, that the same company appears in the database three times under three names, or that the column “status2” means something different from “status”. It collects everything it finds and gives one smooth answer.

That's the real change AI brings to messy data: the mess stops being visible. A person who opens a folder and sees three versions of a price list knows they need to think. A person who gets one sentence from a model has nothing to think about.

Below are four things to do before you connect a model to anything, and a way not to turn it into a six-month project.

One source of truth for each entity

An entity is simply something you'll ask about: a client, a job, an employee, a document, an invoice. There's one rule: each of them lives in exactly one place.

It sounds trivial until you start checking. The client is in the CRM, in a sales rep's spreadsheet, in an email signature and in the invoicing system. Four addresses, two phone numbers, three versions of the name.

A person who asks three colleagues and gets three different answers knows the topic needs clarifying. A model will pick one version, usually the one it found first, and won't add any caveat.

In practice: for each entity, name the master system and record that decision where the whole team can see it. The other copies either disappear or stop being a place where anyone changes anything.

Names that make sense without an interpreter

In every company that has been around for more than a few years, there's a layer of knowledge that isn't written down anywhere. That “status 7” means “waiting for pickup”. That jobs with the prefix “W-” are internal and don't count toward revenue. That the “notes2” field was created when “notes” ran out of space.

A new employee learns this in their first month by asking the person next to them. A model has nobody to ask. It will interpret the name literally and count internal jobs along with everything else.

Three things worth fixing:

Field names say what's inside. “Completion date” instead of “date2”. Renaming a column is usually one click, and it removes a whole class of silent mistakes.

Statuses as words, not numbers. If the system has numeric codes, it's worth having a human-readable name next to them. A model that reads “waiting for pickup” doesn't have to guess what seven means.

Abbreviations spelled out at least once. One place where it's written that “GR” means goods receipt is enough. The model uses it just like a new team member would.

The point isn't to rewrite the whole database. It's the layer the model will get access to.

Clearly marking what's out of date

The second thing a model won't guess: what still applies.

The last-modified date doesn't settle anything: a file edited last week may contain terms from two years ago, and a document untouched for a year may be the only one in force. A model has no basis to tell the difference, so it treats both the same.

Two things are enough in most cases:

A status field instead of intuition. Current, archived, draft. Three values, one field, set on every document and record that has versions.

A validity date where it makes sense. Price lists, contracts, procedures. If the data records how long something is valid, the model stops answering based on expired terms.

It's tempting to delete old things: it's the simplest way to make the model stop seeing them. It's also irreversible and usually conflicts with document retention requirements. A marker works just as well and can be undone.

Removing duplicates

Duplicates are the trickiest of the four, because they don't corrupt the content of an answer, they corrupt the numbers.

A model asked about the number of a client's open jobs will count the records it finds under the name you asked about. If the same client sits in the database as “ABC”, “ABC Ltd.” and “A.B.C.”, the answer will be too low, and nothing in it will signal that something is missing.

The order that works:

  1. Start with the entity you'll ask about most often. Usually clients or jobs, rarely everything at once.

  2. Sort alphabetically and look through. Duplicates sit next to each other and you'll spot them by eye faster than it would take to configure a tool to detect them.

  3. Set a field that can't repeat. Tax ID for companies, email address for people. This is the part that means you won't be doing the same thing next quarter.

Without the third step, deduplication is recurring work. With it, it's a one-off.

How to do it in stages

A complete cleanup of a company's data is a project that never ends. The goal is narrower: to put in order the part the model will actually see.

Week one: one area. Choose one entity and go through the four points above for it alone.

Week two: the model only reads. Ask it twenty questions you know the answers to. It's the cheapest data audit there is: a wrong answer almost always points to a specific record or file.

Week three: fix what came up. Not everything, just what actually broke the answers.

Then the next area. A month per entity, and only the areas you'll actually ask about: that's work spread over individual hours instead of a schedule nobody will keep.

Summary

Four things: one source of truth for each entity, names that make sense without an interpreter, clearly marked outdated data, no duplicates. None of them requires a developer or a new tool: they require decisions and a few hours per area.

This work pays off even before you connect a model, because the same four things make work harder for people too. AI just makes them invisible. What the connection itself looks like and what to ask your vendor is covered in the guide to AI integration with company data.

FAQ

Frequently asked questions

Don't see your question? Help center Write to us

  • Not all of it, but the part the model will actually see, yes. A model doesn't signal that data is contradictory or out of date; it picks one version and states it with the same confidence as everything else. Order in four areas is enough to start: one source of truth, clear names, marked outdated data and no duplicates.

  • It depends on how many areas you cover, but it doesn't have to be one big project. A cycle makes more sense: one entity, a week to clean it up, a week to test it with a read-only model, then the next one. That way you see the first useful result after a month, not after six months.

  • No, it's better to clearly mark it as archived. Deleting is irreversible and usually conflicts with document retention requirements, while a marker gives the model exactly the information it's missing. What matters is that the marker is a field in the system, not a note in the file name.

Read next

Replace 11 tools with one platform

Create a workspace in a minute, invite your team and assign the first task to an agent.

No credit card required. Cancel anytime.