Clean a Supplier Product List with AI Without Merging Different Items

Two rows say “50 mm zinc corner bracket.” One is a pack of ten. The other is a pack of twenty. Clean up the names, remove the apparent duplicate, and you've just made the next purchase harder to get right.

Supplier lists are full of small differences like that. Some are harmless: extra spaces, a different word order, an abbreviation everyone at that supplier understands. Others change what arrives in the box. An AI assistant can help pull those differences into columns and prepare a review list. The useful output is a proposed match with evidence, plus a clear explanation when two rows should stay separate.

Let's work through a fictional catalog. The practice kit contains 32 source rows, supplier notes, 16 designated pairs, a prompt and a review worksheet. The reference decisions were prepared for this exercise; they aren't recorded model results. You can use them to check your own run without uploading real supplier data.

Decide what “the same item” means before cleaning names

For this exercise, we're comparing the orderable sales unit. That includes the component and its packaging. Ten brackets and twenty brackets can belong to the same product family while remaining different things to order.

Your system might keep one base product with several packaging options, or separate item records for each pack. Either design needs to preserve the pack quantity and the supplier's ordering reference. Decide where those distinctions belong before consolidating anything.

I would keep three outputs from the cleanup: normalized fields, proposed relationships between rows, and the original source-to-product mapping. Combining them into one rewritten description makes the decisions hard to inspect. If an assistant changes “box” to “100 pieces,” you need to know where the 100 came from.

In the fictional catalog, R03 and R04 have the same brand and manufacturer model, K50. Both describe a 50 mm zinc corner bracket. Their pack quantities are ten and twenty, respectively. They can share a base-component relationship, but they aren't a match at our chosen sales-unit level. Retain both supplier SKUs.

The same question comes up when two suppliers sell an equivalent product. You may eventually map both offers to one internal product. That doesn't make either supplier's item code disposable. Prices, availability and purchasing references still belong to the particular offer.

Put the differences beside each other

Start with a copy of the source file. Give every row a stable reference and keep its supplier and catalog version. Treat identifiers as text when importing the CSV; otherwise a spreadsheet can turn 0017 into 17 before AI ever sees it.

Ask the assistant to separate the description into fields such as brand, manufacturer model, dimensions with named axes, material, finish, color, selling unit and pieces per selling unit. Preserve the original description beside those fields. Leave missing information visible.

Here are some of the decisions in the practice file:

Source rows What looks similar Detail that changes the decision Reference decision
R01 / R02 Two descriptions of K42 corner brackets Same supplied attributes and ten-piece pack; word order differs Candidate for the same sales unit
R03 / R04 K50 brackets with identical descriptions Ten pieces versus twenty per pack Keep separate
R09 / R10 P18 panels with the same three numbers Length and width switch; grain follows the stated length Ask for confirmation
R13 / R14 White panels with the same length and width Only one row specifies 18 mm thickness Ask for the missing thickness
R17 / R18 Similar hinge descriptions Models 0017 and 17 are explicitly distinct in supplier note N2 Keep separate
R21 / R22 Same supplier SKU and model J8 One row says 8 mm; the other says 10 mm Hold both for clarification

I'd stop at the last pair before importing anything. The repeated supplier SKU looks like a strong matching clue, yet the dimensions disagree. Neither row comes with a correction notice or a rule saying it takes precedence. Choosing the later row would hide a question the supplier still needs to answer.

A concise clarification would be: “Catalog rows R21 and R22 both use SKU S021 and model J8, but specify 8 mm and 10 mm. Which specification applies, and should one row have a different SKU?” That is a useful piece of work for AI to draft from the comparison.

Normalize only what the source supports

Some transformations have a straightforward basis. R11 gives a strip width of 48 cm and a length of 244 cm. R12 states 480 mm and 2440 mm, with the same 18 mm thickness. The explicit units support those conversions. Keep the original quantities and units alongside the normalized millimetres so the reviewer can follow them.

R15 is different. It says “box” but gives no number of bolts inside. R16 says 100. Copying that number into R15 would create information. The reviewer should see an unresolved packaging field and a supplier question.

Be careful with dimensions too. Sorting three numbers can make a comparison look tidy while losing which number describes length, width or thickness. In the P18 example, supplier note N4 defines the axes and says the grain runs along the length. The swapped dimensions need clarification. We haven't been given evidence that rotating the panel preserves the customer's requirement.

Model codes need an even lighter touch. M-10 and M10 might be alternate spellings, or they might be different models. The supplied notes don't settle it, so the exercise keeps that pair unresolved. By contrast, note N1 explicitly says that “North Line” is an alias of “Northline” in this catalog's brand field. That supports a scoped brand correction; it doesn't authorize removing punctuation from every identifier.

OpenRefine's clustering documentation describes how text normalization can group different values and explains that syntactic similarity alone doesn't establish semantic identity. I'd use a text cluster as a review queue. The specifications still have to support the match.

To make that problem visible, I ran the kit's deliberately simple description-only matcher on the designated pairs. It lowercases the description, keeps letter-and-number tokens, and compares sorted sets of those tokens. It flags R03/R04 despite their different pack sizes, and R07/R08 despite their different brands. The ignored fields contain the reason each pair should stay separate. This is a small Python demonstration, not an AI test or a reproduction of OpenRefine's full algorithm. Run python name_baseline.py to inspect its candidate flags in name-baseline-output.csv.

Give AI a worksheet to fill, with room to stop

For a first attempt, provide the source list and supplier notes together. Keep the reference answers out of the input. The kit's prompt asks the assistant to compare the 16 designated pairs; it does not ask it to discover every possible duplicate among all 32 rows.

That distinction makes this a manageable exercise. It checks how proposed matches are judged. It doesn't measure how well a system searches a large catalog for candidates in the first place.

The central instruction is:

Preserve original identifiers and descriptions. Put proposed normalized fields beside them, with source row IDs and supplier-note references. Compare the orderable sales unit, including packaging. Choose same-sellable candidate, keep separate, needs confirmation, or duplicate export row. Missing fields are not evidence of agreement. Do not merge, delete or import records.

Ask for one specific question when information is missing. “Needs review” gives the catalog owner little to work with. “Confirm how many pieces are in the box for R15” tells them what to ask.

If you're using Power Query fuzzy merge to find candidates before the AI review, retain the matching method and score. Its fuzzy matching compares text, with options for thresholds and transformations. A similarity score does not answer whether the pack quantity or material agrees. Changing the threshold can change the review queue; it cannot supply missing specifications.

You can accept a clearer description while rejecting the proposed product match. Give the reviewer separate controls for those choices. Otherwise, fixing the wording can accidentally approve a much larger change.

A duplicate export row is a different cleanup task

R29 and R30 contain identical business fields, including supplier SKU S029. Supplier note N3 confirms that the export repeated the same source record. You can remove the extra occurrence from a staging copy while recording that both source row references led to one retained row.

That conclusion relies on the note. Identical text alone wouldn't tell us whether two rows represented separate offers or records. Deduplicating an export also gives no permission to delete the supplier's underlying record.

For genuine equivalent listings with different SKUs, retain a mapping from every source SKU to the proposed internal product. Record the catalog version, evidence and reviewer decision. If a supplier changes the packaging next month, that mapping gives you somewhere to investigate instead of silently inheriting an old assumption.

Before importing into a real system, prepare a small change preview: records to create, fields to update, mappings to add, and unresolved rows to hold. Have the catalog owner review it. A successful file upload doesn't establish that purchasing will select the correct pack, so inspect a few resulting records through the ordering workflow as well.

Check the mistakes that would change an order

The exercise's reference sheet has four same-sales-unit candidates, six pairs to keep separate, five requiring confirmation, and one duplicate export occurrence. Those counts describe these deliberately chosen pairs. They aren't an accuracy score or the total number of unique products in the catalog.

After a run, read the output beside the source rows. Did it merge the ten-pack and twenty-pack? Remove the leading zeros? Invent the missing thickness? Accept the conflicting S021 records because the SKU matched? Count incorrect equivalences separately from missed candidates: the fixes and purchasing consequences can be very different.

Save the original response before correcting it, along with the model or tool name, run date and prompt. Use the worksheet to record each correction and how long the review took. The included Python checker validates the exercise's row references, decision counts and selected data traps; it does not evaluate model interpretation or approve a catalog.

Once a small batch is reviewed, the cleaned fields can support the next purchasing task, such as comparing supplier quotes. Start with the pairs your team actually hesitates over. If the assistant exposes the missing pack quantity and drafts a useful question, keep that part of the workflow. If it confidently combines different goods, use the saved example to improve the checks before giving it a larger list.

Once product identities are settled, see how to prepare product and policy information for a business agent, covering prices, stock evidence, delivery conditions and customer commitments.

Once duplicate products are resolved, the next task is deciding which sizes, finishes and packs can actually be sold. See our product variant preparation guide for a full combination review and supplier exception worksheet.