Skip to main content

Triggers and conditions

Triggers​

TriggerWhen it runs
A case is createdFor every new case, from a form, a portal, the API or logged by an agent, right after it's created and before the confirmation email and the notifications to agents. A held request runs when an agent accepts it.
The customer repliesEach time the requester writes, on their case page or by email.
On a scheduleEvery 5 minutes, over the cases in the unit that aren't closed or held.

[!IMPORTANT] Scheduled rules are for time: they need at least one time condition, and time conditions only work on scheduled rules.

A scheduled rule acts on a case once per situation. It acts again only when the time it measures from changes, for example when the requester writes again or the status changes. Each run looks at up to 500 cases per rule.

Conditions​

Add condition offers them in groups.

ConditionCompares
Unitis in or is not in a unit (including the units below it).
ChannelWhere the case came from: Web form, Portal, Agent (logged with New case) or API.
FormWhich form the case came from.
Priorityis, is not or is at least a priority.
StatusThe case's status.
LabelsThe case's labels include or don't include a label.
Assigneeis nobody, is someone, or is a person.
Team queueis or is not a team, or is no team.
Requester emailis at domain (subdomains count too) or is one of the addresses you list.
Requester languageThe language of the requester's emails.
AccountThe requester's account is, is not, is set or is not set.
Account labelsThe labels on the requester's account.
Subjectcontains any of or contains none of the words you list.
Subject or messageThe same, over the subject, the form answers and the requester's last five messages.
Form fieldOne answer, by its key: is, is not, contains, is filled in or is empty.
ServiceWith Service Configuration: the case's service is, is not, is, or is an offering of (a service and everything under it), is set or is not set.
Case property, Requester property, Account propertyOne of your data properties, picked by name: is, is not, contains, is filled in, is empty, and for numbers and dates is more than and is less than. The value follows the property's type: an option, yes or no, a date. For multiple choice, is matches when the option is one of those picked.

For lists of words or addresses, separate them with commas. Comparisons ignore upper and lower case. Form field offers the fields of all your forms, the ones on portals among them; for a dropdown or checkboxes you pick one of its options, and a checkboxes answer matches when any ticked option does.

Time conditions​

For scheduled rules only:

ConditionIs true when
Time since createdThe case is older than the hours you set.
Customer waiting for an answerThe request, or the requester's latest message, has waited longer than the hours you set for a reply from your team.
Time in current statusThe case has had its status for longer than the hours you set.
Next SLA targetis due within the minutes you set, or is overdue. See Service levels.