Automation and replies
Automation rules: triggers, conditions and actions explained
How automation rules work in ResolveDesk: when they run, what they check, what they do, in what order, and how to test them before they touch a ticket.
Last updated
An automation rule does routine triage for you. It says: when this happens to a ticket, and the ticket looks like this, do the following. Rules work on incidents and service requests. Who can do this: the Organisation Owner and Administrators, from Automation rules under Administration.
When a rule runs
Every rule names one moment, chosen in the When list.
| When | The rule runs |
|---|---|
| a ticket is created | Straight after an incident or request is raised, once its priority is set. |
| a ticket's deadline is at risk | When most of the resolution time has been used. This is the warning point of the ticket's service level. |
| a ticket's deadline is missed | When a response or resolution target passes. |
The For list limits a rule to incidents, to requests, or to both. A rule only runs for the moment it names, and at most once for each ticket and moment. That stops rules setting each other off in a loop.
Conditions: what the rule checks
Under Only if you can add conditions. Leave them all empty and the rule matches every ticket. When you add several, all of them must be true. The editor offers four:
- Priority is any of P1, P2, P3 or P4.
- Channel is any of portal, email, chat or phone. This is how the ticket reached you.
- Category is any of the categories you tick.
- Title or description mentions any of the words you type, separated by commas. A word matches if the title or description contains it, in any capitals.
Actions: what the rule does
Under Then, choose Add an action for each step. A rule needs at least one action and can have up to eight. They run from top to bottom.
| Action | What happens |
|---|---|
| Assign to a team | Sets the ticket's team. A new incident moves from New to Assigned, and the team's members are notified. |
| Assign to a person | Sets the assignee and notifies them. The person must be active and able to work tickets. |
| Set the priority | Changes the priority to the P1 to P4 value you choose. |
| Escalate | Raises the priority by one level, never above P1, and notifies the managers and the assignee. You can add a message. |
| Notify | Sends an in-app notification to the managers, the assignee, the members of one team, or any mix. You can add a message. |
| Add a task | Adds a task with your title to the ticket. You can pick the task's team; if you do not, it goes to the ticket's team. See fulfilment tasks. |
If a team or person named in an action has since been removed, ResolveDesk skips that action.
Order and stopping
Rules run in the order shown on the page, top to bottom. Use the arrow buttons on a rule to move it up or down. Tick Stop here: do not run later rules for this ticket and no lower rule runs once this one matches. The rule shows a Stops later rules badge.
Turn off pauses a rule without deleting it. You can have up to 100 rules.
Test a rule before you rely on it
- Select Try the rules.
- Fill in Title, optionally Description, then Kind, Priority, Channel and Moment.
- Select Check.
Each rule for that moment is listed as Would run or Would not run, with what it would do. Nothing is changed. The test does not ask for a category, so a rule that checks category shows Would not run here.
See what a rule did
Every rule card shows how many times it ran and when it last ran. On a ticket, the History card records each run, followed by what it did, such as routing the ticket to a team or setting a priority. Changes to rules are recorded in the audit log.
For a worked example, read how to route new tickets automatically. The automation rules overview summarises the feature, and roles and permissions shows who can open the page.