Create automation
API Reference
Create automation
Create a new automation workflow in gu1, specifying trigger, conditions, actions, and graph nodes that the engine validates for synergy.
POST
Create automation
Endpoint
Body (main fields)
Display name
realtime (default) | scheduledValid engine trigger (e.g.
manual_execution, investigation_created, scheduled, β¦)Trigger-specific config (schedule, filters, etc.)
Condition objects:
field, operator, valueLegacy flat list:
{ type, config }{ conditions, actions, waitAfterStep? }[]{ nodes[], edges[] } β nodes: trigger | condition | action; edges may include sourceHandle: true | false. Must include at least one trigger node.Optional node positions for the builder UI
Default
trueResponse
201 β{ "automation": { ... } }
400 β validation or synergy error (synergyErrors may be present)