Skip to main content
About the Resource Center

Control knowledge behavior in your voice or digital bot flow

Add knowledge to your voice or digital bot flows to create FAQ-style bots. To add knowledge, create a knowledge base in the knowledge workbench and then link it to your voice or digital bot flow. You can also select an existing knowledge base from within in Architect, or you can open the knowledge workbench from Architect and then create and build a new knowledge base. Find the Knowledge section from the Architect’s Natural Language Understanding menu.

This article describes examples and recommended practices that control how the knowledge behavior occurs from start to finish in your voice or digital bot flow. For more information about how to create question and answer pairs, and how to add knowledge to your flow, see Add knowledge to your bot flow.

Custom knowledge handling overview

When you use the custom mode to configure advanced knowledge handling, you can manually decide how to handle knowledge and then configure behavior according to your business needs. For example:

  • Introduce an answer article
  • Loop articles in cases of disambiguation
  • Link to the category or label within the knowledge article
  • Gather feedback

You can design a reusable task that runs immediately after it matches one or many knowledge articles. The actions that trigger this reusable task are Wait for Input or a Digital Menu. The reusable knowledge task gives you more control to adapt the flow behavior from start to finish and then decide when to show the knowledge article, disambiguation, and feedback.

For example, you can store the matched knowledge articles, which the bot would typically use in the knowledge handling, as a flow variable by an Ask for action. Then you can decide what happens next in the designated task and control the customer journey.

Note: To trigger the reusable knowledge task, you must use a Wait for Input action or a Digital Menu action.

Custom knowledge handling process and results

The participant provides an utterance or phrase. The bot checks to see if the utterance has a high confidence on one article, or on many articles. In cases of disambiguation, the digital bot flow loops through a presentation of tiles for each knowledge article, and then loops through the articles by category until the participant confirms their intent. Then, the flow can run a Send Knowledge Feedback action after the article appears to capture positive or negative feedback, which gives you more control around knowledge configuration.

How you control knowledge differs, depending on whether you use a digital bot flow or a voice bot flow.

Control knowledge in digital bot flows

The following process describes how you can use advanced, refined knowledge handling in digital bot flows and provide your customers with more accurate results.

  1. Switch to Custom mode to configure custom knowledge logic.
  2. Create a variable in which to store search results.
  3. Create the custom knowledge reusable task.
  4. Add a Decision action to the reusable task and configure the Yes path.
  5. Configure the No path for the reusable task’s Decision action.

Control knowledge in voice bot flows

The following process describes how you can use advanced, refined knowledge handling in bot flows and provide your customers with more accurate results.

  1. Switch to Custom mode to configure custom knowledge logic.
  2. Add and configure an Ask for Intent action in the appropriate task, typically the Starting Bot.
  3. Select the knowledge path and choose the value in which to store knowledge search results.
  4. Configure the knowledge path for the Ask for Intent action.