Overview
Thecreate_workflow function creates a new AI workflow in the system.
Function Signature
Parameters
The workflow data for creation including:
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)
Return Value
ReturnsResult<AiWorkflow> containing the created workflow details.
Basic Usage
Error Handling
Rate Limits
- Create operations: 20 requests per minute
- Burst limit: 5 requests per second
Related Functions
- fetch_workflows - List all workflows
- fetch_workflow - Get workflow by ID
- update_workflow - Update workflow configuration
- delete_workflow - Delete workflow
