The default Autonomous Node in a bot’s Main Workflow contains a Search Knowledge Card that searches all Knowledge Bases by default. This means that a newly created AI agent is already equipped to search your Knowledge Bases.You can scope which Knowledge Bases the Autonomous Node searches using the Search Knowledge Card’s configuration menu:
Open the drop-down menu under Included Knowledge Bases.
Select whichever Knowledge Bases you want to include in searches.
Since your bot only references Knowledge Bases when they’re needed, they’re useful for de-cluttering your Autonomous Node’s prompt.
Since Standard Nodes don’t use AI to generate responses, they don’t consult your Knowledge Bases by default. To make your bot search your Knowledge Bases within a Standard Node, you can use:
Both of these Cards require the Knowledge Agent to work properly—make sure it’s enabled.
By default, neither of these Cards send their response to the user directly—instead, you can access the response by referencing turn.KnowledgeAgent.answer, then send it to the user manually.
If your Workflow has an Autonomous Node, your bot will generate an appropriate response when it doesn’t find an answer in the Knowledge Base. However, you can also program a custom response:
Add the following to your Autonomous Node’s prompt:
Copy
Transition when no answer is found in the Knowledge Base.
Now, your bot will activate the Transition Card whenever it doesn’t find an answer in the Knowledge Base. You can handle the transition however you want—for example, with a Node that sends a custom error message.
The exact query that was sent to the Knowledge Base
The results (including source name, content preview, amount of tokens used by the content, row metadata if the source is a table) if there are any matches
Using that information, you can try refining what’s sent to the Knowledge Base (or the sources themselves).
If you’re using an Autonomous Node to search Knowledge Bases, you can use the Inspect window to analyze your bot’s process when searching Knowledge Bases.