Two different systems
| Layer | Role |
|---|---|
| AML rules (rules engine) | Evaluate transactions, entities, or other subjects; conditions and rule actions are defined in the rule builder (scores, alerts, trigger_workflow / trigger_automation, etc.). |
| Automations (workflows) | This documentation: triggers like alert_created, transaction_created, rule_triggered, actions like create_investigation, run_risk_matrix, send_webhook, etc. |
Bridge: rule β automation
When a rule matches, a rule action can start one or more automations. The automation then runs withtriggerType: rule_triggered and event.data populated with:
- Rule summary: e.g.
rule.id,rule.name,rule.externalId,rule.score. - Evaluated subject context: typically entity, transaction, and optionally alert / KYC, depending on what the rule evaluated.
Designing rule_triggered automations
- Prefer actions allowed for
rule_triggeredin Synergy (e.g.create_investigation,set_entity_status,run_risk_matrix,create_kyc_validation, webhooks). - Conditions can use the rule context (see Triggers).
Where to read about rules
Rule-specific triggers, scores, and rule actions are documented in the Rules sections of this site, not duplicated here.Maintenance: Rule action names and parameters live in the rules engine and API routes; automation side is
runAutomationById + synthetic rule_triggered event.