Workflows combine a trigger with one or more actions to automate processes in Mentor.
A trigger defines when a workflow should run. When its conditions are met, the configured actions are executed. Workflows can be used to automate intervention processes, reduce recurring manual tasks and assign attributes or values to player profiles for segmentation.
Each workflow has a name, description, category and priority to help operators organise and manage their automation setup.
Before creating a workflow, ensure that:
Click New Workflow and follow the configuration steps.
Give the workflow a clear title and description that explain its purpose.
Descriptive names make workflows easier to identify and help operators understand what a workflow is intended to do without reviewing its full configuration.
Assign a priority to indicate the importance of a workflow.
Priority is displayed as part of the workflow and can be used to filter workflows, making it easier to identify and manage important automations.
Each workflow contains one trigger, which determines when the workflow should run.
When configuring the trigger:
The workflow is triggered when the configured trigger conditions are met.
Thresholds can be changed later if requirements change or the trigger needs to be made more or less sensitive.
Select the actions that should be executed when the workflow is triggered.
A workflow can contain:
Once the workflow has been completed, it becomes active and can execute the configured actions when its trigger conditions are met.
When multiple actions are assigned to the same workflow, they are executed in a predefined order.
The execution order is:
This order allows later actions to use information created by actions executed earlier in the workflow.
For example, if a Message action and a Webhook action are assigned to the same workflow, the message is created first. The webhook can therefore consume the resulting messageId immediately when it is executed.
Workflow configurations can change over time. For example, trigger thresholds may be adjusted, actions may change or the definition of a workflow may be updated.
The View Changelog provides an audit trail of these changes. It allows operators to review the history of a specific workflow and verify which configuration, including thresholds and actions, was present at a given point in time.
To access the changelog:
This is useful when reviewing historical workflow behaviour, as the current configuration may differ from the configuration that was active when an earlier event occurred.
If a workflow should no longer run, it can be marked as inactive.
Inactive workflows can be hidden from the workflow list using the available filter toggle.
An inactive workflow can later be: