create_automation
Define event-driven automation rules that execute actions like assignment, priority changes, comments, and task creation when conditions match, with built-in safety limits and no webhook required.
Instructions
Create an automation rule: when an event fires and all conditions match, run the actions in-process — no webhook receiver needed (admin only). Example: when a task labeled bug is created, assign it to an agent at priority 3. Safety: cascades are depth- and budget-capped, rules never react to tasks they created, and field mutations on tasks under a live claim are always skipped (comments are append-only and still allowed). Hosted API only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short human-readable rule name | |
| event | Yes | Event that triggers the rule | |
| active | No | Set false to create the rule disabled | |
| actions | Yes | Actions to run in order | |
| conditions | No | Conditions, AND-combined; omit to match every event |