Automation Rule Components
Each automation rule contains the following components:Events
Automation Events serve as triggers for when you want your automation to be executed.Conditions
Conditions are the criteria that are verified before executing the action. The conditions are evaluated in the order they are defined.Actions
Actions are tasks or processes that are executed when the conditions are met.Create Automation Rules
To create an automation rule, follow these steps:- In the Live Agent interface, go to Settings > Automation.
- In the upper-right corner, click + Add Automation Rule.
- In the Rule Name field, enter a unique name for the rule.
- In the Description field, enter a relevant description for the rule.
- From the Event list, select the desired event.
- In the Conditions section, set up a condition:
- Left operand — select a condition type.
- Operator — a comparison operator that checks whether the value of the left operand is
Equal toorNot Equal tothe value of the right operand. - Right operand — select values corresponding to condition types. For example, if you choose
Statusas a condition type, you can add multiple statuses, such asOpen,Pending,Resolved.
- (Optional) Add an additional condition by clicking + Add Condition. Repeat the same steps as you did for the first condition and select one of the following operators:
- AND — all conditions must be true for the overall condition to be true. For example,
Condition A AND Condition Bmeans that bothCondition AandCondition Bmust be true to trigger the action. - OR — at least one of the conditions must be true for the overall condition to be true. For example,
Condition A OR Condition Bmeans that if eitherCondition AorCondition Bis true, the action will be triggered.
- AND — all conditions must be true for the overall condition to be true. For example,
- In the Actions section, select an action. Note that you need to provide additional information depending on which type of action you selected. For example, if you select Send an email to a Team, you need to choose a team and write an email template.
- (Optional) Add one more action.
- Click Create.
Example
You can use multiple conditions with theAND or OR operator as in the example below.
When Agent Copilot is active, and a new conversation is created with the Open status, the conversation is assigned to a team.
- Name: Sales
- Description: This automation assigns new Open status conversations to the Sales team.
- Select the event as Conversation Created.
- Add two conditions and combine them using the
ANDoperator:- Condition 1: Check if the Conversation Status is Open.
- Condition 2: Verify that the Inbox is set to AI Copilot bot-default selected from the dropdown menu.
- Add an action: Assign the conversation to the Sales team by selecting it from the dropdown menu. Make sure the Sales team is created before executing this action.
