Uses OpenAI’s commerce product feed field names. CSV, comma-delimited.
| File | Output |
|---|---|
chatgpt-product-feed.xml |
/chatgpt-product-feed.csv |
chatgpt-product-feed-data-builder.xml |
/chatgpt-product-feed.csv, with a Data Builder field chatgpt_product_feed_data |
OpenAI accepts JSONL, CSV or TSV. These files write CSV, because Feed Builder’s JSON output is a single array, which OpenAI’s spec doesn’t list.
Register the feed#
Register https://www.your-domain.com/chatgpt-product-feed.csv with OpenAI.
Before importing#
Replace YOUR_STORE_NAME in the seller_name constant, as well as the steps every file needs.
Fields#
Required by OpenAI: item_id, title, description, url, brand, seller_name, image_url, availability and price.
| Column | Source | Notes |
|---|---|---|
| item_id | Product Code | |
| title | Name | |
| description | Description | strip HTML |
| url | Product URL | Variant rows add ?Variant_ID= |
| brand | brand custom field |
Change to your field |
| seller_name | Constant | Your store name |
| image_url | Main Image | |
| additional_image_urls | Additional Images | |
| availability | Availability | in_stock or out_of_stock |
| price | Price | 79.99 USD |
| sale_price | Sale Price | Left out when there’s no discount |
| condition | Constant new |
|
| group_id | Item Group ID | The product code on variant rows |
| color, size, material, pattern | Attributes | Left out when the product has none |
| listing_has_variations | Item Group ID | true on variant rows, false otherwise |
| product_category | Category Path |
listing_has_variations uses conditional output: when Item Group ID is not empty, write true; otherwise write false.