Create a new automation workflow in a workspace. The workflow is created inactive with no hook and no actions — set
those via set_automation_hook and set_automation_action, then activate via update_automation_workflow.
| Parameter |
Type |
Required |
Description |
workspaceId |
string |
Yes |
The ID of the workspace |
name |
string |
Yes |
The name of the automation workflow |
| Field |
Type |
Description |
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
| Field |
Type |
Description |
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |