Create a new AI workflow
create_workflow
function creates a new AI workflow in the system.
name
: Workflow name (required)description
: Workflow description (required)steps
: Array of workflow steps (required)trigger_type
: Type of trigger for the workflow (required)is_active
: Whether workflow is active (optional, defaults to true)Result<AiWorkflow>
containing the created workflow details.