Skip to main content
Automations run actions (the THEN part). Each action has a type string (below) and a config object. The engine validates the action type and applies synergy rules with the Triggers and Synergy pages.
Canonical list: AUTOMATION_ACTION_TYPES in shared types (19 action types). Anything not in that list is not a first-class automation action in the engine.

Action catalog

Intelligence and investigations

Action IDWhat it does
create_investigationOpens an investigation on the entity; may attach alert context when present.
generate_checklistGenerates a checklist on an existing investigation.
start_investigationMoves the investigation into active work.
change_statusChanges investigation status.
change_priorityChanges investigation priority.
assign_toAssigns the investigation.
set_stage_role_accessRestricts stage access by role.
add_noteAdds a note to the investigation.

Risk, entity, enrichment

Action IDWhat it does
run_basic_enrichmentRuns basic enrichment for the entity/country.
run_enrichmentFull enrichment (configured providers).
run_shareholders_flowShareholders / corporate structure flow.
run_risk_matrixRecalculates risk; updates scores and riskMatrix in context.
set_entity_statusUpdates entity commercial/compliance status.

Alerts and transactions

Action IDWhat it does
create_alertCreates a system alert on the entity.
request_transaction_approvalSends approval flow (email/SMS/link or OTP) for a transaction.
set_transaction_statusUpdates transaction status (valid transitions enforced by the engine).

KYC

Action IDWhat it does
create_kyc_validationStarts a KYC validation for a person when applicable; may be skipped if entity type does not apply.

Integrations and messaging

Action IDWhat it does
send_webhookHTTP request to a URL with JSON payload (retries on transient failures).
send_push_notificationSends via configured channels (email, SMS, WhatsApp, Slack, Telegram, etc.); templates can include continueUrl / cancelUrl when standby applies.

Context input and output (summary)

Nested objects entity, transaction, investigation, kyc, alert follow the same shape as database rows so templates can use {{entity.status}}, {{transaction.amount}}, etc.
ActionNeeds in context (minimum)Adds / updates in event.data
create_investigationentityId / targetEntityId; optional alert/categoryinvestigationId, investigation
generate_checklist, start_investigation, change_status, change_priority, assign_to, set_stage_role_access, add_noteinvestigationIdInvestigation fields updated in place
create_alertentityId / targetEntityId, entity type— (side effects in DB)
run_basic_enrichmententityId, entityType, countryCodeenrichment
run_enrichment, run_shareholders_flowentityId / targetEntityIdenrichment
run_risk_matrixentityId, entityTypenewScore, riskScore, riskScoreRaw, riskMatrix, entity scores
set_entity_statusentityId / targetEntityIdStatus, previousStatus / entity.oldStatus
set_transaction_statusTransaction contexttransaction.status
create_kyc_validationentityId, entityType (person)kycValidationId, kyc
request_transaction_approvalTransaction entity contextUses external approval tokens (not a generic resumeExecution payload)
send_webhook
send_push_notificationDepends on recipientMay inject continueUrl / cancelUrl when executionId + callbackToken exist
Synergy does not guarantee data: an action may skip (e.g. wrong entity type for KYC). In steps mode, a skipped create_kyc_validation can stop the flow.
Maintenance: When adding or changing an action, update automation-engine executeAction, AUTOMATION_ACTION_TYPES, workflow-synergy.ts, and this page.