Understanding the structure of trigger rules
id
and a human-readable name
:
event
field specifies which event type this rule applies to:
user.created
user.updated
user.deleted
payment.succeeded
document.shared
condition
field defines when the rule should be triggered. It can be a simple condition or a complex nested structure:
actions
field is an array of actions to perform when the rule is triggered:
priority
field determines the order in which rules are evaluated when multiple rules match the same event:
enabled
field determines whether the rule is active:
tags
field allows you to categorize rules: