Skip to main content
Cover Placeholder The knowledge base gives your agent access to your own content, like product information, company policies, or support documentation. When users ask questions, your agent retrieves relevant information from the knowledge base using the knowledge base tool and uses it to generate accurate, grounded responses. Instead of scripting every possible answer, you can upload your content and let the agent find what it needs.

Importing data to the knowledge base

Open the Knowledge base tab in the sidebar, then click Add data source to import content. Video Playholder

Data source types

Voiceflow supports five data source types.
  • Web page(s) - Paste one or more URLs to import content from specific pages. Enter each URL on a new line. You can only import publicly accessible URLs.
  • Website - Import all pages from a website by entering its sitemap URL. For most websites, the sitemap is found at https://yourwebsite.com/sitemap.xml. This is ideal for importing entire help centers or documentation sites.
  • Docs - Upload document files (.pdf, .txt, or .docx) up to 10 MB. Only text content is imported into the knowledge base.
  • Table - Upload table files (.csv or .xlsx) up to 10 MB. Each row is imported as a separate chunk, with column headers used as field names.
  • Plain text - Paste raw content directly. This is useful for quick prototyping or testing with small amounts of content.
  • Zendesk - Import articles from your Zendesk knowledge base. This requires Zendesk admin access.

Configuring import settings

After selecting your data source, you can configure how Voiceflow processes and maintains the imported content.

Refresh rate

When importing from a URL or website, you can set a refresh rate to keep your knowledge base in sync with changes to the source content.
OptionBest for
NeverStatic content that won’t change
DailyFrequently updated content (eg: blogs, news sites)
WeeklyOccasionally updated content (eg: support centers)
MonthlyStable content (eg: product policies, pricing pages)
When an LLM chunking strategy is enabled, each sync consumes credits. If your content doesn’t change often, consider reducing your refresh rate frequency. No credits are consumed when syncing data without an LLM chunking strategy selected.

LLM chunking strategies

When your agent queries the knowledge base, it finds chunks of data most similar to the user’s question. LLM chunking strategies use AI to automatically split your content into optimized chunks, helping your agent find useful answers.
StrategyDescriptionBest for
Smart chunkingBreaks content into logical sections grouped by topicComplex documents with varied topics (eg: policy documents, course catalogs)
FAQ optimizationCreates sample questions that each section could answerProduct information, help center content
Remove HTML and noiseCleans up messy website formatting to make text easier to processBlog posts, markdown-heavy documents, CMS exports
Add topic headersAdds brief summaries at the start of each sectionLong documents needing context (eg: research papers, onboarding guides)
SummarizeKeeps only key points and removes filler contentDense, lengthy content (eg: legal agreements, strategy briefs)
Chunking strategies aren’t one-size-fits-all. Experiment with different combinations on each data source to see which helps your agent generate the best responses.

Metadata

You can attach metadata to each data source you upload. This metadata can then be used as a filter when your agent queries the knowledge base. Metadata is useful when you have multiple brands, product lines, or subscription tiers and want to ensure the correct information is returned. For example, if you’re building an agent for a SaaS platform with different policies for enterprise versus self-serve customers, you could add metadata with the key plan and value enterprise or self-serve to each data source. To add metadata, click the + button in the Metadata section of the import configuration, then enter your key and values.

Troubleshooting data imports

If something goes wrong when importing your data, hover over the error icon to learn why. Import errors are handled gracefully: failed files won’t break your project, and the remaining files will still be processed.

Querying the knowledge base

Your agent can query the knowledge base to find relevant information during conversations. To enable this, open the Agent tab and turn on the Knowledge base toggle in the Skills panel. Once enabled, your agent will automatically search the knowledge base when it needs information to answer user questions. Playbooks can also query the knowledge base independently. When editing a playbook, enable the Knowledge base toggle to give that playbook access to your imported content. Video Playholder