Ticket Actions

WHMCS’s automation can perform many actions to help you handle tickets. You can add scheduled actions to individual support tickets, configure escalation rules for support departments, or automate closures for inactive tickets.

Scheduled Actions

We added this feature in WHMCS 8.12.

Scheduled actions allow you to add and manage automated actions for an individual support ticket. This allows you to provide enhanced customer service by changing the ticket status, department, and other actions on a scheduled date or after a set amount of time.

You can view and manage the scheduled actions for a ticket in the Scheduled Actions tab. The list of scheduled actions orders actions by the scheduled execution time and then, for actions with the same execution time, by the execution order.

The Scheduled Actions tab

You can schedule the following actions:

ActionDescription
Pin to TopPin the ticket to the top of the list at Support > Support Tickets.
Assign TicketAssign the ticket to an admin.
If the ticket is already assigned to the selected admin at execution time, no change will occur.
Update DepartmentMove the support ticket to a different support department.
Update PriorityUpdate the ticket’s priority.
Update StatusUpdate the ticket’s status.

These actions send notifications at execution time using the same logic and settings that the system uses when you perform these actions manually.

  • The system will not send notifications when you schedule the action.
  • For more information, see Notifications.
For steps to add a scheduled action, see Schedule a Ticket Action.

Statuses

The list of scheduled actions includes a status for each action. Actions may display the following statuses:

StatusDescription
ScheduledThe action is scheduled to run at the listed execution time.
CompletedThe action ran successfully at its execution time.
CancelledAn admin manually cancelled the action before its set execution time occurred.
FailedThe system attempted the action, but a problem prevented it from succeeding.
For more information, see Scheduled Action Failures.

Action Execution

The system automates scheduled action execution using the system cron. When the system cron runs, it automatically attempts to run any action in the Scheduled status that has reached its execution time.

  • If the system cannot execute the action, it will attempt to retry it for up to one hour.
  • After one hour, any actions that the system cannot successfully execute will move to the Failed status and the system will not attempt them again.

If there are multiple scheduled actions with the same execution time, the system will attempt them in the following order:

  1. Pin to Top
  2. Update Status
  3. Update Department
  4. Update Priority
  5. Assign Ticket
For more information, see Scheduled Action Failures.

Close Inactive Tickets

To automatically close tickets after a certain amount of inactivity, enter a number of hours for Close Inactive Tickets at Configuration () > System Settings > Automation Settings.

  • By default, this applies to tickets in the Answered or Customer Reply statuses.
    You can update which statuses close due to inactivity at Configuration () > System Settings > Ticket Statuses.
  • When it automatically closes a ticket due to inactivity, the system sends the Support Ticket Auto Close Notification email to the user.

Escalation Rules

Ticket escalation rules allow you to specify actions to take automatically if a support ticket is in a specified state for a set period of time.

You can configure automated escalation rules at Configuration () > System Settings > Escalation Rules.

You can apply escalation rules according to specific support departments, ticket statuses, or priority levels. For example, in the example below, low and medium priority tickets will change to high priority, an automatic response will go to the client, and members of the relevant support department will receive an email after four hours with no response:

Support Ticket Escalation Rules

Escalation rules apply to every ticket that meets the specified conditions. If nothing happens to ensure that the ticket doesn’t meet the conditions, the escalation rule will continue to affect the ticket. It will only stop affecting the ticket when it no longer matches the escalation rule conditions.

Escalation rules only apply to tickets that customers submitted after the escalation rule’s creation. Existing tickets will not escalate automatically.

Merge Fields

Escalation rule replies and scheduled action replies support the use of merge fields using the same method as in individual ticket replies.

By default, support ticket replies can use the following merge fields:

  • [NAME] — The ticket submitter’s full name.
  • [FIRSTNAME] — The ticket submitter’s first name.
  • [EMAIL] — The ticket submitter’s email address.
The system will automatically replace the merge field (for example, [FIRSTNAME]) with the client’s data (for example, Cassidy) when you enter it. You can also use some custom fields as merge fields.

Last modified: December 17, 2024