Helpdesk triggers
Create event-based rules that run when a ticket is created or updated, to set priority, team, tags and notes, with conditions, order and testing tips.
Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.
A trigger is a rule that runs the moment something happens to a ticket. If a condition is true, it carries out actions. Use triggers to route tickets, tag them and raise priority, so people spend their time answering and not sorting.
Triggers react to events. For rules that depend on time passing, use automations.
Create a trigger
- Open Helpdesk > Settings > Triggers.
- Select New trigger and enter a name, for example
Route billing questions. - Choose the Event.
- Add Conditions.
- Add Actions.
- Turn the trigger on and select Save.
You should see the trigger in the list with its position number.
Events
| Event | Runs when |
|---|---|
| Ticket created | A new ticket arrives from the agent, email, API or a team member. |
| Ticket updated | Any field changes, such as status, priority or team. |
| Customer replied | The customer sends a new message. |
| Team replied | A team member sends a reply. |
| Rating received | A customer answers a satisfaction survey. |
Conditions
Conditions work like filters. Combine them with All or Any. Useful properties include channel, subject, message text, tag, priority, contact attributes, custom fields and whether the ticket came from the agent.
Example: Event is Ticket created, subject or message contains invoice or charge, channel is Email.
Actions
- Set status, priority, team or assignee.
- Add or remove tags.
- Set a custom field.
- Add an internal note, for example "Matched billing trigger".
- Send a macro reply.
- Notify a person or team by email, or post to Slack.
Order and loops
Triggers run top to bottom. If two triggers set the same field, the later one wins. Drag triggers to reorder them.
A trigger on Ticket updated can cause another update. To avoid loops, add a condition that stops it, such as "Tag does not have billing" before an action that adds that tag. A trigger runs at most once for each change.
Warning: Keywords are blunt. A rule on
chargealso matches "no charge", so test conditions on real tickets before you route on them.
Test a trigger
- Create a test ticket by escalating from the Playground with a matching message.
- Open the ticket's Activity tab.
You should see an entry naming the trigger and each change it made. Rules that did not match are not listed. If yours is missing, compare the ticket with each condition in turn.
Maintain triggers
Name triggers after what they do, and add a note in the description about why they exist. Review them every quarter. Turn one off before you delete it and wait a week to see if anything breaks.