Build your knowledge base
The library the agent answers from, with folders, documents, uploads and suggested knowledge.
The agent searches the documents here when it answers. How it searches is on Built-in abilities.
The tab
| Sidebar row | Opens |
|---|---|
| All documents | The library, with its folders |
| Review | What the agent learned from conversations, with a count. See Review |
| Sources | Connected repositories, docs sites, Notion and websites. See Connect knowledge sources |
| API reference | OpenAPI specs from synced repositories, each with a switch for the help center. See API reference |
Under Related, three rows open settings in other tabs that shape the library: Site, Agent behavior and Agent tools. An arrow marks them.
The library
The library is one card. Folders come first on each level, then documents, in the order the help center reads them. Press a folder to open or close it. The number after a folder's name counts the documents in it and every folder below it. Open folders stay open when you come back.
While anything is published and the help center is off, a notice above the library reads The help center is off, with Turn on.
Each document row shows, from left to right:
| Part | Means |
|---|---|
| Icon | Where it came from. Hover for the name. See the table below |
| Title | Opens the document |
| Red mark | Failed. Conversion or indexing failed. Open the document to read why and press Try again |
| Pulsing dot | Indexing. A new document is not searchable yet. An edited one answers from its previous version until this clears |
| Globe | An article on the help center. Press it to open the article. See Site |
| Time | When it last changed |
| Icon | Source | Documents from |
|---|---|---|
| Pencil | Written | Write a document |
| File | Uploaded | Upload files |
| GitHub | Synced | GitHub repositories and docs sites |
| Notion | Notion | Notion imports |
| Globe | Scraped | Website imports |
| Sparkle | Learned | Approved suggestions |
Search and filter
- Search documents matches titles only and returns up to 30 results.
- Source, Status and Help center each narrow the list to one value. Clear resets everything.
- While a search or filter is on, the matches are listed without folders, each with its folder path after the title.
- The library holds the 1,000 most recently updated documents and up to 200 folders. Search reaches every document.
| Empty state | Means |
|---|---|
| No documents yet | The library is empty |
| No documents match. | The search or a filter found nothing |
| Empty | Shown inside an open folder that holds nothing |
Who sees what
| Members | Admins and owners | |
|---|---|---|
| Read, search and filter the library | Yes | Yes |
| Open a document | Yes | Yes |
| Review | Hidden | Yes |
| New, Organize | Hidden | Yes |
| Drag, select, row menus | No | Yes |
| Edit, Delete, Try again, help center switch | No | Yes |
| Sources | Only admins and owners can manage sources. | Yes |
Folders
Create a folder with New → New folder, or New folder in a folder's menu.
| Field | Limits |
|---|---|
| Name | Required, up to 60 characters |
| Description | Optional, up to 200 characters. Read by Organize |
| Icon | Optional. SVG or PNG, under 512 KB |
Folders nest 3 levels deep. Past that, Folders go three levels deep, and no further.
| Folder menu item | Does |
|---|---|
| New document | Opens a new document filed in this folder |
| New folder | Creates a folder inside. Hidden at the third level |
| Publish all to help center or Unpublish all from help center | Every document in the folder and the folders below it. Shown when it holds any |
| Move to | Moves the folder to Top level or another folder |
| Edit | Opens Edit folder |
| Delete | Deletes the folder and moves its contents up one level |
The menu is on the dots at the end of a row. Right-click a row for the same menu.
| Document menu item | Does |
|---|---|
| Publish to help center or Unpublish from help center | See Site |
| Add public link or Change public link | See Let the agent link your docs |
| Move to | Files it in another folder, at the end |
| Delete | Asks first, then removes the document from answers |
Drag to arrange
- Drag a document between two others to reorder it, in that folder. Drop it on a folder to file it at the end.
- Drag a folder to reorder it or nest it. The top and bottom edges of a folder place it beside. The middle places it inside.
- Hold over a closed folder for half a second to open it.
- Dragging is off while a search, filter or selection is on.
Select several
- Hover a document. A checkbox appears in front of its icon.
- Tick it. While anything is selected, clicking a row toggles it.
- Shift-click to select a range.
The bar at the bottom reads N selected, with Move to, Help center (Publish or Unpublish), Delete and a button to clear the selection. Escape clears it too.
| Message | Cause |
|---|---|
| Delete N documents? | Confirms a bulk delete |
Up to 200 documents at a time. | A move or delete holds more than 200 documents |
Publish up to 200 documents at a time. | Publishing more than 200 documents in one go |
Organize the library
Organize appears on All documents once the library holds two documents.
- Press Organize. The dialog reads your library.
- Review the proposed changes. A folder that does not exist yet is marked New, and new titles are listed under Renamed.
- Press Organize. Nothing moves before that.
| It can | Limits |
|---|---|
| File documents into folders | Only documents that should move are listed |
| Create folders, inside other folders too | Each new folder holds at least 2 documents. Up to 30 per run |
| Move a folder inside another | Folders go three levels deep |
| Fix a document's title when it is wrong | Synced, Notion and scraped documents keep the new title. Up to 60 per run |
- It reads document titles, sources, file names and paths, one line from the top of each document, and folder names and descriptions.
- It never renames or deletes a folder.
- It looks at the 200 most recently updated documents. A larger library shows Only the 200 most recent documents were looked at.
- No changes suggested. means everything already fits.
- It needs Standard or Pro. On Explore the dialog shows AI organization is available on Standard and Pro. See Plans.
Add documents
Press New. What you write or upload lands on the top level. To write inside a folder, use New document in its menu.
| Item | Adds | Plan |
|---|---|---|
| Write a document | A document you write here. See Write a document | Any |
| Upload files | One document per file. See Upload files | Any |
| New folder | A folder. See Folders | Any |
| GitHub, Notion, Docs site, Website | Opens that source's connect step on Sources. See Connect knowledge sources | Websites need Standard or Pro |
Every new or changed document is indexed. Indexing uses AI credits, so it needs
Standard or Pro and credits left. Without them a document shows Failed with
Indexing is paused. Check available credits or try again later. Press
Try again once credits are back. See Plans.
Admins and owners see a line under the page title while indexing can't run: "Indexing needs Standard or Pro, so new documents won't be searchable yet." on Explore, or "Indexing is paused until you add credits, so new documents won't be searchable yet." when credits run out.
Write a document
- Choose Write a document from New, or New document in a folder's menu.
- Enter a title, up to 120 characters.
- Write the body. Type
/for the block menu. Select text for the formatting toolbar. Drag the handle in the margin to move a block. - Press Save, or Cmd+S / Ctrl+S.
The body is stored as markdown, up to 900 KB. The document opens once saved and shows Indexing until it is ready.
| Message | Cause |
|---|---|
| Leave without saving? | You are leaving with unsaved work. Leave discards it |
The document is empty. | The body has no text |
That document is too long for one entry. Split it up. | The body is over 900 KB |
Upload files
Choose Upload files and pick up to 10 files at a time, up to 20 MB each.
| Accepted | Extensions |
|---|---|
| Markdown and text | .md .mdx .markdown .txt |
.pdf | |
| Documents | .doc .docx .docm .odt .rtf .epub |
| Presentations | .ppt .pptx .odp |
| Spreadsheets | .xls .xlsx .ods .csv |
- Each file becomes a document titled with its
titlefront matter, then its first heading, then its file name minus the extension. - The row appears at once with Indexing. Conversion runs in the background.
- Markdown and text files are stored as they are. Everything else is converted to markdown.
Errors under the upload button:
| Message | Cause |
|---|---|
Up to 10 files at a time. | More than 10 files picked |
{file}: That file is too big to import. Keep it under 20 MB. | The file is over 20 MB |
N files did not make it. Try them again. | More than one file failed to upload |
Errors on a document that shows Failed:
| Message | Cause |
|---|---|
This file format cannot be imported. Try a text-based PDF, Markdown, or plain text file. | The format is not supported |
This document could not be read. Export a new copy and upload it again. | The file is damaged |
This file is password protected. Remove the password first. | The file is encrypted |
This document exceeds the conversion limit. Split it into smaller files. | The file is too large to convert |
This document is incomplete. Export a new copy and upload it again. | Part of the file is missing |
Nothing readable came out of this file. | Conversion produced no text |
This file converts to more than one document can hold. Split it up. | The converted text is over 900 KB |
The uploaded file is gone. Upload it again. | The stored file could not be found when conversion ran |
This file could not be converted. | Any other conversion failure |
Documents
Open a document to read it. The line under the title shows its source, the file name or repository path, and when it was last updated. Synced and Notion documents also show a Read only badge.
The column beside the body holds the document's details.
| Detail | Shows | Change it |
|---|---|---|
| Folder | The folder it sits in, or Top level | Pick another folder from the menu |
| Status | Ready, Indexing or Failed | |
| Added | When it joined the library | |
| Help center | Whether customers can read it | Flip the switch |
| Article | Its address on the help center, once published | |
| Public link | The page the agent links customers to, or None | Add or Change |
Only admins and owners can change details. Everyone else sees them as text.
What you can edit
| Source | Edit | Notes |
|---|---|---|
| Written | Yes | |
| Uploaded | Yes | Open original file opens the uploaded file in a new tab |
| Learned | Yes | See the conversation opens where it came from |
| Scraped | Yes | A Re-scrape keeps your edited version. Delete the document to take the site's version again |
| Synced | No. The Read only badge says "Edit this document in its source repository." | A deleted document comes back on the next sync, if its file is still there |
| Notion | No. The Read only badge says "Edit this document in Notion." |
Any document can have a public link, whatever its source. How links are worked out and checked is on Let the agent link your docs.
Edit a document
- Press Edit. The title and body become editable.
- Press Save, or Cmd+S / Ctrl+S. The document is indexed again.
Cancel with unsaved changes asks Discard changes?
Document actions
The three-dot Document actions menu holds the items that apply to the document.
| Item | Shown for |
|---|---|
| Open original file | Uploaded documents |
| See the conversation | Learned documents |
| Delete | Admins and owners. It asks first, then removes the document from answers |
Try again
A Failed document shows the reason above the body and a Try again button.
| Document | Try again does |
|---|---|
| An upload that never converted | Converts the file again |
| A Notion page that never arrived | Pulls the page again |
| Anything else | Indexes it again |
A link to a deleted document shows Document not found.
Review
Review in the sidebar holds what the agent learned from conversations, waiting for a yes. Its row shows how many are waiting. Only admins and owners can review. Home shows each one as its own Knowledge suggestion or Knowledge update item too.
When nothing is waiting, the page shows Nothing to review.
Where suggestions come from
| Source | Switch | Cap |
|---|---|---|
| The agent, during a conversation | Suggest knowledge and tools | 3 per conversation |
| The review after a conversation is resolved | Learn from resolved conversations | 3 per review |
The switches are on Agent → Behavior. See Agent.
Turn both off and no new suggestions arrive. Both need Standard or Pro. See Plans.
The card
Hover or tab into a card to expand it.
| Part | Shows |
|---|---|
| Title and age | The proposed document title |
Updates "{title}" | Shown when the suggestion rewrites an existing document. Links to it |
From "{subject}" | A link to the conversation it came from |
| Body | The proposed text, in markdown |
| Button | Does |
|---|---|
| Approve document | Adds a new Learned document to the Learned folder and indexes it. The folder is made on the first approval, and keeps collecting if you rename or move it |
| Approve update | Replaces the named document's title and body, and indexes it again |
| Dismiss | Removes the card. Nothing is written |
- An update can only target a Written, Uploaded, Scraped or Learned document of 8,000 characters or fewer.
- A settled suggestion stays on record, so the same suggestion from the same conversation is not filed again.
- Each new suggestion also sends the
knowledge.suggestion.createdevent. See Webhooks.
| Error | Cause |
|---|---|
The original document was deleted. Dismiss this suggestion. | The document it updates is gone |
That page has changed since this was written. Dismiss it and wait for a new suggestion. | The document changed after the suggestion was filed |
This document can no longer be updated. Dismiss this suggestion. | The document is now over 8,000 characters |
This suggestion has already been reviewed. | Someone else settled it first |
What belongs in knowledge
| Put in knowledge | Use a tool instead |
|---|---|
| Policies, how-to guides, error tables, plan comparisons | An order's status, a customer's quota |
| Answers your team repeats every week | Refunds, resets, anything that changes data |
The agent reads live data through tools.