smartsuite_update_automation
Update an existing automation by applying only the specified fields—label, trigger, actions, timezone, or description—while preserving all other settings. Optionally provide a credential ID to fill missing credentials.
Instructions
Update an existing automation. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. Fetches the current automation and applies only the fields you provide — label, trigger, actionGroups/actions, automaticDescription, timezone — preserving the rest (including first_created and the untouched trigger/actions). Pass credentialId to fill missing credentials. IMPORTANT — preserve fidelity: trigger and action groups you supply REPLACE the existing ones wholesale (no per-action merge). To change only the label/description, OMIT trigger and actions so they are preserved byte-for-byte. Do NOT rebuild an action or trigger from smartsuite_describe_automation_step output — that view is SLIMMED (it drops input encodings such as an AI action's model setting); reconstructing from it and saving will strip those settings and can leave the automation invalid (which the engine then marks disabled). If you must edit one action, start from the raw automation object and change only the target input. The enabled state is engine-computed from validity — you cannot set it directly; a disabled result means the automation is invalid (see the returned statusReason).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | New name (optional). | |
| actions | No | Replacement flat action list, wrapped into one group (optional). | |
| trigger | No | Replacement trigger object (optional). | |
| timezone | No | New IANA timezone (optional). | |
| solutionId | Yes | The solution ID the automation belongs to. | |
| actionGroups | No | Replacement native action groups (optional). Mutually exclusive with `actions`. | |
| automationId | Yes | The automation ID to update. | |
| credentialId | No | Optional: fill this credential_id onto the trigger and any action missing one. | |
| automaticDescription | No | New UI display phrase (optional). |