Compare Two Product Feed CSV Exports With AI
Short answer
Compare two product feed CSVs in Assistly. Spot changes to prices, availability, URLs, and variant IDs before importing a revised catalog.
You can use Assistly to compare two product feed CSV exports before import by attaching both dated files in one message, asking for a read-only review of price, currency, product URL and availability changes keyed on variant ID, and then checking the result against counts you verify yourself. Assistly's local comparison tool works with matching supported spreadsheet exports and can report exact ID matches and verified totals, which are the parts of a feed review that matter most.
The main risk in feed comparison is that formatting changes look like real business changes. A leading zero dropped from an ID makes one product appear deleted and a different one appear new. A currency column that changes while the number stays the same looks like no change at all unless someone checks that column separately. Nothing here publishes a feed or submits anything to a marketplace. The output is a review file for your team.
Before you start: inputs and labels
Collect two exports from the same feed source, with the earlier one first and the later one second. Name each file with its date, for example feed_2024-03-04.csv and feed_2024-03-11.csv, so that the label in the review matches the file. If your platform exports different column sets over time, note that now, because a column that exists in only one file will need its own handling.
Use the header names exactly as they appear in your file. Many product feeds use labels such as id, item_group_id, price, currency, link, and availability, but your platform may use different names, and you should copy whatever your file contains rather than assuming a standard. Write those labels down in a short note at the top of your review. This matters because a later reader will need to know which column was treated as the variant ID and which was treated as the price.
Attach files only in formats Assistly can read for this task. Large feeds can be truncated, so check the row count you expect against the row count the review reports. If a file is very large, split it by category first and run the comparison in parts, then add the totals together yourself.
Procedure for the comparison
Start by opening each CSV as plain text or in a spreadsheet that does not reformat values. Confirm that the ID column is stored as text. Count the data rows in each file, not counting the header, and record both numbers.
Attach both files in one message, earlier file first. Ask for a comparison keyed on the variant ID column, and ask for separate lists for changed price, changed currency, changed product URL, changed availability, IDs present only in the earlier file, and IDs present only in the later file. Ask the review to show the old and new value for each changed field next to the ID.
When the review returns, do not accept the summary sentence at the top. Read the lists. Check that the count of IDs in the earlier file minus those missing from the later file, plus those new in the later file, is consistent with the row counts you recorded. If the arithmetic does not agree, the ID matching is probably wrong and you should stop and find out why before going further.
Record fields to keep
For each flagged record, keep the variant ID exactly as written in both files, the date of each export, the field name, the old value, the new value, and a status column with one of three entries: confirmed change, formatting artefact, or needs owner review. Keep the URL in full, because a truncated link cannot be tested later.
Also keep the row count for each file, the number of IDs matched, the number removed and the number added. These totals belong in the header of your review file so that anyone who opens it can see the basis for every number below.
Exceptions that need a human decision
Some differences are not errors but still need a decision. A price change may be a planned promotion, which means the import owner needs to confirm the timing before anything goes live. A product URL change may be a deliberate migration to a new category path, or it may be a redirect that broke. An availability change from in stock to out of stock may reflect real inventory, or it may reflect a feed generation fault that marked a whole group unavailable.
Mark these as needs owner review and do not resolve them yourself. The review is a read-only diff, and its job is to make the questions visible, not to answer them on behalf of the store.
Worked examples
Example one: a lost leading zero
The earlier export, dated 2024-03-04, contains the row with id 004512-BLK-M, price 38.00, currency USD, availability in_stock. Someone opened the later export in a spreadsheet, saved it again, and the ID column lost its leading zero. The later export, dated 2024-03-11, shows the same product as 4512-BLK-M, with the same price, currency and availability.
A raw comparison on the ID column reports two problems: 004512-BLK-M as removed and 4512-BLK-M as added. Those are not two product changes. The review should mark both rows as formatting artefact and note that the ID strings differ only by a leading zero. The fix is to reopen the later file as text, restore the ID column format, and run the comparison again. After the fix, the removed and added counts should each drop by one for this product, and the product should appear in neither list.
Example two: a currency change hidden behind the same price
In the 2024-03-04 export, id 00771 has price 24.50 and currency USD. In the 2024-03-11 export, id 00771 has price 24.50 and currency CAD. A price-only check passes this row without comment, and a shopper in one market could see a price that means a different amount in another.
In the review for this pair of files, there are 1,252 rows in the later export and three rows where the currency changed while the numeric price stayed the same. The review should list all three under changed currency, show the old and new values beside each ID, and mark them as needs owner review, because the import owner must decide whether the currency change was intended for that market before the file is imported.
Quality checks you can run yourself
Pick five IDs at random from the changed list and open both source files. Find each ID in the original spreadsheet and confirm the old and new values match what the review reported. Do this for at least one record in each category, because an error in the matching logic often affects one category more than another.
Then check one changed URL by pasting it into a browser and confirming it loads the expected product page. If you have Assistly read-only checks available for accessible public URLs, you can run one there and repeat it after the first check succeeds, but treat that as a supplement to your own spot check, not a replacement for it. Continue with a related workflow: Shopify Inventory vs Supplier CSV by SKU With AI
Handoff to the import owner
Give the import owner a short note that includes the two file names and dates, the row counts, the matched, added and removed totals, the number of flagged records in each category, and the list of items marked needs owner review. State plainly which items were formatting artefacts that you corrected and which items were left unchanged in the file. Attach the review file itself and say which spot checks you performed, so the owner knows what was verified and what was not. Continue with a related workflow: Analyze Product Reviews by SKU With AI
Prompt to try in Assistly
Attach the earlier feed export first and the later export second, in one message, then paste this prompt:
Compare the two attached product feed CSV exports as a read-only review. The earlier file is dated 2024-03-04 and the later file is dated 2024-03-11. Match rows on the column labelled id, exactly as written, without trimming or reformatting. Report the row count of each file, the number of IDs matched, the number present only in the earlier file, and the number present only in the later file. For matched IDs, list separately any changes to price, currency, link and availability, and show the old and new value beside each ID. Mark any ID whose only difference is a leading zero or other formatting change as formatting artefact. Do not resolve any item yourself. Mark every change as needs owner review. Say clearly if the file appears truncated.Try this task
Frequently asked questions
- Can Assistly publish the corrected feed to my store?
No. This workflow is a read-only comparison that produces a review file. It does not publish, import or submit anything to a storefront or marketplace, and you should keep the import step under your own control.
- Why should I attach the earlier file first?
The review uses file order to label the old and new values. Attaching the earlier export first keeps the labels in the right direction, so that a price rise is not reported as a fall.
- What if the row counts do not match what I expect?
Stop before reading the change lists. A count mismatch can mean the file was truncated, that a header row was counted as data, or that the ID matching failed. Re-export the file, confirm the row count in your spreadsheet, and run the comparison again.
- Do I need to know the exact field names my platform uses?
You need the header names as they appear in your own export. Copy them exactly into your prompt and review notes. Do not assume that another platform's column names apply to your file.