Set Up Bot Triggers

Learn how to set up bot triggers on DoubleTick. Define conditions like keywords, events, or user interactions to automate responses and customer support.


  • Triggers in bots are events that activate the bot to respond or carry out a task.

  • They can be activated by different conditions, like words typed by users, special commands, timing, or interactions with specific parts of a chat interface.

  • Triggers kickstart bot interactions with users, providing services through automated responses. They're essentially the beginning of the bot's journey, starting the conversation.

Doubletick provides various triggers to improve bot performance and engagement 👇


1. Lead from CTWA (Click to WhatsApp Ads)

The "Click to WhatsApp Ads" trigger activates when customers interact with advertisements on Facebook where WhatsApp is configured, prompting responses or workflows within a bot.


2. On Agent Assign

This trigger activates each time a chat is assigned to an agent, whether it's manually assigned or automated. The bot will activate immediately upon an agent being assigned to any chat.


3. On Attribute Change

Here attribute refers to Customer attributes; are details linked to a specific customer, such as preferences or demographics. They help personalize interactions and improve customer service. These attributes also aid in segmentation for targeted marketing efforts.

The "On Attribute Change" trigger comprises three features:

  1. On Set First Time: This triggers when an attribute is set for the first time for a customer.

  2. On Changed Anytime: This activates whenever there's a change in the attribute value, regardless of whether it's the first time or subsequent changes.

  3. On Removed: This trigger initiates when an attribute is removed or deleted from a customer's profile.


4. Close Conversation

The trigger activates each time a conversation is marked as done. This can be done manually by agents or automatically through the "Close Conversation" action.


5. On Message

  • The "On Message" trigger involves setting specific keywords. When these keywords are used by the customer in a message, the bot will be triggered.

  • To trigger the bot via keyword, the customer must select or enter the exact keyword as set in the "On Message" configuration

  • In the "On Message" configuration, there's an option for "Partially match." When enabled, the bot will trigger even if the keyword is part of a sentence. However, it won't work for spelling mistakes.

  • You can add multiple keywords to trigger the bot by clicking on the "Add Keyword" button.


6. On New Lead

Upon receiving a new lead, the "On New Lead" trigger activates each time a new lead messages your WhatsApp API number. This trigger specifically applies to customers initiating contact for the first time, prompting the bot to engage with them


7. On New Row Google Sheet

When enabled, the 'On New Row Google Sheet' trigger integrates your Google Sheet with the bot. Whenever a new row containing customer data is added to the Google Sheet, the bot will be triggered.

Ensure to include the customer's phone number in the Google Sheet, along with the country code. Failure to do so will result in the bot malfunctioning


8. On Template Delivered

When activated, the 'On Template Delivered' trigger operates each time a template message is sent to customers, whether through a broadcast or individual sending. Regardless of the method, whenever the specified template is delivered, the bot will be triggered.


9. On Webhook

A webhook is a method for receiving real-time data notifications from external sources, allowing systems to communicate and trigger automated actions based on these events. It serves as a bridge between different applications, enabling seamless integration and streamlined data exchange.

To use the "Webhook" trigger, you must copy and integrate the DoubleTick webhook into your web application to capture responses. Once integrated, make a call to the URL and click the "Capture Response" button to display the response.

The bot will trigger each time a new response is received via the webhook


Last updated