Skip to content

Knowledge Base

Knowledge Base provides a data source that can be reindexed for RAG. Node Ask AI to display citations the sources used when this feature is enabled.

Open your automation, then navigate to the Knowledge in /automations/<id>/knowledge.

You can add several types of sources:

TypeSupported formatsNotes
FilePDF, DOCX, TXT, and more (full list below)Upload directly from your computer; supports multiple files at once.
URLPublic URLsPage content is scraped and parsed automatically; check the Sitemap to crawl the entire sitemap.
  1. Click Add Source in the top right corner.
  2. Choose the source type — File or URL.
  3. For files: select or drag files into the upload area. For URLs: enter the full URL address.
  4. Click Upload. The system will parse and index the content automatically.
  5. Wait until the status changes to Ready (green).

When selecting a file, the file picker dialog only shows supported types — filtering is done based on the file extension (not MIME type). DEP accepts the following formats:

CategoryExtensionNotes
Documents.pdf, .doc, .docxPDF and Microsoft Word.
Text & Markdown.txt, .md, .markdownPlain text and Markdown.
Web / HTML.html, .htmLocal HTML files; content is parsed like a web page.
Spreadsheet.csv, .xls, .xlsxCSV and Microsoft Excel.
Presentation.pptxMicrosoft PowerPoint.
Structured data.jsonJSON files.
URL / Website— (URL address)Not a file — page content is scraped; see Sitemap Crawling.

Uploading Multiple Files at Once (Bulk Upload)

Section titled “Uploading Multiple Files at Once (Bulk Upload)”

The upload area supports selecting multiple files at once. Hold down Ctrl/Cmd (or Shift) to select multiple files in a single pick, or drag multiple files into the upload area.

  • Each file is uploaded one by one to the knowledge base; progress is shown via the upload indicator and notifications.
  • When finished, the system displays a summary “N from M file uploaded successfully”.
  • Files that fail to upload are skipped without stopping the process — the system continues to the next file.
  • Each file becomes one source that is parsed and indexed independently, with its own status (Processing / Indexed / Error).

When adding a source URL, a checkbox is available Sitemap right below the address field.

  • Unchecked (default) — DEP fetches and parses only a single page at that URL.
  • Checked (Sitemap) — the URL is treated as sitemap (e.g. https://situs.com/sitemap.xml). DEP reads the list of URLs inside the sitemap, then crawls and indexes each listed page.

Each crawled page becomes a sub-source linked to the parent sitemap source (parent_source_id), so you can still browse chunks, reindex, or delete them individually. The checkbox option is sent to the backend as the field is_sitemap.

URL sources (including sitemaps) can be scheduled to re-sync automatically to keep content up to date. Choose a schedule from the sync dropdown on the source row:

ScheduleBehavior
None (default)No automatic synchronization; manual re-index only.
Hourly (hourly)Fetch and reindex every hour.
Daily (daily)Fetch and reindex every day.
Weekly (weekly)Fetch and reindex every week.

The last and next sync times are shown below the source name. Automatic sync only applies to URL-type sources — files must be re-uploaded manually when they change.

After a source is parsed, the content is split into chunks (text snippet). You can:

  • View chunks — click the source to open its details and inspect each chunk’s text.
  • Re-index — click the re-index button if the source content has changed or search results are inaccurate.

Once the knowledge base is populated, enable it on the node Ask AI:

  1. Add a node Ask AI to your flow.
  2. In the node configuration, enable the toggle Use Knowledge Base.
  3. The node will automatically search for relevant chunks based on the user’s question and include them as context for the LLM.

Reply from the node Ask AI node that uses a knowledge base will include citations — references to the original sources used.

  • One topic per source. Documents that mix many topics produce less relevant chunks.
  • Update regularly. If information changes, re-upload or re-index the source. For URL/sitemap sources, use an automatic sync schedule.
  • Test with real questions. After adding a source, test with frequently asked customer questions to ensure accuracy.