Trigger
Using the Trigger Action Block, your bot is always ready and eager to engage with visitors - proactively initiating conversations without any prerequisite conditions.
With no-code bot builder, businesses have access to a powerful and innovative way of creating chatbots. The trigger action block allows users to craft their own rules specifying when each bot should be used.
There are three ways in which you can define this rule:
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 a group of URLs.
Setting up the block:
There are two options available:
Add filters to trigger this bot only on certain condition(s): This option is provided in-case if you have multiple bots in your account. You can enable this option and define the conditions based on the bot’s flow is to triggered.
Store / Inject other values into variables: You can map the query parameters, or inject data to the code snippet via JSON payload to store the data into variables which later can be used in the flow.
Step 1: Trigger block is by default the first action block to be present on the bot builder canvas.
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:
Date range
Browser language
URLs
Follow the steps below to set-up the trigger conditions for your bot:
Step 2.1: Choose the operator.
With ReplyCX you have the ability to choose one operator from 2 available operators. they are:
ANY: Command the bot to trigger if any one of the specified conditions are 'true'.
ALL: Command bot to trigger only when all of the specified conditions are '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 the “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.
By browsing language:
This will allow you to set the trigger conditions 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 on the “drop down arrow”.
A list of languages will be displayed from which you can select as per your choice.
By URL:
Here the user can define a bot to trigger on specific web pages of their website where the code snippet is present.
For instance: if the user wants to trigger the bot only on a specific page, then the user can just mention the respective page name after “ / ” as shown in the above screenshot.
ReplyCX allows users to define till 50 path names of web pages that user would like to include or exclude. In-order to do so, you need to click on the “ + URL” button.
Users can also define the regex if there are multiple pages that need to be included.
Store / Inject values into Variables:
ReplyCX allows the users to map the parameters or inject the data into the code snippet & store the data in the variables which can be later used in the flow. This also allows users to bring in their personal touch while interacting with their customers.
You can define more variables by clicking on “+ Add Another”.
Last updated