Import a product feed
Give the agent your products from a CSV or TSV feed when the site has no catalog connector. What the feed must contain, what each import summary means, the 10,000-product limit, and how to refresh.
A site with a catalog connector such as Shopify gets its products from that connector. A site without one has no catalog, so the agent can only find products on the pages it read. A product feed gives it a better source: the products, their prices and their pictures, searched directly.
You import the feed from Knowledge → Products in the dashboard sidebar for a site, or at /dashboard/sites/{siteId}/products.
Only for a site with no catalog connector
The import works on any site and fills the list. The agent only searches the stored products when the site has no connector that searches products (Shopify or Adobe Commerce, for example). With one, the catalog stays the only product source and the agent never calls the stored products.
Import a feed
Open Knowledge → Products. Importing needs Site pages: Edit. With Site pages: View you can read the list and the last import, not start one.
Paste the Feed address of your feed. It must start with https://, point
to a public host, and carry no user name or password. The feed can be plain or
gzipped. If the site already has an import, the field is filled with the
address of the last one. The address is stored with the import (see Refresh
the products), so do not put a secret or token in it.
Fill Currency code only when the prices in the feed carry no currency (see the currency).
Select Import feed. The import runs in the background. The Last import card shows its progress, and products appear in the list as they are stored.
Only one import runs at a time per site. Start the next once the first ends. An import that makes no progress for 30 minutes reads as failed.
The agent can use the products as soon as they are stored, provided its version has the tool. See Give the agent the tool.
What the feed must contain
The feed is a CSV or TSV file with Google Merchant column names. The separator can be a comma, a semicolon or a tab, and the first row says which. A g: prefix on a column name is ignored, and so is any column the import does not know.
| Column | Used for |
|---|---|
id | The product's reference. Required, 512 characters at most. |
title | The product's name. Required. |
link | The product page. Required, https, on your site (see below). |
image_link | The main picture, https. At least one picture is required. |
additional_image_link | More pictures, comma-separated. A product keeps 8 pictures at most. |
price | The price. Required. |
sale_price | The price that applies, when lower than price. |
availability | in_stock or out_of_stock. Anything else, or nothing, is stored as Unknown. |
item_group_id | Groups references of one product (sizes, colours). The group shows as one card. |
brand, description | Searched, and shown to the agent. Descriptions are cut at 5,000 characters. |
A feed whose first row has no id and no title column is not read as a feed (see Reading the summary).
The product address must be on your site. A link on another host, or starting with http://, makes the item refused. The import never fetches product pages: it only reads the feed.
An item that fails any rule above is refused, not stored. The Refused count in the last import says how many, and the list under the counts says why (see Reading the summary). The rest of the feed is stored.
Prices
The import reads 15.00 EUR, EUR 15.00, 3,43, 1 234,56, 1.234,56 and 1,234.56. A currency symbol (€), a sign, or text around the number makes the price unreadable, and the item is refused.
A price that could be read two ways is refused, because a wrong price quoted to a shopper is worse than a missing product. 1,234 is the usual case: it can be 1.234 or 1,234. It is read only when the currency has three decimals or the whole part is 0. Write 1234.00 in your feed.
A price must be at least one minor unit (0.01 for most currencies). A sale_price above the price refuses the item.
The sale price becomes the price. When sale_price is lower, the product is stored at that price, and the other one is kept as the "Was" price. The list shows both.
The currency
A price that carries a code (15.00 EUR) uses it. The code written in the feed wins over the Currency code you give. When the price and the sale price name two different codes, the item is refused.
When the prices have no code, the import uses the Currency code field: three letters, an ISO 4217 code such as EUR. Without it, those items are refused. The field is checked before the import starts, and a code that is not a known currency is rejected.
Availability
in_stock is stored as Available and out_of_stock as Unavailable. Everything else (nothing, preorder, backorder, any other word) is stored as Unknown. The import never claims a stock level the feed did not state.
How many products a site holds
A site holds up to 10,000 products. A group of references (the same item_group_id) counts as one.
When the feed is bigger, the import stores the first 10,000 it reads and leaves the rest out. It ends as Cut, and the summary says so.
The import also reads at most 50 MB of decompressed text, and waits at most 15 seconds in total for the network. A feed that runs past either is cut where it stops, with the products read so far kept.
Reading the summary
The Last import card shows when the import started and ended, its state, one sentence on what happened, and the counts: Found, Stored, Updated, Refused and Marked absent.
Under the counts, Why items were refused lists one line per reason with its count, the commonest first. A line the reader could not parse shows as "Line could not be read". The block is absent when no item was refused.
The reasons are the ones in When no product was stored: address not on an allowed domain, no currency, price could not be read, no price, no image, no title, no product address, product address not https, and no id. The count per reason stays, and the import also keeps examples of the refused products (see See the refused items). The counts tell you which column to fix, the examples tell you which products to look at.
| Summary | What happened |
|---|---|
| Completed: "The whole feed was read." | The import read the feed to the end, found nothing wrong, and marked the products it did not see as absent (see Absent products). |
| Completed: "No product was stored." followed by a reason | The import read the feed to the end, but Stored and Updated are both 0 and at least one item was refused. See When no product was stored. |
| Cut: "The feed is larger than the 10,000 products a site can hold…" | The 10,000-product limit was reached. The products before it are stored, the rest was left out. Nothing is marked absent. |
| Cut: "The feed is larger than one import can read…" | The size or time limit was reached. The products read so far are stored. Nothing is marked absent. |
| Held: "This import was held: the feed looks incomplete or much smaller than before. Its products were stored, and no product was marked absent." | The feed looks wrong. The import is held when more than 5% of its records could not be parsed, or when it would mark more than 30% of the site's stored products absent. The products it read are stored and updated. No product is marked absent. |
| Failed: "The import failed. No product was marked absent. Try again." | The connection broke while reading, a record could not be parsed past (an unclosed quote, or a record over 1 MB), or something went wrong on our side. Products stored before the failure stay. Nothing is marked absent. |
| Failed: "The address did not return a product feed…" | The address answered, but not with a CSV or TSV that has id and title columns (an HTML page, an XML file, a login page). Nothing was changed. |
| Failed: "The feed holds no product row. Nothing was changed." | The file is empty, or has a header and no product. Nothing was changed. |
| Failed: "The address, or a redirect it follows, is not allowed…" | The address, or a redirect on the way, is not https or points to a private or internal host. Nothing was fetched from it. |
| Failed: "The address redirected more than 5 times…" | The feed was not read. |
| Failed: "The feed could not be downloaded…" | The host did not answer, or the download broke before any product was read. |
See the refused items
When the last import refused items, a Stored / Refused switch appears above the products table. Refused shows a table of examples taken from that import, with the number of refused items next to the label.
- Up to 10 per reason. The import keeps the first 10 items it refused for each reason, in feed order. A line above the table says how many items are shown out of the total refused. The rest are counted in Refused but not listed.
- Only the last import. When an import ends, the examples of the site's older imports are cleared. An older import has no examples, and the switch is absent when the last import kept none.
- As the feed gave them. The values are the ones written in the feed, not cleaned up. Long values are cut.
| Column | Shows |
|---|---|
| Product | The title, then the brand and the item id (shown as "Ref."). |
| Reason | Why the item was refused. |
| Price | The price as written, with the sale price when the item has one, for example 15.00 EUR (sale 12.00 EUR). |
| Product address | The link of the item. |
| Image | The image_link of the item. |
| Group | The item_group_id. |
The field the reason is about is shown in red: the title for "No title", the product address for the three address reasons ("No product address", "Product address not https", "Product address not on an allowed domain"), the image for "No image", and the price for the three price reasons ("No price", "No currency", "Price could not be read"). When that field is empty, the cell reads Missing. Other empty cells read None. "No id" has no red cell: the item id shows under the title as "Ref." and reads None. Lines that could not be read are counted but kept no example, so they do not appear in the table.
When no product was stored
A completed import that stored nothing, updated nothing and refused at least one item says "No product was stored." and adds the reason that refused the most items. Only that reason is shown, so fixing it can reveal the next one.
| Sentence after "No product was stored." | Cause |
|---|---|
| "The product addresses in the feed are not on an address this site allows. Add the store address to the site, then import again." | The link of the items is on a host the site does not have. |
| "The prices have no currency. Enter a currency code and import again." | No code in the prices and no Currency code in the form. |
| "The items have no price." | No price on the items. |
| "The prices could not be read." | The price format is not one the import reads. |
| "The items have no image." | No image on the items. |
| "The items have no title." | No title on the items. |
| "The items have no product address." | No link on the items. |
| "The product addresses are not https." | The link starts with http://. |
| "The items have no id." | No id on the items. |
| "Every item was refused." | No single reason was counted. |
For the first two, do what the sentence says and select Import feed again. For the others, fix the column in the feed. The rules are in the sections above.
A Held import never marks products absent, so a feed you meant to shrink by more than 30% is held again each time. There is no step to confirm a held import. Check the feed first: a feed that lost most of its products usually has a fault.
Some problems stop the form before an import exists, with a message under the field: an address that is not a web address, not https, on a private host, a host that cannot be found, a currency code that is not a code, or an import already running.
Absent products
A completed import knows the full feed. A product that was stored before and is not in it is marked absent: the agent stops finding it, and the list shows only products that are not absent. An absent product that comes back in a later feed is live again.
Only a Completed import marks products absent. A cut, held or failed import marks no product absent, because it did not see the whole feed. The products it did read are stored or updated, and the live products it did not read stay live.
An absent product is deleted after 30 days. The deletion runs when any import ends, whether it was completed, cut, held or failed. It only touches products that are already absent for more than 30 days, so it does not need the feed to have been read in full. A product stays in the database until an import ends after the 30 days. If the deletion itself fails, the import still ends with its own result, and the next import tries again.
A site holds one feed. When you import from a new address, the products of the previous feed that the new one does not list are marked absent at the next completed import. If that would remove more than 30% of your products, the import is held instead, and the previous products stay live.
Refresh the products
The feed address is stored with the import, as you gave it. The Last import card shows it, and the form fills its Feed address field with the address of the last import. To refresh, check the address and select Import feed. Products already stored are updated, new ones are added, and a completed import marks the ones that left as absent.
Do not put a secret in the feed address
The address is readable by every member who can read the site's pages (Site
pages: View), and it is returned by the REST API and the MCP server as
sourceUrl. Never use an address that carries a token, a key or a password in
its path or query string. The address is not written to the logs or to Admin
activity.
There is no scheduled refresh and no Refresh button: an import starts only when someone selects Import feed or calls the API. The Currency code field is not filled in for you.
Give the agent the tool
The agent searches the stored products with the Site product search chat tool. It is on by default for a new Shopping agent version. A version created before it existed does not have it, and nothing adds it for you.
Open the agent, go to its Capabilities tab, and tick Site product search under Chat tools.
Save as a new version (a locked version always saves as a new one). See Edit a version.
Put that version live. Shoppers are served the live version only.
You can try the version in the playground before you put it live.
What the agent does with the products
The tool finds products by name, brand, reference or description, accents ignored, and returns up to eight. The agent can narrow a search to a price range, and to products the feed says are available.
- It shows cards that cannot be added to a cart. The card links to your product page and has a View product button. There is no Add to cart, because there is no catalog to add from.
- It quotes the price as of the import date. The agent is told the date of the import and to state the price only as of that date, and that it may have changed. The card itself shows no date.
- It states availability only when the feed gives it. The agent says a product is in stock or out of stock as of the import date, like the price, and says nothing about it when the availability is Unknown. It never gives a quantity. A product the feed marks Unavailable is left out of its answers, unless the version has the Out-of-stock products capability on. A product with an Unknown availability is kept.
- Stored products prevail over pages. When both a stored product and a page answer, the agent prefers the stored product, and keeps site page search for the brand, delivery, returns and guides.
These are instructions to the model, not a guarantee. What does not depend on the model: the tool only reads what was stored, it never fetches your feed or a page, and it never returns an absent product. The agent calls it at most 3 times per turn.
Not supported yet
- XML feeds (the Google Merchant XML format, or an RSS feed). Only CSV and TSV are read.
- Scheduled refresh. Every import starts when someone selects Import feed or calls the API.
- Links to PDFs or other documents in the feed. The columns above are the only ones read, and the others are ignored.
- Adding a stored product to the cart. The cards link to your product pages.
The API and the MCP server
You can start an import and read the products outside the dashboard. The MCP tools need Site pages: Edit to import and Site pages: View (or Edit) to list. The REST API takes an API key, which holds every permission of the organization. The import read and the list return the refused examples as refusedExamples: up to 10 per reason, for the site's latest import only. See Import products from a feed, List products and the MCP tools import_site_products and list_site_products.
How the agent fetches your pages
The User-Agent the agent sends to your site, what it requests and when (the hourly homepage check included), why it does not apply robots.txt Disallow rules, and how to let it through a firewall.
Embed the agent on your storefront
Paste one script tag to load the agent. Open it from a floating chat bubble, your own button, or both. No login, works from the site key.