BotSpot · developer docs · documents
Documents are what your AIs know about your business: products, policies, price lists, FAQs. This page shows how to organise them in folders, write them in BotSpot, upload the files you already have, and keep them tidy.
Getting there
In Workbench, open Data in the sidebar, then the Documents tab. On the left is the Workspace tree: your folders and documents, and the tables of any database you have connected. Click something in the tree to open it on the right.

Four buttons sit at the top of the tree. Hover one to see its name: New folder, New document, Upload a file to workspace root and Connect a database. The last one is covered in Working with data.

Documents belong to your organisation. Everyone in it sees the same tree, and nobody outside it sees anything.
Organising

Writing

There is no save button. The document saves itself as you type, and the status at the top tells you where it is: Saving…, Unsaved or Saved. Wait for Saved before you close the tab.
What to write: the things you would tell a new colleague. Products and prices, policies, opening hours, tone of voice, answers to the questions customers ask most. Short, plain documents on one topic each work better than one long document about everything.
Bringing files in

| File | Extensions | Opens as | Largest |
|---|---|---|---|
| PDF viewer (read-only) | 20 MB | ||
| Word | .docx, .doc | Text document (editable) | 15 MB |
| Markdown | .md | Text document (editable) | 15 MB |
| CSV | .csv | Spreadsheet (editable) | 10 MB |
| Excel | .xlsx, .xlsm, .xls | Spreadsheet (editable) | 15 MB |
One file at a time. A Word or Markdown file becomes a text document you can edit. A CSV or Excel file becomes a spreadsheet. A PDF stays exactly as it was.
Tabular files
An uploaded CSV or Excel file opens as a spreadsheet you can edit in place.

A spreadsheet keeps cell values only. Formulas and formatting are not kept. Limits: 50 sheets, 20,000 rows per sheet, 200 columns.
A spreadsheet document is not the same as a table in a connected database. For a real database, see Working with data.
Read-only files
A PDF opens in the viewer and cannot be edited. You can change its title at the top, Download the original, or open it Full screen (Escape exits).

If you need to change what a PDF says, edit the original on your computer and upload it again, or copy the text into a new BotSpot document.
Housekeeping

Deleting cannot be undone. If an AI was using that document, it stops knowing what was in it.
Using them
A document with a green dot next to it in the tree is connected to your AIs. Hover the dot and it says Connected to your AIs. A document without the dot is stored, but no AI is reading it yet.

Documents are the raw material. An AI does not search them directly; they reach it through a knowledge base. Keep documents accurate and up to date, because what is in them is what your AIs will say.
Troubleshooting
My upload was refused.
The message says why. The usual reasons are a file type not in the table above, a file over its size limit, an empty file, or a file named .pdf that is not really a PDF.
Can I drag files in?
Not yet. Use Upload, one file at a time.
Can I create a blank spreadsheet?
Not yet. Make it in Excel or Google Sheets, export it as .xlsx or .csv, and upload it.
I closed the tab and lost my last sentence.
The status said Unsaved or Saving…. Wait for Saved before closing.
The PDF will not show on my phone.
Some mobile browsers, Safari on iPhone in particular, do not show PDFs inside a page. Use Download.