Triggers are created and configured in the “Triggers” section of the system administrative settings.
The “Order” field determines the order in which the triggers are executed.
The event is the specified circumstance to which the trigger reacts and is selected in the form.
Note
The “Missed call” event can be used if a telephony system is connected. For more details on this event, see related article.
Important!
The “New call” event can be used if a telephony system is connected. It works in a similar way to the “Missed call” event, but applies to every call created in the system.
When you select an event, a tooltip is displayed with a list of objects and types that you can work with in the “Filter” and “Condition for appying a trigger” fields.
Limit for trigger execution
In the “Filter” field, a limitation is imposed on the trigger execution.
Examples of restrictions:
- only orders with the sum higher than £5000;
- only orders delivered by Royal Mail;
- only orders in the “Delivering” status.
In the “Trigger condition” field, you can specify an expression that determines when the trigger, taking into account the applied filter, should be executed.
Examples of conditions:
- there have been changes to an order;
- the status of the order has been changed to “Failed to call”;
- the delivery type has changed;
- the status of a product in an order has changed.
Both fields are optional. If you leave them empty, the trigger will be initiated on the event and perform the specified actions.
Important!
The article “Rules for preparing triggers” describes the rules for forming expressions for the “Filter” and “Trigger condition” fields.