🎯 “Mastering Bot Triggers: Exact Match vs. String Match Keywords”

📚 This is a quick tutorial where I’ll break down the difference between string match and exact keyword match for bot triggers.

💡 PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

This guide breaks down the difference between Exact Match and String Match keywords, helping you optimize your bot’s responses and improve user interactions. Learn how to use these keyword types to make your chatbot more precise and responsive to user queries.

Bot triggers are the conditions that activate automatic responses based on user inputs. Understanding the difference between exact match and string match is crucial for setting up precise and effective responses.

Setting Up Your Bot in BotCommerce #

Log in to your BotCommerce account.

Navigate to the “Bot Manager” and click on “Create,” which will redirect you to the visual drag-and-drop flow builder.

In the sidebar flow, select the “Exact Keyword Match” option.

Enter keywords such as “hello,” “hi,” and “start.”

Provide a title for the chatbot flow and save the changes.

Provide a text reply for the keywords and save the changes.

Save the bot configuration.

Text the bot with the exact keywords you added (e.g., “hello”). The bot should reply correctly.

Text the bot with a slight variation (e.g., “yellow”). The bot should send a “no match” reply since it doesn’t match the trigger words.

In the sidebar flow, select the “String Match” option.

Enter trigger words such as “greet” and “assist.”

You can also add individual letters or partial words.

String match works by triggering the bot if any part of the user’s message contains the specified string.

Test with Partial Keywords:

Text the bot with messages containing parts of the keywords (e.g., “hello” for “hl” or “assist” for “assistance”). The bot should reply correctly.

Text the bot with the exact keywords. The bot should still trigger correctly.

Exact Keyword Match: Triggers only when the exact specified words are used.

String Match: Triggers if any part of the user’s message contains the specified string, offering more flexibility.

For any questions or further assistance, please feel free to contact our support team. We’re here to help you optimize your bot’s performance and ensure a seamless user experience.