Update a workflow’s name or activate/deactivate it. At least one of name or active must be provided. A workflow can
only be activated once it has a hook and at least one action.
| Parameter |
Type |
Required |
Description |
workspaceId |
string |
Yes |
The ID of the workspace |
workflowId |
string |
Yes |
The ID of the workflow to update |
name |
string |
No |
Updated name for the workflow |
active |
boolean |
No |
Whether the workflow should be active (true) or inactive (false) |
| 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 |