How is business data cleaned for AI training?
Business data is cleaned in a series of passes on an exported copy: records are pulled from each system, converted to a consistent format, stripped of duplicates, automated noise and boilerplate, de-identified so personal information is removed, checked for quality, and documented so a buyer knows exactly what it is getting. Your original systems are not touched. The goal is a dataset that is useful to train on and safe to hand over.
Export
Data comes out of each system by the most complete route available: an admin export, reports, the system's API, or a database backup. The route depends on the system and on your contract with its vendor. Pergola handles the export with your admin, so your team doesn't have to work it out. See what if my software vendor holds the data.
Put it in a consistent shape
- Rebuild conversations. Emails, ticket replies and chat messages are reassembled into complete threads in the right order.
- Convert formats. Documents, spreadsheets and exports are turned into consistent, machine-readable text and fields, commonly a format such as JSON Lines.
- Keep useful structure. Categories, timestamps, status and outcome fields are kept where they add meaning.
- Transcribe audio where call recordings are included.
Remove noise
- Exact and near duplicates, including quoted reply chains repeated in every email.
- Email signatures, legal disclaimers and boilerplate footers.
- Auto-replies, out-of-office messages, system alerts and notifications.
- Newsletters, marketing email and spam.
- Empty or broken records, and files that can't be read reliably.
De-identify
Names, contact details, account and ID numbers, addresses and other personal information are removed or replaced with consistent placeholders, including inside free text. Secrets such as passwords and access keys are removed. Health data is de-identified to the HIPAA standard. Anything that can't be cleaned safely is left out. See what happens to personal information and what is de-identified data.
Keep the meaning while removing the person
Good cleaning removes identities without destroying what made the record useful. Placeholders keep roles clear, so a reader can still tell the customer from the agent and one colleague from another. Product names, error messages, technical steps and outcomes are kept, because that is what a buyer is paying for. Exact dates may become relative ones, such as “three days later”, so the sequence of events survives. Where a record can't be cleaned without losing its meaning, it is dropped rather than delivered half-empty.
Check quality and document it
- Review random samples by hand for missed personal information and for records that lost their meaning in cleaning.
- Measure what is there: volume, date range, record types and how complete the conversations are.
- Write it up for the buyer: what the data is, where it came from in general terms, what was removed and how, and what was excluded.
Common questions
Do I need to clean my data before a valuation?
No. A valuation is based on what systems you have, how many years they cover and roughly how much is in them. Cleaning comes later, and only if you decide to go ahead.
Will cleaning change my live systems?
No. Everything happens on an exported copy. Your systems and original records stay as they are.
What about attachments and images?
Text attachments such as documents and logs can often be cleaned and kept. Photos, scanned IDs and images of people are usually excluded because they are hard to de-identify reliably.
General information, not legal advice. Pergola reviews each seller's contracts, policies and applicable law before anything is sold.