Documentation Knowledge Document Sources

Document Sources

Learn how to add content from files, websites, URL lists and wikis to build your knowledge base.

Overview

Document sources are the connectors between your content and knowledge collections. Each source type is optimized for different use cases, from uploading internal documents to continuously syncing public documentation sites. A wiki is the one source you write rather than import, and the only one you can publish back out as a customer-facing help center.

All sources automatically:

  • Extract and clean content
  • Convert to a uniform format (markdown)
  • Track processing status
  • Handle errors gracefully

File Uploads

Upload files directly from your computer to add them to a knowledge collection.

Supported File Types

Format Extensions Notes
Text .txt Plain text files
Markdown .md, .markdown Preserves formatting structure
HTML .html, .htm Converted to clean markdown
PDF .pdf Full layout analysis, table extraction, and OCR for scanned pages
Word .docx Structured conversion preserving headings, lists, and tables
PowerPoint .pptx Slide text and hierarchical structure
Excel .xlsx Tabular data converted to markdown tables

Upload Limits

Format Limit
PDF ≤ 40 pages
Word / PowerPoint / Excel ≤ 10 MB
Text / Markdown / HTML ≤ 5 MB
All formats ≤ 25 MB

For long PDFs, split into per-chapter or per-section files for best results.

How to Upload Files

  1. Open your knowledge collection
  2. Click Add Document Upload Source
  3. Select one or more files from your computer
  4. Files are uploaded and processing begins automatically
  5. Track processing status in the sources list

Batch Upload

You can upload multiple files at once. Each file becomes a separate document in your collection, but they're all tracked under a single source.

When to Use File Uploads

  • Internal documents: Company policies, internal wikis, training materials
  • One-time imports: Historical content that won't change frequently
  • Confidential content: Documents that can't be publicly scraped
  • Custom formats: When you have documents in supported formats ready to upload

Website Scraping

Automatically crawl and index an entire website or documentation site. On a knowledge collection, click Crawl Entire Website.

How Website Scraping Works

  1. Start from a base URL (e.g., https://docs.example.com)
  2. Crawler discovers pages by following links
  3. Each page is fetched, converted to markdown, and indexed
  4. Stays on the starting URL's host (won't crawl other sites or subdomains)
  5. Continues until all linked pages are found or max limit reached

A page is indexed once however its links are written: with or without a trailing slash, or with a #section on the end. Each page is fetched at the address the site links to, and kept under the address the site finally serves it from, so a page that redirects from /help/ to /help is kept as /help.

Pages that are left out

The crawler reads a page's robots meta tag the way search engines do:

  • <meta name="robots" content="noindex">: the page is not added to your knowledge base, but its links are still followed
  • content="noindex, nofollow" or content="none": the page is not added, and its links are not followed

Use it to keep sign-in screens, checkout steps or anything else that is no help to the chatbot out of your knowledge base. A page you mark this way after it was indexed is removed at the next sync.

Configuration Options

Base URL

The starting point for crawling. The crawler follows links anywhere on this URL's host, not only below its path.

https://docs.example.com Crawls pages on docs.example.com
https://example.com/help Starts at /help but follows links to any page on example.com

To index only one section of a site, such as /help, use a URL list of its pages instead.

Enter the address your site actually lives on. If example.com redirects to www.example.com, start from https://www.example.com: the crawl stays on the host you entered, so it would not follow links to the other one.

Max Pages

Required: how many pages the crawl may index, from 1 to 1000. 100 is a good start. Recommended limits:

  • Small sites (up to 100 pages): 100 covers them
  • Medium sites (100-500 pages): Set the limit to cover the pages you need
  • Large sites (500+ pages): Use URL lists for specific sections instead

Be Respectful of Target Sites

The crawler is rate-limited to avoid overloading target servers. Large sites may take 10-30 minutes to fully crawl. Consider using URL lists for specific important pages if you need faster results.

When to Use Website Scraping

  • Public documentation: Product docs, API references, help centers
  • Blog archives: Company blogs with helpful content
  • Knowledge bases: Public FAQs and support articles
  • Living content: Sites that update regularly (use automatic sync)

URL Lists

Index specific pages by providing a list of URLs to scrape without crawling entire sites. On a knowledge collection, click Crawl Specific URLs.

How URL Lists Work

  • Provide a list of specific URLs (one per line)
  • Each URL is fetched independently
  • No link following or crawling, only the exact URLs you specify
  • Perfect for curating content from multiple sources

Example URL List

https://docs.example.com/getting-started
https://docs.example.com/api/authentication
https://docs.example.com/api/rate-limits
https://blog.example.com/best-practices
https://help.example.com/troubleshooting

Configuration Tips

Pro Tips

  • Use URL lists for high-value pages from large sites
  • Combine multiple sources for different sections of a site
  • URLs can come from different domains
  • Great for content from sites that are hard to crawl

When to Use URL Lists

  • Curated content: Specific important pages across multiple sites
  • Mixed sources: Combine pages from different documentation sites
  • Targeted indexing: Focus on high-value pages without crawling entire sites
  • External content: Industry articles, competitor docs (ensure compliance with terms)

Wikis

A wiki is knowledge your team writes inside the app rather than imports from somewhere else. Pages are written in markdown, grouped into sections, and held as drafts until you publish them, so the chatbot only ever answers from material you have signed off.

Where Wikis Live

Owners, managers and admins find wikis under Knowledge → Wikis in the sidebar, which lists every wiki in your workspace, with its page counts and whether it is published. Each wiki still belongs to a knowledge collection, and that is what puts its pages in front of the chatbot.

How Wikis Work

  1. Create a wiki from Knowledge → Wikis, or from a knowledge collection's actions, and give it a name
  2. Create sections to group related pages, nesting them where that helps
  3. Write pages with a title, an optional summary, and a page type (article, FAQ, SLA, process, product, or feature)
  4. Publish a page when it is ready. It becomes a document in the collection and is indexed like any other source

Drafts Stay Out of Retrieval

An unpublished page is invisible to the chatbot. Unpublishing a page that was live removes its document from the collection, so retrieval stops using it straight away.

Keeping a Wiki Up to Date

There is nothing external to re-scrape, so a wiki has no sync schedule. Saving a published page re-indexes it immediately, and renaming or moving a section re-indexes the pages beneath it. That makes a wiki the quickest source to correct when the chatbot gets an answer wrong.

Publishing a Wiki as a Help Center

A wiki starts out private. Give it a help center and the same published pages become a site your customers can read and search, either on a link only you hand out or open to search engines. Individual pages can be held back from the site while still answering questions in chat, so detail meant for your team stays off the web.

See the Help Centers guide for creating one, controlling who can find it, branding it, and taking it offline.

When to Use a Wiki

  • Answers that live in your team's heads: Content that has never been written down anywhere to import
  • Content you also want to publish: One set of articles serving both the chatbot and your customers
  • Frequently corrected material: Edit a page and the fix reaches the chatbot on save
  • Structured support content: FAQs, SLAs, and processes, kept in sections rather than one long document

Automatic Syncing

Keep your knowledge base up to date by automatically re-scraping website and URL sources on a schedule.

Sync Frequencies

Frequency Best For
Manual Static content, one-time imports, file uploads
Daily Frequently updated documentation, news content
Weekly Product docs, help centers (most common)
Monthly Policy documents, infrequently updated content

How Syncing Works

  1. At the scheduled time, the source is re-scraped
  2. New pages are added to the collection
  3. Updated pages replace old versions
  4. Deleted pages are removed from the collection
  5. Pages now marked noindex are removed from the collection
  6. Pages that have not changed since the last sync are left alone
  7. All new content is automatically processed and indexed

The First Scheduled Sync

A new source syncs as soon as you add it. After that, changing the frequency starts the clock rather than syncing straight away, so a source moved to weekly next syncs in a week. Use Sync Now if you want it refreshed before then.

Syncing is Non-Disruptive

Your chatbot continues to use existing content while syncing happens in the background. New content becomes available as soon as processing completes.

Manual Sync

You can trigger a sync manually at any time:

  1. Open the source in your collection
  2. Click the "Sync Now" button
  3. Processing begins immediately
  4. Track progress in the source status

Best Practices

Choosing the Right Source Type

  • Use website scraping for public documentation that updates regularly
  • Use URL lists when you need specific pages from large sites
  • Use file uploads for internal documents or content you control
  • Use a wiki when you're authoring the knowledge yourself, from a quick FAQ or policy to a full help center you publish for customers

Content Quality

  • Prefer markdown or well-structured HTML: Better chunking and retrieval
  • Avoid image-heavy PDFs: Text extraction quality varies
  • Remove navigation boilerplate: If possible, use markdown versions of pages
  • Check first scrape results: Verify content is being extracted correctly

Organization

  • Group related sources in the same collection
  • Use descriptive source names: "Product Docs - Getting Started" not "Source 1"
  • Set appropriate sync frequencies: Don't sync daily if content changes monthly
  • Monitor sync status: Check for errors after setting up new sources

Performance

  • Start small: Add 10-20 documents first, test retrieval, then scale up
  • Set max page limits for website sources to avoid long processing times
  • Use URL lists for large sites: More control over what gets indexed
  • Remove outdated content: Delete old documents that are no longer relevant

Respect Copyright and Terms of Service

Only scrape websites you have permission to use. Most public documentation is fine, but always check the site's terms of service before indexing external content.

Talk to sales
This form is running on UniversalChatbot.