Categories
Print

Action Block: Trigger

Trigger action block acts as a starting point for the bot to initiate the conversation with the visitor. By default, the bot is triggered to appear and initiate the conversation without any condition.


As a business, you may build multiple bots using the no-code bot builder. Now, deciding which bot is to be shown becomes a challenge. This is where the trigger action block comes in, the user can define rules with which a bot needs to be used.



The three ways you can define this rule are,


  • * Date Range – If you want the bot to trigger on a specific date or on selected days
  • * Browser Language – If the visitor has set their browser language to what you have defined 
  • * URL – If the visitor lands on specific URLs. You can even include/exclude group of URL


How do I set it up? 


Step 1: Trigger action block is always the first action block to be present on the bot builder canvas by default. 


Given its importance in defining the conversation flow, it cannot be deleted or cloned


Step 2: Configure it on the right panel


Click on ‘Trigger action block’ to open up the configuration panel on the right side of the screen. Here you will be able to see three rules:


  1. 1. Date range 
  2. 2. Browser language
  3. 3. URLs


You can follow the following steps to configure the trigger conditions for your bot: 


Step 2.1: Choose the operator


With i-genie you have the ability to choose one operator from 2 available operators. they are: 


ANY: Using this operator you can command the bot to trigger if any one of the specified condition is ‘true’ 


ALL: Using this operation you can command bot to trigger only when all of the specified condition is ‘true’



Step 2.2: Define the condition for the bot to trigger


You can set one or all following conditions for the bot to trigger. 


By date range: 


This would allow you to trigger the bot only on a specific date or range of dates. In-order to select the date range, click on “drop down arrow”


Once you click on it, a calendar will appear which will allow you to select a specific date range. For instance, if you want a bot to trigger only at the time of festivals like Christmas or Diwali to promote a special offer.


Past dates will be disabled


By browser language: 


This will allow you to set the condition for the bot to trigger when the user is accessing the website with their browser language set to the one which is selected here. In-order to set the condition, click “drop down arrow” 


Once you click on the same, the list of languages will be displayed from which you can select based on your preference


You can select as many languages as per your preference


By URL


Using this condition, the user can define a bot to trigger on specific web pages of their website where the code snippet is added..


For instance: if the user wants to trigger bot only on a specific page, then the user can just mention the respective page name after “/” as shown in the above screenshot. 


i-genie allows users to define upto 50 path name of webpage that user would like to include or exclude. In-order to do so, you need to click on “+ URL” button


i-genie also allows the user to define the regex if there are multiple pages that need to be included.k


Store / Inject values into Variables: 


i-genie allows the users to map the parameters or inject the data into our code snippet & store the data in the variables which can be later used in the flow. This also allows the user the bring in personal touch while interacting with visitor


You can define more variables as per your requirement by clicking on “+ Add Another”