Skip to main content

ocoya_toggle_workflow

Enables or disables an Ocoya workflow.

Arguments

NameTypeRequiredDescription
workflowIdstringYesOcoya workflow ID.
onbooleanYesWhether the workflow should be enabled.

Example

{
  "name": "ocoya_toggle_workflow",
  "arguments": {
    "workflowId": "cmajvvb9q0003ja5vh0538j6r",
    "on": true
  }
}

Returns

Returns the workflow ID and enabled state.