Tables and price lists

Price lists, stock sheets and catalogues with SKUs are data where every row and every number matters. If you upload such a file as an ordinary document, the agent searches it "by meaning" and may quote the price of a neighbouring item. The Tables tab of a knowledge base works differently: every row is stored separately, the agent sets an exact filter ("SKU A-001-M", "Sample Chair, size M", "under 20,000") and gets exactly the row it needs.

What the agent can do with a table

  • Find an item by SKU, name or words from its name and quote the price, availability, lead time and link.
  • Filter items by category, by price ("under 20,000") or by availability ("in stock") and sort them ("the cheapest in a category").
  • Avoid inventing numbers: if the row is not in the table, the agent does not quote a price; it offers to check and hands the customer over to a manager.

The agent gets up to 25 rows per request. Columns you hide are invisible to it entirely: neither in answers nor in filters.

How to add a table

  1. Open Agents → Knowledge, choose a base and the Tables tab. If the tab is missing, the feature is not yet enabled for your account.
  2. Click Download template: you get price-table.en.xlsx with six sample rows. The Guide button opens the filling rules in a window; from there you can also download the guide as a plain text file (Download .txt).
  3. Replace the sample rows with your own and click Upload, or By link if the file lives on Yandex.Disk.
  4. A preview opens. For every column you see its type (number, text, date), sample values and two checkboxes: Visible to agent and Key (the SKU or name used to find a row). Check that prices were detected as Number and that purchase cost and margin are not visible to the agent.
  5. Confirm the upload. The table appears in the list with the status Ready.
  6. Make sure this knowledge base is connected to the agent that needs the prices.

Staff with the permission to manage knowledge bases can upload and change tables; everyone else sees the tab read-only.

What the file should look like

The platform reads only a flat table: one header row and one item per row. A price list with a title, a legend and blocks of models has to be converted once. The essentials:

RuleWhy
The first row of the sheet is the headers. Nothing above itOtherwise a legend on top becomes the headers
One item, one row. Three sizes and two fabrics make six rowsThe price of a row must be unambiguous
Merge nothing; repeat the product name in every rowA merged cell keeps its value only in the first row
Only numbers in price columns: 129, not "from 129" or "on request"One piece of text turns the whole column into text and price filters stop working
Spell the same thing the same wayFor a table "So-Lux" and "Solux" are different values
One visible sheet, one tableEvery visible sheet is read as a separate table; hidden sheets are skipped

The full list of rules, common mistakes and an example for the agent are in the Guide.

Service columns: purchase cost and margin

Columns whose header contains "cost", "margin" or "purchase" (or the Russian «закуп», «себестоим», «маржа», «наценк») are hidden from the agent automatically. No other words are recognized (for example "markup" or "wholesale"): hide such a service column yourself by clearing Visible to agent.

You can change visibility at any time: open the table, the Columns section, Save columns. You always see all columns in the cabinet. A new column that appears when you replace the file or on auto-update is hidden from the agent by default: switch it on if it is needed.

How to update prices

MethodWhat happens
Replace file in the table cardThe data is replaced entirely. Column settings carry over by matching header
A table added By link (a public Yandex.Disk link; a password-protected one works too)Switch on Auto-update and set the interval in minutes (at least 1): the platform re-reads the file when it changes. Update now does it immediately

If a new version cannot be parsed, the agent behaves differently:

  • file replacement: you see an error and the agent keeps working with the old version. Upload the corrected file right away;
  • auto-update by link: the table is hidden from the agent until it is fixed, so it will not quote a stale price. A source that disappeared or was closed hides the table too (status Source unavailable); when the link is open again, the table comes back.

Limits

Up to 50,000 rows, 50 columns, 20 tables per account, a file up to 10 MB. Formats: xlsx and csv. Every visible sheet of an xlsx becomes a separate table.

If something went wrong

What you seeWhat it means
The price column was detected as "Text"There is stray text in it ("on request", "from 5000", "?"). Find it and leave only a number; an empty cell is fine. "N/A" and "—" are treated as empty
Strange headers in the preview, and the real header ended up in the dataThere is a title, a date or a legend above the header. Delete the rows above it
Rows other than the first have an empty nameThe file has merged cells. Unmerge them and repeat the name in every row
Empty prices on items with formulasThe xlsx formulas were never recalculated. Open the file in Excel or Google Sheets, save it and upload again
The agent quotes the purchase priceOpen the table, the Columns section, and clear Visible to agent for that column
The agent does not use the tableCheck that the knowledge base is connected to the agent and that the table status is Ready
"A table with this name already exists"Rename the file, or open the existing table and click Replace file

How to check the result

After uploading, ask the agent a few questions in a real channel: the price of a specific item, the cheapest item in a category, an item that is not in the table. The table search tool is not visible in the Agent sandbox yet, so testing there will not show the table.

The platform guarantees that a flat table is read without loss, a filter returns exactly the matching rows and hidden columns never reach the agent. It cannot guarantee that the model builds the right filter and quotes the number from the table rather than from memory. Add the rule "numbers only from the table" to the agent's instructions and tie it to your column names ("quote the price from the Price column").