Skip to content

Documents

Access: Admin.

URL: /staff/documents

Documents are the knowledge base that Stenbee’s AI agent draws from when answering customer questions. Upload product manuals, FAQs, policy documents, and other reference material. The system processes each document so the agent can reference it during conversations.

A drag-and-drop zone at the top of the page. You can:

  • Drag files from your file manager onto the zone
  • Click the zone to open a native file picker

Before uploading, you must assign the document to at least one channel.

Above the upload area, a row of tag pills representing your workspace’s channels. Click one or more pills to pre-assign channels to the document you’re about to upload. Selected pills are highlighted with the primary color.

Selecting channels before upload saves time — the document is immediately available to the selected channels without needing post-upload editing.

Below the upload area, the list shows all previously uploaded documents. Each card/row shows:

FieldDescription
FilenameOriginal filename
Channel badgesColored pills showing which channels the document belongs to
Upload dateWhen the document was uploaded
ExcerptA short preview of the document’s first chunk
  1. Select one or more channel pills at the top
  2. Drag a file onto the upload area (or click to browse)
  3. The file uploads automatically — a progress bar or spinner appears
  4. On success: the document appears in the list; a success toast confirms
  5. On error: a red toast with the failure reason

The system accepts text-based files. Common formats include PDF, TXT, DOCX, and Markdown. Files are read as plain text, so rich formatting may be stripped during processing.

Click on a document in the list to open a channel assignment modal:

  • Shows all available channels as toggle pills
  • Check/uncheck channels to add or remove the document from them
  • Click Save to apply changes

Click the Delete button on a document. A confirmation dialog appears. Confirm to permanently delete the document. This action is irreversible.

The Dashboard shows your plan’s document limit. When reached:

  • The upload area is disabled
  • A message appears: “Document limit reached. Delete existing documents to upload more.”
  • The count is shown as e.g., “10/10”

Check your Dashboard for the current limit.

  1. Upload → file is processed and indexed
  2. The AI agent can retrieve relevant content from the document when answering customer questions
  3. Each document contributes to the knowledge base across all assigned channels

This means:

  • Well-structured documents with clear headings produce better AI responses
  • Deleting a document removes it from the knowledge base immediately
StateWhat you see
LoadingDocument list shows skeleton cards
Empty”No documents yet — drag and drop files to get started”
UploadingProgress bar on the upload area
Limit reachedUpload area disabled with limit message
Upload errorRed toast (e.g., “Unsupported file type”, “File too large”, “Server error”)
  • Pre-assign channel tag pills before dragging files — it’s faster than editing each document after upload
  • Structure documents with clear headings for better processing quality
  • Upload the same document to multiple channels if it’s relevant across different touchpoints
  • Delete outdated documents (old product manuals, expired promotions) to stay within limits