Sending Generic XML products to ChatGPT
Here is how you send the products in your XML file to ChatGPT with HexFeed: you enter your XML address in Settings and create a profile that maps XML tags to product fields; HexFeed pulls products, prices and stock from your XML source regularly. Then, on the Feeds screen, you create a feed with the “ChatGPT” option in the platform list and use rules to decide which products go out. Finally, you add the protected CSV address from the feed's Access tab on the ChatGPT side; ChatGPT reads the feed on its own schedule and keeps your products up to date.
What is ChatGPT Ads for?
A catalog prepared with OpenAI's product file schema; it lets your products be used in ChatGPT ads. Because OpenAI does not accept XML, this feed is generated as CSV.
Feed format: CSV (OpenAI product file schema)
The Generic XML side
HexFeed connects to your Generic XML store via XML mapping profiles. What you need: the XML address that holds your products and a mapping profile for this XML.
Details of the Generic XML integrationStep by step: Generic XML → ChatGPT feed
Set up in 11 steps; menu names on the ChatGPT side may differ slightly depending on your account.
- 1
Open your HexFeed account
Sign up at app.hexfeed.io and create your store.
- 2
Set up the Generic XML connection
In Settings > E-Commerce Platform, select Generic XML and create a profile with “Manage XML Mapping Profiles”: enter the XML address, the tag that represents a product and the field mappings. When the profile is saved, the XML URL is written to the connection automatically.
- 3
Check the first sync
Product data is pulled from your XML source: products in the XML, the price, stock, image and category fields you map, variants (if a variant mode is selected in the profile). The numbers of added, updated and failed records for each run appear on the Integration Logs screen.
- 4
Create the ChatGPT feed
On the Feeds screen, click “Create Feed”; choose the “ChatGPT” option from the platform list, then set the feed name and the variant preference. The feed is created protected with an access key.
- 5
Prepare the fields for ChatGPT
Enter the full address of your store's return policy page in Settings > Data Sources > ChatGPT. OpenAI requires a return policy address on every product row; if this field is empty the feed is still generated, but the catalog may be rejected.
- 6
Set up rules, discounts and images
On the Rules tab, filter the products that will go into the feed; if needed, add a feed-specific discount, a product limit and an image template. The Filtered Products screen shows which products will go into the feed.
- 7
Copy the feed address
Copy the address from the feed's Access tab. You give the ChatGPT side the “URL with key”, which carries the key in the query string; because the address is served over HTTPS, there is no need to upload a file separately.
- 8
Add the address on the ChatGPT side
Add a product catalog source in OpenAI's ads management interface.
- 9
Complete the ChatGPT setup
As the source, enter the CSV feed address with key, served over HTTPS, that you copied from HexFeed's Access tab.
- 10
Verify the upload
Save; after the catalog is processed, your products can be used in ChatGPT ads.
- 11
Monitor access
The feed's access logs show when the ChatGPT side fetched the feed; the quality score lists missing fields with sample products.
Which fields are written to the ChatGPT feed?
HexFeed generates the fields below from the product data that comes from your XML source. In a feed with variants, each size becomes a separate row; group_id points to the parent product and listing_has_variations is written as “true”.
item_id, title (limited to 150 characters), description (limited to 5,000 characters)url, image_url, additional_image_urlsbrand, seller_name, seller_urlprice, sale_price (only if discounted), availability, conditiongtin, mpn, product_categorycolor, size, gender, age_groupgroup_id and listing_has_variations (in a feed with variants)return_policy, target_countries, store_countryis_ads_eligible, is_eligible_search, is_eligible_checkout
What does HexFeed add to your ChatGPT feed?
Instead of sending the data that comes from your XML source as it is, you set up a separate feed for ChatGPT:
Filtering products with rules
You decide which products go into the feed with rules such as price, stock, size availability, category, brand, color, size, discount rate, product name, tag and GA4 metrics (views, add-to-carts, purchases, conversion). A product must match all the rules you define.
Product limit
You sort the products that remain after the rules by a criterion you choose (e.g. Google purchases in the last 30 days) and take the top N products into the feed.
Feed-specific discount
You schedule percentage or amount discounts that apply only to this feed, with a date range; the price in your store does not change.
Image templates
You design a discount badge, price strip or brand frame once; each product gets an image rendered with its own price and discount, and this image is used as the main image in the feed.
Stock and price sync
HexFeed refreshes product, price and stock data from your store at the frequency set for your store (from hourly to once a day; every 3 hours by default); a product that runs out of stock is written to the feed as out of stock, or removed entirely with a stock rule.
Protected feed address
The feed address is protected with an access key; requests without the key are rejected. The access logs show when the feed was fetched.
Feed quality score
Feed products are analyzed; issues such as a missing GTIN or a short description are listed with sample products, and the change from the previous analysis is shown.
Frequently asked questions about Generic XML and ChatGPT
What do I need to set up a ChatGPT feed with Generic XML?
On the Generic XML side you need the XML address that holds your products and a mapping profile for this XML; on the ChatGPT side you need an account where you can add the feed address. HexFeed generates a feed in CSV format for ChatGPT from the data that comes from your XML source.
When a price or stock changes in your XML source, when does ChatGPT see it?
HexFeed refreshes product, price and stock data from your XML source at the frequency set for your store (from hourly to once a day; every 3 hours by default). Each time ChatGPT reads the feed it gets this current data; the reading frequency is determined on the ChatGPT side.
How are the sizes and colors of my Generic XML products reflected in the ChatGPT feed?
Variants are read according to the variant mode you choose in the mapping profile. Records with an empty ID are skipped; with the skip condition you can leave unwanted records out from the start. In a feed with variants, each size becomes a separate row; group_id points to the parent product and listing_has_variations is written as “true”.
Why is the ChatGPT feed CSV and not XML?
OpenAI does not accept XML for product files. That is why HexFeed generates the ChatGPT feed as CSV that follows OpenAI's column schema; the address model is the same as for the other feeds.
Why is the return policy address required?
OpenAI makes the return_policy field mandatory on every product row. HexFeed writes this value from the address you enter in the ChatGPT section of Settings. The address must be public and complete; relative paths such as “/iade” are not accepted.
Can my ChatGPT feed address be downloaded by others?
The feed is created protected with an access key; requests without the key are rejected. You give the ChatGPT side the “URL with key”, which carries the key in the query string; because the address is served over HTTPS, there is no need to upload a file separately. You can change or remove the key from the feed's Access tab.
Other channels for Generic XML
ChatGPT from other platforms
Set up your Generic XML → ChatGPT feed
Set up your Generic XML connection and create your first ChatGPT feed. If you would like to do the setup together, contact us.
