New: The Google Trends feed rule is live
Shopify logoChatGPT Ads

Sending Shopify products to ChatGPT

Here is how you send your Shopify store's products to ChatGPT with HexFeed: you enter your myshopify domain, your Admin API access details and the color/size options in Settings; HexFeed pulls products, prices and stock from Shopify 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 Shopify side

HexFeed connects to your Shopify store via Shopify Admin GraphQL API. What you need: your myshopify domain, an Admin API access token or the app's Client ID / Client Secret, and the order of the color and size options.

Details of the Shopify integration

Step by step: Shopify → ChatGPT feed

Set up in 11 steps; menu names on the ChatGPT side may differ slightly depending on your account.

  1. 1

    Open your HexFeed account

    Sign up at app.hexfeed.io and create your store.

  2. 2

    Set up the Shopify connection

    In Settings > E-Commerce Platform, select Shopify. Enter your store domain, choose the Shopify mode (Access Token or OAuth Client Credentials) and enter the related details; set which option is color and which is size. Check with “Test connection” and save.

  3. 3

    Check the first sync

    Product data is pulled from Shopify: products and variants, price and stock, metafields (as tags), categories (from collections), brands (from the vendor field), orders. The numbers of added, updated and failed records for each run appear on the Integration Logs screen.

  4. 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. 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. 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. 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. 8

    Add the address on the ChatGPT side

    Add a product catalog source in OpenAI's ads management interface.

  9. 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. 10

    Verify the upload

    Save; after the catalog is processed, your products can be used in ChatGPT ads.

  11. 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 Shopify. 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_urls
  • brand, seller_name, seller_url
  • price, sale_price (only if discounted), availability, condition
  • gtin, mpn, product_category
  • color, size, gender, age_group
  • group_id and listing_has_variations (in a feed with variants)
  • return_policy, target_countries, store_country
  • is_ads_eligible, is_eligible_search, is_eligible_checkout

What does HexFeed add to your ChatGPT feed?

Instead of sending the data that comes from Shopify 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 Shopify and ChatGPT

What do I need to set up a ChatGPT feed with Shopify?

On the Shopify side you need your myshopify domain, an Admin API access token or the app's Client ID / Client Secret, and the order of the color and size options; 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 Shopify.

When a price or stock changes in Shopify, when does ChatGPT see it?

HexFeed refreshes product, price and stock data from Shopify 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 Shopify products reflected in the ChatGPT feed?

Color and size in Shopify are read according to the option order (Option 1–3) you choose in the connection settings; each variant's stock and barcode are read separately. 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.

Set up your Shopify → ChatGPT feed

Set up your Shopify connection and create your first ChatGPT feed. If you would like to do the setup together, contact us.