Product update · Knowledge

Upload several documents to your knowledge base at once

Pick a whole folder's worth of PDFs, Word files and spreadsheets in one go. Each file keeps its own name and overview, and they all upload together.

Gopi Krishna Lakkepuram

· 3 min read

Shipped
Area
Knowledge
Available on
Every plan

Most businesses don't have one document that explains everything. They have a price list, a services brochure, a policy PDF, a menu and a spreadsheet of opening hours. Adding them to your AI agent one at a time meant opening the same dialog over and over. Now you can select all of them at once and upload them in a single step.

What's new

The Upload a document dialog now accepts several files at once. Browse for them together, or keep adding more before you upload.

  • One file works exactly as before: you see its Document Name and Document Overview right away and can edit them.
  • Several files appear as a compact list showing each file's name and size. Click a file to open its name and overview and change them.
  • Studio fills in a name for every file from its file name, so you can upload straight away and tidy names later if you want.
  • The upload button tells you what will happen, for example Upload 6 files, and the dialog shows how many files you've selected and their total size.

Supported file types are the same as before: .txt, .json, .md, .doc, .docx, .pptx, .csv, .xlsx and .pdf. If you pick a file of another type, Studio lists it by name and leaves it out. The rest of your selection stays.

How to use it

  1. Open your chatbot in Studio and go to the Sources tab. (You can also open Sources from the main menu.)
  2. Open the source you want to add to and choose the Documents tab.
  3. Click Upload Document, then Browse for a document and select several files. Use Browse for more documents to add files from another folder.
  4. Check the names and overviews. A clear overview helps you find the right document later.
  5. Click the upload button, for example Upload 6 files.

Good to know

  • Your plan's knowledge storage still applies. Every file is checked against the size limit for a single file and against the total storage for your plan. Files upload in the order you picked them. If one file is too large, or would take the source over your storage, the upload stops at that file and the files before it stay added.
  • Duplicates are skipped in the dialog. Choosing the same file twice (same name and size) adds it to the list only once.
  • Spreadsheets and lists answer better with the right layout. If you're uploading a CSV, a product list or a directory, read how to lay out your file first. The dialog links to the same guide.
  • Documents feed answers, not attachments. Files you upload here become knowledge your agent answers from. To have the agent share a file with a visitor as a card, add it as an asset instead. See rich cards on WhatsApp, Instagram and Messenger.
For developers

The REST API has a matching bulk endpoint: POST /api/dataspace-documents/{id}/bulk takes a multipart form with several files. Per-file names and overviews go in indexed fields (DocumentName_0, DocumentDescription_0, and so on); a missing name falls back to the file name. It returns the list of created documents. The caller needs contribute permission on the source.

Explore Hyperleap AI

An AI front desk that answers customer questions, collects contact details, and books appointments on your website and messaging channels.