Ticket Automation

Ticket Automation is a powerful feature within TeamSupport that allows you to create rules for handling tickets.  The potential uses of Ticket Automation are almost limitless, but a few examples include:
  • Automatically reminding customers when they haven't responded to a ticket
  • Managing escalation when a ticket has been opened longer than a certain time
  • Notifying managerial users if a ticket bypasses a specified threshold
  • Routing the ticket to a specific user or group depending on keywords in the subject of the ticket
  • Sending an automatic response to a user with specific tips if there a keywords in the subject
  • Putting a ticket in a specific user's queue automatically
As you can see there are many potential uses for Ticket Automation and it is a great tool for helping to manage the ticket workflow.

Ticket Automation is controlled by creating a Trigger.  Each trigger has specific rules, and when those rules are met one or more actions are performed.

The rules section has two areas to allow you to tightly define what tickets meet the trigger criteria.  In the top section you define conditions that ALL have to be met (a logical AND), and in the bottom section you list conditions where any of the items can be met (logical OR). 

Actions

Once the trigger conditions have been defined, you can create actions to be performed when the conditions have been met.  Any number of actions can be added, and the possible ones are as follows:
  • Set Status:  This will change the status of a ticket.  Used for automatically moving a ticket to a new status.
  • Set Severity: This will change the severity of a ticket, and is used to manage automatic escalations.
  • Log a Public Action: This will add an action to the ticket which is visible to the end user (assuming the ticket itself is marked "Visible to Customer").  This will generate an e-mail notification to the end user as well.  When this action is selected, a textbox will appear and allow you to enter the text to be added.  Please see "Placeholder Variables" below for a way to add data about the ticket to the action..
  • Log a Private Action: Adds a private action to the ticket.  No e-mail is generated to the end user, but internal TeamSupport users will be notified as normal.  When this action is selected, a textbox will appear and allow you to enter the text to be added.  Please see "Placeholder Variables" below for a way to add data about the ticket to the
  • Assign Ticket to an Individual: The ticket's owner will be changed to the user specified.
  • Assign Ticket to a Group: The ticket's group owner will be changed to the one specified.
  • Notify User: This will generate an e-mail to the TeamSupport user specified.  The e-mail will be the text that is entered in the text box.  Please see "Placeholder Variables" below for a way to add data about the ticket to the e-mail.
  • Close Ticket: Sets the status of the ticket to the first status that indicates a ticket is closed for that ticket type.
  • Enqueue Ticket: Places the ticket the specified user's queue.
Placeholder Variables

There are a handful of placeholder variables which can be used in the Log Public/Private Actions and Notify User Actions.  Simply place the text as below, including the "squiggly parenthesis" and the text will be replaced by the correct variable when the e-mail is sent or the action logged.  They are:
  • {{MyCompany.Name}} - The name of the parent organization (not the client's)
  • {{Ticket.TicketNumber}} - The ticket number
  • {{Ticket.Name}} - The ticket name
  • {{Ticket.Customers}} - A list of customers associated with the ticket
  • {{Ticket.AssignedTo}} - The user the ticket is currently assigned to
  • {{Ticket.Status}} - Status of the ticket
  • {{Ticket.Type}} - The Ticket Type
  • {{Ticket.ProductName}} - Product associated with customer
  • {{Ticket.GroupName}} - Group the ticket is assigned to
  • {{Ticket.Severity}} - Severity of the ticket
 
There are a few important things to remember about ticket automation:


Ticket Automation will only work on tickets that were modified after the trigger was created.  This is a safety mechanism put in place so that if a mistake is made and you create a trigger than affects lots of tickets incorrectly, we don't go back and retroactively change tickets.

Each Trigger can only affect a given ticket once, even if the ticket matches all of the triggers again.  This is another safety feature put in place so we don't get into a situation where we continually change the same ticket, or end up in a loop situation. 

How to add a trigger:

When you first go to the Ticket Automation page there will be no triggers specified and you will see the display below.  Simple click on "Create New Trigger".




Once you click Create New Trigger you will get the screen below.





This trigger will fire if the ticket is 3 days old ("Days Since Ticket was Last Modified" is the field name) and has a status of "Pending Customer Reply".  If both of those are true then it means we have been waiting for a customer to respond and it's time for a nudge.

The nudge is in the form of a public action which is at the bottom of the screen.  We are using the action "Log Public Action" which will place the text into an action for this ticket.  Since it's a public action your customer will get an e-mail notification automatically.

Usually a Trigger like this is paired with another Trigger that will close the ticket in a few days.  Note if you have two Triggers that you want to happen sequentially, and they are both looking at the Days Since Ticket was Last Modified", you need to have the number of days for the second one larger than for the first one - Otherwise, you could get into a situation where the ticket was closed before you asked the customer to respond to the ticket!

Ticket Automation is a very powerful and flexible feature - If you need any help setting up a Trigger please don't hesitate to ask us!
Č
ą
ď
Robert Johnson,
Jun 8, 2011 2:00 PM
ą
ď
Robert Johnson,
Jun 8, 2011 2:23 PM