Create an automation from a template (draft)
create_automationCreate an automation from any template in list_automation_templates by passing its params. Creates a draft. For a flow no template covers, build the document yourself and call put_automation on the draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| params | Yes | The template's params. | |
| enabled | No | Default false. | |
| accountId | Yes | Connected account id from list_accounts. | |
| templateId | Yes | Template id from list_automation_templates. | |
| workspaceId | No | Which workspace this is for. Only needed when the account has more than one — the error tells you the ids when it matters. Leave it out if it is already decided; do not ask the person again. |