A trigger in Tidio is a chatbot node that tells the bot when to start. Each new bot's workflow always starts with a trigger.
In this article, you'll learn:
Adding a Trigger
The main idea behind building the bots is to create maps that show the chat what to do exactly and when. A trigger tells the bot when the workflow starts.
So, the first step in creating a bot is to choose a correct trigger that will tell your bot when to start.
In Tidio, triggers are divided into three categories:
- Launched by visitors (by action they made on your page)
- Launched by operators (when you start it)
- By clicking the buttons or typing with the bot
Once you have the starting point specified, you can add and connect the actions that should take place after the trigger has occurred. Since the grid shows the logical chain of events, the actions must be connected in chronological order. The line connecting them needs to be drawn from the action to the reaction that follows.
The basic scenarios usually consist of a trigger and the following action, but you can also build more complex reactions using conditions. Conditions filter out the path for the actions, targeting things like the country, operating system, or even specific names. Each condition branches out with a Yes and No path, allowing you to set a different action for each path.
Launched by Visitors
First visit on site
The bot starts when a new visitor lands on your website for the first time.
Mouse leaves window
The bot starts when the visitor's mouse pointer leaves your website window for more than 5 seconds.
The bot starts when the visitor fills in the form and then leaves it.
Visitor opens a specific page
The bot starts when the visitor opens a page you specified inside the trigger.
Visitor clicks on chat icon
The bot starts when the visitor clicks on the Tidio chat icon visible on your website.
Visitor returns to the site
The bot starts when the visitor returns to your site (is not a new visitor).
The bot starts with a new event. The event can start directly from API, or you can activate automated events in your settings.
The visitor hasn't contacted you for some time
The bot starts when the visitor hasn't contacted you back for a specified time. The bot will work only if the visitor has left you an email address.
On certain days
The bot starts only on the specified days.
Launched by Operators
Operator doesn't respond during the conversation
The bot starts when an operator is already assigned to a conversation but hasn't responded for a specified amount of time. If conditions are met, the to can trigger once per hour.
Operator doesn't take the conversation
The bot starts when the operator hasn't opened a new incoming chat (it remains unassigned). If conditions are met, the bot can trigger once every 24h.
Operator starts the chatbot
The bot starts when the operator triggers the bot during a chat conversation. The bot will take over the conversation.
Operator leaves a conversation
The bot starts when the operator clicks on the leave button in the chat conversation.
By clicking the buttons or typing with the bot
Visitor clicks the bot button
The bot starts when the visitor clicks on the bot button. The bot button is a chatbot icon visible in the Tidio chat widget.
The bot starts based on the defined phrases or words (NLP - Natural Language Processing)
Instagram - Story Reply
The bot starts when a visitor replies to your Instagram story.