smartsuite_create_automation
Create an automation in a SmartSuite solution by providing a trigger and actions.
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 — note that a BRAND-NEW solution has no such automation to copy, so build the first one in the UI and read it back, or expect to discover required keys one 400 at a time (the errors are precise, e.g. "trigger.trigger_reference.trigger_id is required"). 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. |