Automation Write Tool
automation-writeCreate, update, toggle or delete pipeline automation rules. Every action requires pipeline_id. Read automation-read first for supported triggers, conditions and actions. Active rules can trigger downstream writes, webhooks or Slack messages. Status-sync-managed rules cannot be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rule name. Required for "create"/"update". | |
| action | Yes | Action to perform. | |
| actions | No | Action list ({type, params}). Valid types + their params come from the "list" catalog. At least one action is required for "create"/"update". | |
| conditions | No | Condition list ({field, operator, value}); all must pass (AND). Use fields/operators from the "list" catalog for the chosen trigger. Pass an empty array for no conditions. | |
| pipeline_id | Yes | The pipeline the automation belongs to. Required for every action. | |
| automation_id | No | Automation ID. Required for "update", "toggle", and "delete". Use "list" to discover IDs. | |
| trigger_event | No | The trigger event slug (e.g. "order.status.changed"). Must be valid for the pipeline type — see the "list" catalog. Required for "create"/"update". | |
| description_cache | No | Optional human-readable summary of the rule (use real names, not IDs). |