Ticket Automations

Ticket Automations are used to create rules and conditions for Tickets, then perform a certain action for those Tickets that meet the criteria. For example, if a ticket isn't updated in four hours, send an alert in Slack. You can setup an Automation and then every hour or so they will run on all of your Open Tickets. They don't run "on the hour," but they will run every hour.

What it Does

  • A Ticket Automation will run a maximum of 5 times per Ticket, and then no longer run.
  • You can also use HTML to craft your email triggers to clients.
  • Lets you check multiple AND conditions and perform multiple actions—if condition 1 AND condition 2 are true, then do actions 1 and 2.
  • Using conditions, can be configured to run only inside or outside business hours if you have business hours enabled.

What it Doesn't Do

  • Ticket Automations will not run on Resolved Tickets.
  • Let you have OR conditions.

Table of Contents

 

Video - Deep Dive

The training portion lasts about 6m 15s.

 

Getting Started

First navigate to Admin > Tickets - Ticket Automations to view a list of your current Automations. You can do a few things from here.

  1. Type a full or partial Automation name and click Search to find those matching that name.
  2. Start a New Ticket Automation.
  3. Click the automation name to edit the Automation.
  4. Click a name to edit the Automation.
  5. Active toggle, allowing you to temporarily deactivate your automations without having to delete them and avoid recreating or re-sorting them when you’re ready to reactivate them
  6. Shows which Tickets currently meet the criteria for this Automation to run.
  7. Run the Automation right now so that you don't have to wait an hour for it to run.
  8. Make a duplicate of the Automation so you can edit it to do something different.
  9. Delete the Automation.

 

Add/edit an Automation

  1. In the upper right, click New Ticket Automation to add a new one (or click an Automation name to edit an existing one).
  2. Fill in the Automation Name with a description of what you want it to do. If you do not enter a name, the Automation will be listed as Automation on the Ticket Automations page.
  3. The Automation Type section will pre-populate with our Hourly automation type. Select the Run Once option for the automation you create to run up to a maximum of one time on a ticket. Otherwise,by default, Hourly automations will run up to 10 times on a ticket while the automation conditions match.
  4. Under the Conditions section, click the + button.
  5. Now add the condition you want tickets to match by selecting or entering values in the the left, (sometimes) middle, and right dropdowns or fields. See the list of conditions below for more details.
  6. You may click the next green + button to add as many new conditions as you like. These are AND conditions; i.e., "If condition 1 is true AND condition 2 is true, then..." We do not currently have a way to add OR conditions.
  7. If you need to delete a condition, on its right click the red X.
  8. Under the Run the Following Actions section, click the + button.
  9. Now select an action in the dropdown that appears and enter or select the values to use in the fields that appear. This action will be performed when the conditions are true for a ticket. See the list of actions below for more details.
  10. The Available Template Tags at the bottom shows all tags you can put in fields that allow you to type values. For example, you could put "We received a part for {{asset_name}} and will begin repairs" in the Body field of an email.
  11. Automations will keep running on the same tickets as long as the Conditions are met, up to 10 times. To run them only once on those tickets, add an Action to make a Condition no longer true. For example, if a Condition is "Ticket Status is New," have an Action be "Change Status: In Progress."
  12. As with conditions, you may click the next green + button to add as many new actions as you like. When the conditions are met, it will perform all the actions.
  13. If you need to delete an action, on its right click the red X.
  14. Once finished, click Save.
  15. You will return to the Ticket Automations page and your new Automation will run within an hour, and then every hour after that. You can click Run Now by the Automation to immediately run it.

 

When the Automation runs

Once an Automation runs, it will post an update to each ticket's Communications log that met the Conditions.

 

Conditions

The Conditions are the criteria that the Tickets have to meet for this Automation to run. For example you could use the "Hours until due date" Condition to track which Tickets were getting close to their due date. You can also use multiple Conditions to track things like Tickets that are set to "Invoiced" that have not been updated in X hours.

These are all the Conditions available to use.

</tbody>
Left dropdown Middle dropdown Right dropdown or field
Assigned Contact Tags Includes, Excludes Input field for Contact Tags either associated or not associated with the contact submitting the ticket. Option to Include Untagged Contacts when using the includes option to also include Customers without a tag associated
Assigned SLA is, is not Dropdown of SLAs defined in Admin > Tickets - Service Level Agreements
Assigned to is, is not Users dropdown
Business Hours N/A Only Run During Business Hours, Only Run Outside of Business Hours*
Contact Tags Includes, Excludes Input field for Contact Tags either associated or not associated with the assigned contact submitting the ticket. Option to Include Untagged Contacts when using the includes option to also include Customers without a tag associated
Customer Tags Includes, Excludes Input field for Customer Tags either associated or not associated with the customer submitting the ticket. Option to Include Untagged Customers when using the includes option to also include Customers without a tag associated
Due date is passed N/A Yes, No
Has SLA N/A Yes, No
Has a contact N/A Yes, No
Hours until due date N/A Enter hours (whole numbers only)
Not updated in hours N/A Enter hours (whole numbers only)
Part Order Received N/A Yes, No
Ticket Billing Status is, is not, contains Non-Billable, Invoiced, Partially Invoiced, Invoice Required
Ticket Issue Type is, is not Dropdown of Ticket Issue Types defined in Admin > Tickets - Preferences
Ticket Priority is, is not 0 Urgent, 1 High, 2 Normal, 3 Low
Ticket Status is, is not, contains Dropdown of Ticket Statuses defined in Admin > Tickets - Preferences
Ticket Subject is, is not, contains Enter subject
Ticket Tags Includes, Excludes Input field for Ticket Tags either included or excluded in the ticket. Option to Include Untagged Tickets when using the includes option to also include Tickets without a tag associated
Ticket Type is, is not Dropdown of Ticket Custom Field Types defined in Admin > Tickets - Preferences > Ticket Custom Fields
Ticket last comment subject is, is not Approval, Arrival, Automated Remediation, Automation, Bounce, Completed, Contact, Contacted, Diagnosis, Estimate Approved, Estimate Declined, Initial Issue, Invoice Emailed, Issue, Other, Parts Order, Parts Update, SMS Failure, Upgrade

* Will only run outside of business hours if business hours are enabled.

 

Actions

The Actions are run on the Tickets that meet the criteria set up in Conditions. You can do things like have the system add comments and change the Ticket info such as priority. You can also use multiple Actions. See an example Automation below.

These are all the Actions available to use and what they do.

Action dropdown Fields/values to enter What it does
Add Private Comment Select Update Subject dropdown, enter comment to post in Body Adds a private comment to the ticket's Communications log.
Add Public Comment Select Update Subject dropdown, optionally check Send SMS box, enter comment to post in Body Adds a public comment to the ticket's Communications log, emails the customer, and optionally sends an SMS to the customer. This is the same as sending an Email in the Communications section of a ticket.
Add Ticket Tag Input Field to Add Tags Adds tags entered in the input field when the automation runs on a ticket.
Assign to Select User in dropdown Assigns ticket to the selected User.
Change Priority 0 Urgent, 1 High, 2 Normal, 3 Low Updates the ticket's priority.
Change Status Select Status from dropdown Updates the ticket's Status.
Email Assignee Enter Subject, optionally BCC email address, Body text Emails the assigned tech.
Email custom email address Enter email address in To, Subject, optionally BCC email address, Body text Sends an email to an address of your choosing. You can add multiple email addresses separated by commas or semicolons.
Email customer/contact Enter Subject, optionally BCC email address, Body text Emails the customer or contact. You can add multiple BCC email addresses separated by commas or semicolons. Note that it does not post the message to the ticket's Communications log, but only that it performed the Action. Check the Admin > Reports > Email and SMS - Communications Summary report to see the message sent.
Fire "Ticket Automation Triggered" notification N/A Based on the Ticket - Automation was triggered settings in the Notification Center, it sends the selected notifications (Email, SMS, etc.) to selected users.
Post to Slack Enter the Slack Webhook URL and Message Posts a message to Slack.
Remove Ticket Tag Input Field to Add Tags Removes ticket tags entered in the input field, if associated with the ticket, when the automation runs.
SMS Public Comment Select an Update Subject, enter message to send in Body Adds a public comment to the ticket's Communications log and sends an SMS to the customer.
Send Manual SMS Enter a valid SMS To number and a Message Sends an SMS to the number entered. You can only enter a single phone number.
Update Due Date Enter the number of hours to Extend either From the Due Date or When (the Automation is) Triggered Updates the ticket's Due Date.
Update Ticket N/A Enters the current timestamp in ticket's Last Updated field. Two possible uses:
1. Force a ticket update to trigger notifications found in Admin > Notification Center.
2. Re-trigger automations looking for tickets not updated in X amount of time.

 

Restoring Deleted Automations

We offer the ability to recover deleted automations should the need arise. To recover your automations, you’ll want to head to Admin > Reports > Tickets and select the option ‘Deleted Ticket Automations’ to recover any of your previously deleted automations.
2 Likes