Voiceflow’s Knowledge Base is a great place to store information that you’d like your agent to query. Whether you’re building a customer support chatbot, an interactive assistant, or an AI-powered knowledge retrieval system, adding relevant data to your Knowledge Base helps ensure your agent can provide accurate and contextually relevant responses.
Importing Data to the Knowledge Base
You can import data into an agent’s knowledge base by going to the agent’s CMS, opening the Knowledge tab, and clicking Add data source. There are various types of data that can be imported:
- The contents of one or more URL
- A sitemap for a website, which can be crawled periodically for updates
- A file, such as a PDF, Word document, or text file
- Plain text that’s copy-pasted into the CMS
You can also automatically import data from third-party services. While Zendesk is currently the only service natively supported, you can use Voiceflow’s Knowledge Base API to sync data from other services via a tool such as Zapier, n8n, or Make.com.

For the purposes of this course, we’ll import some data about a fictional Toronto-based realtor. This data answers basic questions such as the area the realtor covers, what they specialize in, and their current understanding of the housing market. Our AI agent will query this data, and augment it with its existing knowledge to answer user questions.
After clicking Add data source, choose the Sitemap option. In the Sitemap URL box, paste in https://voiceflow.github.io/demo-site-beaver-realty/sitemap.xml
, then click Continue. You’ll see the URLs that will be imported, click the Import URLs button to import their content into your agent’s Knowledge Base.

You should now see all of the URLs that were imported into your agent’s Knowledge Base. If you click on one of the data sources, you’ll see the content that was imported.

Congratulations! You just taught your AI agent new things! Next up, we’ll learn how to query the content of the knowledge base.
Learn more
You can learn more about Voiceflow’s Knowledge Base in our docs. If you’re interested in automatically importing data into Voiceflow’s Knowledge Base, check out this video showing how you can sync data from Notion via n8n.
Also, heads up! Voiceflow’s built-in tools for adding data sources are best for unstructured data, like Q&As. If you have structured data, such as product data, we recommend using the Table Data API to import it. We also built an example product importer for Shopify and WooCommerce - its code is open source.
Resources
Build AI Agents for customer support and beyond
Ready to explore how Voiceflow can help your team? Let’s talk.
