Use knowledge sources with a chatbot

Available on plans:

Free

Pro

Advanced

 

Beta

This product is in open beta. It’s available for use but still in active development and may change.

You can connect Zapier Chatbots to your knowledge sources to ensure responses are focused on your business or project. The chatbot can use files or tables as its exclusive source of information for answers, and you can also set a custom response for when information cannot be found in the file.

 

Add knowledge sources

Knowledge sources can be files, webpages or table using Zapier Tables

Add a webpage Add files Add from Zapier Tables

Use a webpage

You can add a webpage as a knowledge source, and the chatbot will scrape the content and use it to answer questions.

  1. From the Chatbots home, click the name of the chatbot.
  2. Click the Knowledge tab.
  3. Click + Add source.
  4. On the Type section, click Webpage.
  5. Paste the page URL in the Public URL field.
  6. Click Add source. It may take a moment to sync.

Limitations

  • Maximum file size: 2MB.
  • Accepted file formats: .txt, .csv, .json, .pdf, .doc, .docx.
  • Maximum number of files: the number of files depends on your Chatbots plan.
  • Maximum rows for Zapier Tables: first 1,000 rows.

 

Note

Zapier Chatbots are not meant to perform analytical tasks. They are optimized to answer straightforward questions that your customers or users may have, such as "Do you deliver to Sydney, Australia?" If you want to gain insights about the content of a knowledge source or analyze a file, try using a Zapier Central assistant.

 

Sync your knowledge source

When you add Zapier or a webpage as knowledge sources, the chatbot will collect the information available at that time. If the knowledge source changes, you can sync them manually or schedule when they should be updated. Learn how to sync and set up a schedule for your knowledge sources.

 

Delete a knowledge source

To delete a knowledge source:

  1. In the Knowledge tab of your chatbot, click the Delete knowledge source icon , which will appear in the same field as the knowledge source name.
  2. Click Delete to confirm you want to remove the data source. It might take a moment to remove it.

 

Structure your files

Zapier Chatbots breaks knowledge source information into smaller chunks, so the chatbot can efficiently use the most relevant pieces of information during a conversation. Because of this, when using files, the most effective way to structure your knowledge source is to group related information together. See below how the chatbot will use information in different knowledge source types:

  • Structured data (such as CSV, JSON and Zapier Tables): the chatbot assumes information in the same row is related (this includes multiple columns). So information in cells A1, B1, and C1 would be grouped as a related chunk of knowledge for the chatbot.

  • Unstructured file (such as PDF, DOC and TXT): the chatbot looks for a double return space to indicate separate pieces of information. Placing related information within a paragraph together with the header can help improve answer accuracy.

 

Adjust chatbot behavior for missing answers

If the chatbot uses knowledge sources, you can define how it will respond when the sources do not contain answers that match a specific question. 

To change the missing answer behavior:

  1. In the Knowledge tab of your chatbot, click the When results are not found from the knowledge sources dropdown menu.
  2. Select an option from the dropdown menu:
    • Generate an AI response without knowledge source (default): the chatbot will generate a response using the connected OpenAI model. It will not use any additional context provided by any connected knowledge sources. 
    • Show a custom message: write a message that will be displayed if the chatbot cannot find an answer within any connected knowledge sources. 
Tip

You can use a custom message to send users to other sources of help, such as your contact form. 

Data retention

Zapier's Data Retention, deletion, and export practices vary depending on the product. Learn more about the specific guidelines for the product you're using.

 

Provide feedback and get help

Submit a feature request, provide feedback on existing features, or get help from the Zapier Chatbots team.

Was this article helpful?
6 out of 10 found this helpful