Use CSV, PDF, and URL to upload multiple knowledge base topics or variants
You can upload knowledge base items and variants to Agent Studio using a .csv
file, PDF, or URL. This is useful when migrating from another system, doing bulk updates, or working with external teams.
There are two separate import tools — one for the knowledge base and one for variant management. Each one has its own required format.
The knowledge base importer expects a file with these columns:
Column | Required | Notes |
---|---|---|
Topic | The title of the KB topic. | |
Sample Questions | Use \n to separate multiple questions within one cell. | |
Content | Main answer text. | |
Actions | Optional: workflows (handoff, SMS, function, etc.) |
The final column must be named Actions
(plural). Using Action
(singular) will trigger a generic upload error: “Problems occurred when uploading csv file.”
The Variant importer expects a CSV with a header row listing all the variant attribute names (e.g. site
, location
, language
). Each row defines one variant and its values.
Importing a CSV here will overwrite any existing variants. Re-download the template if you’re unsure of the current format.
Actions
)You can upload knowledge base topics directly from a PDF. This is useful when converting existing documents like guides and policy documents into structured KB topics.
Formatting, tables, and complex layouts may not convert perfectly. Always preview the imported topics and edit as needed.
You can also import knowledge base topics by providing a public URL. The page contents will be extracted and separated into various KB topics.
This is useful for pulling content from existing web help centers or documentation pages.
When importing from URL, any existing content for that topic will be overwritten.
This method works best with clean, article-style pages. Complex web apps, forms, or interactive content may not be imported correctly.
Need help? Contact us at platform-support@poly-ai.com.