🗣 Product update alert!
This feature is now called Smart Search, and it has its own block and its own Answer. Check out our user guide to learn more.
Article Quick Links:
With use of the HTTP Request Block, your bot can provide curious chatters with a list of relevant articles from your knowledge base. The Knowledge Base Search is a graceful fallback when a Question falls outside of your bot’s Training. Knowledge Base Search helps chatters get access to more information as soon as it becomes available.
In order to set up the Knowledge Base Search, you will need:
- Personalization (HTTP Request Block)
- Conditional Block
- A knowledge base solution with an API, such as Zendesk Guide.
Set Up the Request Block for the Knowledge Base Fallback
Follow the steps below to ensure that when a “Not Understood” Answer is surfaced, your bot will respond to the chatter with 3 relevant support articles.
- Open up your “Not Understood” Answer.
- Insert the HTTP Request Block into your Not Understood Answer, just below the Text Block.
- Add the knowledge base endpoint API in the URL section.
For example, the Zendesk Guide API endpoint you should use is:
Include your specific subdomain in the URL. For more information on this step, see this article.
If you are using a different knowledge base, please insert the API endpoint that applies.
- To ensure your bot surfaces articles directly related to the chatter’s question, insert a Meta Variable for last_question_asked in the URL. For a refresher on Variables, check out our article on Variables.
- Next, choose a basic Error Answer, with a message such as “Try again with different words.” This error message will only be served if there is an error in the flow configuration.
- In the Save as Variable section, you’ll need to create and insert the Variables that will help surface 3 articles to the chatter. Each article requires a Variable for the article URL. You will need to manually create three Variables by clicking the green plus button. Please copy the example we have provided below.
The variables you will need are:
In the Data Key section, you’ll need to mirror the inputs we have delineated below.
- Next, add in 3 Conditional Blocks.
For the first condition and value the Variable should meet, set it up so that the html_url Variable is not null. This means that if at least the first article is surfaced from the API call, this flow will proceed.
Within the first Conditional block, insert the Link Message block.
In the URL field, insert the variable for html_url. The link text and the title will be auto-generated.
Make sure that Generate Preview and Open in a New Window are both toggled on.
Next, you will need to insert a fallback message after this initial block. This message will only be served to chatters if there are no articles that match their last message.
- The second Conditional block should also include a Link Message Block, and the variable you created for html_url2. The third Conditional Block should mirror this format, but with the html_url3 variable in the URL field.
When a chatter asks a Question that your bot has not been trained to answer, they will receive a list of relevant articles from your knowledge base, as illustrated below.
If you are interested in upgrading your bot to allow for this functionality, please reach out to your ACX Consultant, Account Manager, or email@example.com.
Have any questions? Contact your Ada team—or email us at firstname.lastname@example.org.