Keywords

Kacper Wiacek Product Expert Lead
Kacper Wiacek
3 min read
updated: Dec 4, 2024

When you expect your client to use a specific word or a phrase, use Keywords. This query matching system is excellent when you want an interaction triggered precisely by a word or phrase without considering the whole query.

When to use Keywords

  • When you expect the user to say a specific word or a phrase.

  • When you’re interested in one very specific word.

This article refers to the matching systems used in the User Input interaction. If you want to learn more about the new, AI-backed matching system, learn more about the AI Assist feature here.
This article refers to the matching systems used in the User Input interaction. If you want to learn more about the new, AI-backed matching system, learn more about the AI Assist feature here.

Good to know:

  • Keywords are alternative matching systems.

  • The matching system is configured individually for every user message.

  • The system searches only for keywords and ignores the rest of the query.

  • If there are more matching systems available, keywords won’t be prioritized.

How to use KeywordsLink icon

The keyword matching system doesn’t analyze the whole user input but focuses on searching words on phrases defined in the user says. The Confidence Score error margin isn’t applied to this system so only precisely the same words are matched.

  1. Create a new User Input or open the existing one.

  2. Click the Add keyword button and fill out the input with your keyword.

  3. Your user input will be triggered whenever a user types this keyword in the ongoing chat.

To trigger the User Input, the user needs to be in the same conversation context.
To trigger the User Input, the user needs to be in the same conversation context.

Usage exampleLink icon

The best way to explain the behavior of keywords is to use an example. Imagine that you own a small food truck business, and your bot takes food orders. One of your most famous menu options is a hot dog.

With the updated keywords system we can take orders in a more precise way. Let’s check out some of the cases!

Now let’s see if the marching is successful using various user input:

  • The client types: I would like to have a hot dog?
    ✅ This is perfect matching as our bot could find bot keywords.

  • The client types: Can I have dog hot?
    ✅ That’s pretty clumsy way to make an order but yes, our bot understands queries in reverse order.

  • The client types: Can I have hot a dog?
    ✅ The bot accepts maximum one word between our keywords. The bot takes the order.

  • The client types: Can I get dog jdhgf hot?
    ✅ Probably a cat run through the keyboard. The bot will understand the query as there’s one allowed word between keywords and the bot accepts reversed order.

  • The client types: Can I get a hut dog?
    ❌ The order won’t be taken. There’s a typo in the word hot.

  • The client types: Can I come with my dog. It’s really hot outside.
    ❌ Too many words between our keywords. The bot won’t recognize the query.

  • The client types: Can I have a hot dog, I’m so hungry.
    ✅ The bot will take the order. The punctuation at the end of the keyword is accepted.

  • The client says: Can I have a hot-dog?
    ❌ The bot won’t recognize these keywords. Two words with a punctuation mark in the middle are considered as one word.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products