smartsuite_create_automation
Create an automation in a SmartSuite solution by defining a trigger and actions; optionally set credential ID and timezone.
Instructions
Create an automation in a solution. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. You supply the trigger (an object with trigger_reference.trigger_id and inputs) and the actions; use smartsuite_describe_automation_step on a similar existing automation to learn the exact trigger/action/input shapes and option values. Pass actions either as the native nested actionGroups ([{actions:{actions:[...]}}]) or as a flat actions array (wrapped into one group automatically). Pass credentialId once to fill it onto the trigger and every action that omits one. automaticDescription (the UI display phrase) and timezone are optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Automation name. | |
| actions | No | Flat list of action objects; wrapped into a single action group. Each: { action_reference:{integration_id, action_id, instance_id}, credential_id?, inputs:[...], record_list?:{...} }. | |
| trigger | Yes | Trigger object: { trigger_reference:{integration_id, trigger_id}, credential_id?, inputs:[...], conditions?:{...} }. | |
| timezone | No | Optional IANA timezone (e.g. America/Chicago). | |
| solutionId | Yes | The solution ID the automation belongs to. | |
| actionGroups | No | Native action groups: [{actions:{actions:[<action>...]}}]. Mutually exclusive with `actions`. | |
| credentialId | No | Optional: fill this credential_id onto the trigger and any action missing one. | |
| automaticDescription | No | Optional UI display phrase (phrase-builder JSON string). Omit to leave blank. |