Use a KB

Learn how to put your knowledge base to work in NLX

Knowledge base content is useful for responding to user utterances that would not be a match to a flow but are common questions or requests for information that you want to support.

You may choose to create one central flow dedicated to responding with your knowledge base content whenever an utterance is logged as unknown (i.e., unmatched to a flow or assigned variable), or strategically trigger it in others flow with carefully placed Knowledge base nodes.


Invoke in a flow

  • Navigate to Flows in the workspace menu > Select a flow or add a new flow

  • Add a Knowledge base node to the Canvas > Provide a name for reference locally in the flow

  • Assign a Knowledge base implemented in the workspace to the node

    • If you have provided Metadata to your Knowledge base, you may enter IF comparator statements = to provide a filter(s) whenever the node is hit

    • If you want to support citations, follow setup here

  • Link a Basic node from the Knowledge base node's Match edge > Enter the placeholder name given and the answer {"yourKBname".answer} as a message on the Basic node

  • Proceed from the Basic node to the rest of your flow or redirect to another flow

  • Click Save

If creating one central flow to handle unknown responses, assign your flow to your application's Unknown default behavior:

  • Navigate to an application in your workspace > Click the application's Default behavior tab

  • Under Unknown behavior, toggle from Quick replies to Flow

  • Select your custom flow where your Knowledge base is invoked

  • Click Save

  • Create a new application build and deploy through the application's Deployment tab to experience your new knowledge base

Last updated