yes or no responses.
This feature is useful for straightforward use cases where you need exact control over how the system recognizes affirmations
(yes, yep) or negations (no, nah).
Unlike machine learning-based intent matching, confirmation words rely on explicit, user-defined terms.
The agent matches user input directly against your list, ensuring predictable behavior without requiring extensive training.
Key benefits
- Simple and precise. Confirmation words work well for small, predictable sets of responses.
- Fully customizable. You decide which words trigger
yesorno.
Restrictions
- The agent recognizes only exact matches or predefined synonyms from the Confirmation Words list.
- The agent doesn’t adapt to new confirmation word variations unless you add them yourself.
How to use
You can apply confirmation words globally across all flows in a project or customize them for a specific flow.- Project-level settings
- Flow-level settings
To use confirmation words for all flows, do the following:
- In the navigation menu, go to Manage > Settings.
- On the Settings page, click NLU Settings.
- In the General Flow Logic section, select Confirmation Words from the Yes/No Logic list.
- In the Positive Confirmation Words and Negative Confirmation Words fields, enter the words, one per line.
- Click Save.
How to test
Check that confirmation words work as expected using the Interaction Panel:-
In the existing flow, open the Interaction Panel by clicking the chat icon (
) in the upper-right corner of the page. - In the flow editor, add a Question node and select the Yes/No input type.
-
Run the flow by typing a test response that includes a word from your Confirmation Words list, for example,
yesornope. -
On the Info tab, select Input to view the Input object in JSON format. In the
input.typeobject, you’ll see the answer depending on the user input. Positive confirmation:Negative confirmation: