Summary
Rule-based automation in Wati helps you automatically perform tasks based on specific events and conditions. By creating rules, you can trigger actions such as sending messages, updating information, or responding to customers without manual effort.
Each rule in Wati is built using three core components: Triggers, Filters, and Actions. This guide explains what these components mean and walks you through how to create your first automation rule.
Instructions
Understanding the building blocks of a rule
Rule-based automation works by connecting three elements that define when, why, and what should happen.
Trigger
A Trigger is the event that starts the automation.
Examples of triggers include:
A new message is received
A contact attribute is added
A contact attribute is updated
When this event occurs, the rule begins to run.
Filter
A Filter defines the conditions that must be true for the rule to continue.
Filters help you control when the automation should apply. For example, you may only want the rule to run if a message contains a specific keyword or if a contact attribute has a certain value.
Action
An Action is the automated task that Wati performs after the trigger occurs and the filter conditions are met.
Examples of actions include:
Sending a template message
Updating contact attributes
Assigning a conversation
Steps to create a rule
Follow these steps to create your first automation rule in Wati:
1. Go to automation rules
Navigate to the Automation page.
Select the Rules tab from the left panel.
2. Create a new rule
Click Create new rule.
Select the Trigger you want to use.
3. Open the rule builder
After selecting a trigger, you will be taken to the Rule Builder page. Give an appropriate name for your rule before proceeding.
The Rule Builder allows you to configure the three components of your rule:
Trigger
Filter
Action
For this example, we will use the trigger New attribute is added to a contact.
4. Configure the trigger
Click the Trigger block.
Select the contact attribute you want the rule to monitor.
5. Add and configure the action
Click the Action block.
Choose the action you want the rule to perform.
For this example:
Select Send template message.
Choose the template you want to send automatically when the rule is triggered.
Wati will continue to add more automation actions over time to support additional use cases.
Example rule
Here is a simple example of how a rule works.
Scenario:
A new attribute
countryis added to a contact.The attribute value contains the word "india".
Result:
Wati automatically sends a predefined wati_test template message to that contact.
This type of automation helps businesses instantly respond to customers based on their information or activity.
Frequently Asked Questions (FAQs)
Rule-based automation overview
1. What is rule-based automation in Wati?
Rule-based automation in Wati allows you to automatically perform tasks based on specific events and conditions. By creating automation rules, Wati can trigger actions such as sending messages, updating information, or responding to a customer without manual effort.
2. What are the core components of a rule in Wati?
Each rule in Wati is built using three core components: Trigger, Filter, and Action. These components define when the automation starts, the conditions that must be met, and the task that will be performed.
3. What is a trigger in a Wati automation rule?
A trigger is the event that starts the automation rule. When the trigger event occurs, the rule begins to run. Examples of triggers include receiving a new message, adding a contact attribute, or updating a contact attribute.
4. What is a filter in a Wati automation rule?
A filter defines the conditions that must be true for the automation rule to continue. The rule only proceeds when the specified conditions are met, such as when a message contains a specific keyword or when a contact attribute has a particular value.
5. What is an action in a Wati automation rule?
An action is the automated task that Wati performs after the trigger occurs and the filter conditions are satisfied. Examples include sending a template message, updating contact attributes, or assigning a conversation.
Creating automation rules
6. How do you navigate to the automation rules page in Wati?
To navigate to the automation rules page in Wati:
Go to the Automation page.
Select the Rules tab from the left panel.
7. How do you create a new automation rule in Wati?
To create a new automation rule in Wati:
Go to the Automation page.
Select the Rules tab.
Click Create new rule.
Select the trigger you want to use.
8. What is the Rule Builder in Wati?
The Rule Builder is the page where you configure the components of an automation rule. In the Rule Builder, you can give the rule a name and configure the Trigger, Filter, and Action blocks.
9. How do you configure the trigger when creating a rule in Wati?
To configure the trigger in the Rule Builder, click the Trigger block and select the contact attribute that the rule should monitor.
10. How do you configure an action in a Wati automation rule?
To configure an action in the Rule Builder, click the Action block and choose the action the rule should perform. For example, you can select Send template message and choose the template that should be sent automatically when the rule is triggered.
Example automation scenario
11. What is an example of a rule-based automation in Wati?
An example rule works as follows: a new contact attribute country is added to a contact, and the attribute value contains the word india. When this trigger condition occurs, Wati automatically sends the predefined wati_test template message to that contact.
12. How does rule-based automation help businesses?
Rule-based automation helps businesses respond to a customer instantly based on the customer’s information or activity. This reduces manual effort and ensures faster responses.







