2.05 How to trigger actions using keywords
There are two ways in which a particular conversation can be triggered:
- A conversation can be triggered Manually through jump from other conversation
- Or Automatically through some keywords or phrases
Triggering actions through some keywords can be a important way to provide relevant answers to users queries.You can set up the triggering actions at the top of each conversation module.
You can also assign multiple keywords to the rules, simply press
ENTER or
comma after typing each keyword to add a new one.
There are 3 rules you can set up to activate a conversation automatically using keywords:
- User message Is rule is a exact match
Conversation will only be triggered if the user's message matches exactly with the keywords/phrases added in the criteria. If there are any additional words, letters, or symbols, conversation will not be activated.
The matching criteria is not case sensitive, hence the bot would recognise 'Subscribe', 'SUBSCRIBE' and 'subscribe' the same way.
- User message Contains rule is a flexible match
This rule enables the bot to recognise the keyword in sentences or phrases. For example, if the Keyword is "Subscribe" and a user types "How can I subscribe to daily updates" - the automated message will still be triggered.
If the user types two keywords in one message, the bot will fire the conversation only once.
- User message Matches Regex rule helps you map complex regex criteria
You can write complex regex rules to make matching more efficient. For example, (?!un)subscribe expression will match only if the user types 'subscribe'. The conversation will not trigger if the user types 'unsubscribe'
When the bot doesn't recognise any keywords in the user's message, the 'FallBack' system conversation is triggered - you can edit the fallback conversation in Chat Flow > Conversations > Fallback
Hope this helps you make your bot even smarter!
Related Articles
2.09 How to jump from one conversation to another
How to jump to other conversations? Morph.ai platform provides you three ways to jump from one conversation to another. Buttons and Quick responses Not applicable for WhatsApp You can add Conversation type buttons and QRs in message blocks (Covered ...
[Facebook] How to build an E-commerce Chatbot
??This article will help you create a E-commerce bot for online stores that can be connected with your ad campaigns. Morph.ai platform helps you create your own E-commerce bot by following some simple steps using a E-commerce template. This ...
[Facebook] How to build a Real Estate Chatbot
?This article will help you create a Real Estate bot that can be connected with your ad campaigns and helps you get more contactable leads. Morph.ai platform helps you create your own Real Estate bot by following some simple steps using a Real ...
[Facebook] How to build an Education Chatbot
???This article will help you create an Education bot that can be connected with your ad campaigns and helps you get more contactable leads. Morph.ai platform helps you create your own Education bot by following some simple steps using a Education ...
[Facebook] How to build a Lead Generation Chatbot
Are you a small-business owner and want to increase your lead count by using personalised interactions to improve user engagement and drive sales at scale? Are you looking to bring your targets from ads on multiple platforms to an engaging automated ...