SKUHelm

Academy

How to create a product feed for ChatGPT

How to create a product feed for ChatGPT from a shop export or spreadsheet: map the fields, keep item IDs stable, validate every row and host the file, with a five-row worked example.

Checked against the sources on 24 November 20267 min read

How to create a product feed for ChatGPT guide for ecommerce merchants
Photo by Kampus Production on Pexels

To create a product feed for ChatGPT, export the catalogue from its live source, map every sellable item or variant to the feed's fields, give each row a stable item_id, make each product URL and image publicly reachable, and validate the whole file before you send it. The result is a list of rows, one per purchasable item, in a format such as JSON Lines or CSV. Building and validating the file needs no approval from OpenAI. Getting it in front of ChatGPT is a separate step, and the platform decides what it shows.

Why this matters now

Most feed problems start in the shop, not in the file. A product export often has a title that doubles as a SKU, a description pasted with HTML, a price typed as a pound sign and a number, and no seller name anywhere. If you convert that export straight into a feed, you move those faults into a new file, and they come back at the next sync. Work in three passes instead: map the fields, correct the source rows, then validate and host. A spreadsheet is a fine place to start, but it is not a feed until every row passes the same checks, and those checks are cheaper to run on five rows than on five thousand.

What to check first

CheckWhat good looks likeWhat to do if it is missing
Item IDOne stable, unique value for every sellable item or variantUse the existing SKU if it never changes; do not regenerate it on export
PriceAn amount and a currency code, such as 24.00 GBPRemove the symbol and any thousands separator in the source, then add the code
ImageA direct https link to a JPEG or PNG for the same itemRe-export the image as JPEG or PNG, or serve a copy from a stable address
Seller nameYour real trading name, on every rowAdd it once in the store settings, then carry it onto every row in the export
A practical first-pass checklist. Your shop remains the source of truth for products, prices and stock.

A practical way to do it

  1. Choose the source of truth. Export from the live shop, such as Shopify or WooCommerce, or from the catalogue spreadsheet you maintain, and write down which one your prices and stock come from. Do not mix the two in one file.
  2. Make one row per sellable item. A variant gets its own row, its own item_id, the same group_id as its siblings, and an option such as Size set to Small.
  3. Map each source column to a feed field. Keep the product name in title and put the variant in it, so a buyer sees which candle they are choosing. Keep price and availability on the row they describe.
  4. Clean the values the validator rejects: strip HTML from descriptions, write prices as an amount and a currency code such as 24.00 GBP, use one of the allowed availability values, and replace any placeholder brand with the real one.
  5. Add the store-level facts once rather than typing them on every row: seller name, seller URL, return policy, store country and the countries you ship to.
  6. Run the validator on the whole file, not a sample, then fix the cause in the source shop. Regenerating the file without the fix only reproduces the error.
  7. Host or send the file by the route the platform accepts, then validate again after the next sync, because a feed that passed on Monday can drift by Friday.

Common mistakes

  • Using the spreadsheet row number as the item_id. It changes the moment someone sorts or inserts a row.
  • Leaving the currency out of the price, or writing a pound sign in front of the amount. The feed needs both parts, in one agreed format.
  • Pasting a WebP image link because the shop serves WebP. The address must point to a JPEG or PNG that anyone can open.
  • Copying a row to make a reorder listing and forgetting to change its item_id. The second row is then a duplicate, and the feed rejects it.
  • Treating the privacy and terms links as optional. They are not needed to appear in the feed, but a row without them cannot be used for Instant Checkout.

A worked example: five rows from one candle shop

To test the steps, we ran a five-row sample catalogue through the validation rules behind SKUHelm's checks. The shop, Hollin and Pike, is invented and sells soy candles. The barcodes, prices and links are illustrative, but the rule codes and counts are the real output of one run. The rows were checked in the order shown, against a shared list of item IDs, so the duplicate check works across the whole file.

RowResultFix in the source shop
HP-CANDLE-01, Cedar and SmokeBlocked by one error: the GTIN fails its check digit, so the barcode is wrong even though it has the right length.Check the barcode against the label. A GTIN must pass the check digit, not just the number of digits.
HP-CANDLE-02, Sea Salt smallBlocked by one error: the image link is WebP. Warnings flag no GTIN or MPN, and the row lacks privacy and terms links.Export a JPEG or PNG for this variant, then add the policy links to the store settings.
HP-CANDLE-03, Sea Salt largeBlocked by two errors: the description contains HTML tags, and the sale price equals the full price.Strip the tags, then set the sale price below the full price or remove it.
HP-GIFT-01, Gift boxBlocked by five errors: the URL has no https scheme, the brand is the placeholder N/A, availability is Available rather than an allowed value, the price is written as a pound sign and 18, and a return window is set while returns are switched off.Each is one field fix. Write the full https address, enter the real brand, use in_stock, write 18.00 GBP, and either accept returns or remove the window.
HP-CANDLE-01, reorder listingBlocked by two errors: the item_id repeats the first row, and the GTIN fails its check digit.Give the reorder its own item_id or remove the duplicate row, and correct the barcode.
Validator output for the five rows. Blocked means the feed would reject that row.

None of the five rows passed, so the report shows zero rows accepted and a score of 0. The useful part is the pattern in the rule codes. The three rows without privacy and terms links would all be cleared by one change in the store settings. The three rows without a GTIN or MPN are a catalogue-wide job, and the duplicate item_id is only visible at file level. A feed is only as strong as its weakest row, so validate the whole file.

Once a row is clean, the feed writes its fields in the order the specification lists them: the item ID, title, description, URL, brand, seller name, image, availability and price come first, followed by identifiers, category and the store-level policy and country fields. A fixed order means a person checking two rows can compare them at a glance, and a diff between two exports shows real changes rather than shuffled columns.

What this does not mean

A clean product feed makes your catalogue understandable to a receiving platform. It does not guarantee approval, inclusion, ranking, sales or a particular checkout experience. Those decisions and customer-facing flows remain with the platform and the merchant.

The useful habit is simple: correct the source data, then validate the exported feed. Do not patch a one-off file and assume the next shop sync will remember your fix. That is how a tidy launch turns into a slow drift a fortnight later.

See the missing fields in a public shop catalogue before you spend time formatting a feed by hand.

Run a free store check

Questions

Do I need an OpenAI account to create the file?

No. Exporting, mapping and validating a feed needs only your catalogue and the specification. Getting the file in front of ChatGPT is a separate step. It depends on the route your platform or OpenAI offers for your shop, so follow the current onboarding steps for that route.

Can I build the feed in a spreadsheet?

Yes, and many small shops do. Keep one row per sellable item, use a header row that matches the field names, and format the price column as text, so the spreadsheet does not drop the currency code or trim the trailing zeros. Export a CSV before you validate, so the check runs on the file you will actually send.

Should I validate a sample of rows or the whole file?

The whole file. Some faults only appear across rows. A duplicate item_id shows up only when the second row arrives, and variant groups need every sibling present. A sample of ten rows can pass while the full file fails.

Do I have to include every product?

No. Include the sellable items you want a buyer to find, and leave out drafts, bundles you cannot ship and items you have stopped selling. Every URL you include should open to a live, public page for that exact item.

Sources