Automations Tool
Contents |
About Automations Tool
| The 'Automations' tool allows you to automatically perform predefined actions when selected events occur in WHMCS or the module. Each automation combines an action that defines what should happen with a trigger that determines when the action should be executed. Customer groups can additionally be used to control which clients particular actions may apply to. The tool includes the following sections:
|
Actions
| Actions define the operations that can be performed automatically when a configured trigger occurs. Open the 'Actions' section and click 'Create Action' to add a new one. |
|
| Enter a unique name that will help you identify the action when configuring triggers, then select the required action type. Complete the displayed configuration fields and click 'Confirm'. The available fields depend on the selected action. |
|
The following actions are generally available:
|
Add To-Do Item
| This action creates an item in the WHMCS to-do list. It can be used to automatically assign and track administrative tasks related to selected events. Configure the following options:
|
Open Support Ticket
| This action opens a support ticket for the client associated with the trigger. Configure the following options:
|
Send Email Notification to Admin
| This action sends an email notification to selected administrators when the associated trigger occurs. Configure the following options:
|
Send Email Notification to Customer
| This action sends an email notification to the client associated with the trigger. Configure the following options:
|
Action Access
Actions can be restricted to selected customers using the 'Action Access Mode' option:
|
|
Merge Fields
| Selected action fields support merge fields, allowing data related to the triggering event to be inserted dynamically into the action configuration. Available merge fields are grouped by trigger type. Expand the required trigger group to view and use the variables available for that event. The available merge fields depend on the trigger context and may include information related to clients, services, orders, invoices, tickets, virtual machines, and other supported events. |
|
Managing Actions
| Once created, actions can be edited or deleted using the available action buttons. You can also use the mass action function to delete multiple actions at once. |
|
Triggers
| Triggers define the events that execute configured actions. Once the required actions have been created, open the 'Triggers' section and click 'Create Trigger'. |
|
Configure the following options:
Additional configuration fields may appear depending on the selected trigger. For example, some triggers may allow you to limit execution to selected products, administrators, task types, specific log content, or other event-specific conditions. |
|
Available Triggers
| The 'Automations' tool supports numerous events related to clients, services, addons, domains, invoices, orders, support tickets, module tasks, and other supported operations. The available triggers are displayed in the 'Trigger' dropdown when creating or editing a trigger and may vary depending on the module and its integration scope. Some triggers display additional configuration options that allow you to further specify when an action should be executed. Depending on the selected trigger, these may include particular products, administrators, task types, log content, or other event-specific conditions. Note: Module-specific triggers and their additional configuration options, if available, are described in the documentation of the respective module. |
Managing Triggers
| After a trigger is created, use the 'Status' toggle to enable or disable it. Individual triggers can also be edited or deleted using the available action buttons. |
|
Customer Groups
| Customer groups allow you to control which clients particular actions may apply to through the 'Action Access Mode' setting. Note: Customer groups created in the Automations tool are independent of WHMCS Client Groups and are managed separately. Open the 'Customer Groups' section and click 'Create Group'. |
|
| Enter a name for the group and click 'Confirm'. |
|
| Once the group is created, open it and add the required clients. You can modify the list at any time by adding or removing individual members. |
|
| Use the 'Add Customers' option to assign additional clients to the group. |
|
| From the customer groups list, you can manage group members, rename a group, or delete it. Important: Before deleting a customer group, make sure it is not assigned to any action. Removing a group that is still in use may cause errors to be logged when the associated action is triggered. |
|
Customer Group Usage Example
For example, to prevent an action from being executed for internal or test accounts:
The action will then be executed for all applicable clients except those assigned to the selected group. |












