Before you start
- You need the Automation Rules write or manage permission to create or edit rules. Without it you see Access Restricted when you try to create a rule, and existing rules open in View Only Mode. Deleting a rule needs the manage permission.
- To email client contacts, open tickets or add Planner items for tickets, the matching integration (PSA) or data must exist first.
- To use Specific Companies scope, at least one company must exist.
Create a rule
Open Automation Rules
Fill in Basic Information
Configure the trigger
Add conditions (optional)
Add at least one action
Test the rule
Review and save
Basic Information
The Basic Information section is at the top left of the Setup step.Clean up Planner items for excluded companies
When you exclude a company, the Planner items the rule already created for it stay on the Planner. To remove them, open the saved rule and click Clean up Planner items under Scope.- The dialog lists the open Planner items this rule created for its excluded companies, with how many there are. Items you created by hand, items from other rules, and items moved to another company are never listed.
- Click Archive to archive every item in the list, or Cancel to leave them.
Trigger Configuration
The Trigger Configuration section is below Basic Information. Pick an Entity (what the rule watches) and a Trigger (when it checks).Entities
Triggers
The Trigger list depends on the entity.- Survey Response only offers Survey Response Received.
- Onboarding only offers Onboarding Event.
- Traffic Light (Traffic Light Review pilot tenants only) only offers Traffic Light Changes.
- CIPP finding only offers Scheduled.
- All other entities offer Date Threshold and Scheduled.
- Date Threshold
- Scheduled
- Survey Response Received
- Onboarding Event
- Traffic Light Changes
Traffic Light rules
Only tenants in the Traffic Light Review pilot see the Traffic Light entity. Use it to email people when a client’s Traffic Light changes.- The rule acts once for each client every time a change is saved: a new status, a status saved again with new details, or Purple set, updated or cleared. Weekly reviews do not trigger it.
- A bulk status update acts once for each client it changed, in a single run, so no client is emailed about twice.
- Add conditions to narrow it. For example, New Status equals Red with Change equals Status changed emails only when a client turns Red.
- Fields you can use: Client, Change, New Status, Previous Status (Not set for a client’s first status), Purple, Note, Reason, Owner, Next Review Date, Approved By, Changed By and Bulk Change.
- Use them in the email, for example
{{entity.company_name}} is now {{entity.status}} (was {{entity.previous_status}}). - Traffic Light statuses are internal, so Send To offers team members, role members and custom addresses, never client contacts, and Send Survey is not available.
- Run Test and Run Now are not available: the rule only runs when a change is saved.
Conditions (optional)
The Conditions section is at the top right of Setup. Conditions narrow the records the trigger selects. A rule with no conditions acts on every record the trigger selects, within the rule’s scope.Add a condition group
Add a condition to the group
Pick the field, operator and value
Choose AND or OR inside the group
Add more groups if needed
Fields
The Field list shows every condition field for the entity. It also shows your custom fields, marked (Custom), and for tickets any PSA user-defined fields, marked with the provider name, such as [Autotask UDF]. Where an entity links to a company, company custom fields appear as Company > field name (Custom). Define custom fields in Settings > Customization > Fields.Operators by field type
Values
- Text, number and date fields show a Value box. For is within (days) and is older than (days), type a number of days.
- Yes/no operators and is empty / is not empty have no value.
- Dropdown fields show a list filled from your own data, such as ticket statuses, priorities and device types.
- is one of and is not one of let you pick several values.
Actions (required)
Every rule needs at least one action. Click Add in the Actions section and choose an action type. Each action opens a form in an accordion. Click Remove at the bottom of an action to delete it. Actions run from top to bottom. To reorder them, remove an action and add it again. Which actions appear depends on the entity. Update Field and Set Relative Date only appear for entities that have fields they may change.Action types
Add to Planner
Add to Planner
Set Relative Date
Set Relative Date
Update Field
Update Field
Send Email
Send Email
In-App Alert
In-App Alert
Open Ticket
Open Ticket
Send Survey
Send Survey
{{ticket_reference}}, {{ticket_number}} and {{ticket_title}}. They are listed under Variables when you edit a template in Surveys > Settings > Email Templates. Surveys sent without a ticket leave them blank.AI Transform
AI Transform
{{ai_output}}. Put AI Transform above any action that uses {{ai_output}}.Add team members and Remove team members
Add team members and Remove team members
Template variables
Click Template Variables above the actions to open the list of variables. Click a variable to insert it at the cursor in the last text box you used. The list has these groups.- Entity fields (named after the entity). Every field of the entity, written as
{{entity.field_key}}. Examples are{{entity.warranty_end}}for a device and{{entity.summary}}for a ticket. - Meeting Variables. Shown for Meeting rules. Examples are
{{meeting.title}}and{{meeting.attendees}}. - AI Output.
{{ai_output}}holds the result of an earlier AI Transform action. - Bundle Variables.
{{entity_count}},{{entity_list}}and{{group_period}}for bundled rules. - Common Variables.
{{entity.company_name}}and{{rule.name}}.
{{entity.name}}. Use the list to see the exact variables for your entity.
Test the rule
The Test Rule section sits at the bottom of Setup.Click Run Test
Check the results
Review and save
Click Next
Choose whether the rule is active
Save the rule
Manage a rule from the list
On Settings > Automation Rules, each row has an Enabled switch and a row menu (…).Troubleshooting
Frequently asked questions
Will Run Test send my email or open a ticket?
Will Run Test send my email or open a ticket?
Does Update Field change the Planner item created above it?
Does Update Field change the Planner item created above it?
What happens when I save an active rule?
What happens when I save an active rule?
How do I stop a Scheduled rule from repeating work?
How do I stop a Scheduled rule from repeating work?
How many records does one run handle?
How many records does one run handle?
Can I run a rule more than once for the same record?
Can I run a rule more than once for the same record?