Connect ChatBot with KnowledgeBase app

Ada Lembicz Product Expert
Ada Lembicz
2 min read
updated: Nov 21, 2022
Learn how to add your KnowledgeBase Articles with AI Knowledge.
Learn how to add your KnowledgeBase Articles with AI Knowledge.

KnowledgeBase is customer support and effortless self-service software that helps you manage your customer education process. It encourages self-service so that your customers can solve their problems anytime and helps your support teams decrease the total support time. 

By connecting ChatBot to KnowledgeBase, your customers can receive article suggestions during the chat with the bot.

In this article, you will learn how to create a KnowledgeBase and ChatBot webhook and add it to the story.

How to create a webhook in ChatBotLink icon

  1. Go to the ChatBot dashboard and select your bot story or create a new one.ChatBot Dashboard

  2. Click on the Integrations icon at the top right corner.ChatBot Integrations

  3. Choose “Webhook” from the list.ChatBot Webhooks

  4. Confirm your selection by clicking on the “Create new webhook” button.Webhook configuration

  5. Fill in the form with the following details:

    Webhook name: KnowledgeBase

    Webhook URL: https://api.knowledgebase.ai/api/chatbot/answers

    Verification token: knowledgebase-verification

    Headers: X-Forwarded-License & your KnowledgeBase license ID/number

  1. Select Save.

How to add the KnowledgeBase webhook to your storyLink icon

  1. Add a User input and use the brackets symbol. Choose Any Entity to collect the whole user response. If there are any articles that match the user query, they’ll be returned as cards. 

undefined

  1. Add the Webhook block right after the User input block. Select the Webhook block and choose KnowledgeBase.

undefined

You cannot change the article title or contents that are displayed in the integration, but you can pick the image that is displayed along with the card. In order to set the image, you need to go to the Help Center section of the KnowledgeBase app and change the Preview image in the Appearance section.
You cannot change the article title or contents that are displayed in the integration, but you can pick the image that is displayed along with the card. In order to set the image, you need to go to the Help Center section of the KnowledgeBase app and change the Preview image in the Appearance section.
  1. Add a Bot response block in case no articles are found in your KnowledgeBase. Enter your response and select Add filter.

undefined

  1. Choose Add filter for the custom attribute. It should be configured as follows:

undefined 

  1. Save and close.
Remember that the integration will only return the top 3 articles, even though the search could yield more results.
Remember that the integration will only return the top 3 articles, even though the search could yield more results.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products