This interface defines the structure of the request body used when creating a new AI Workflow.
export interface CreateAiWorkflowRequest {
    name: string;
    description?: string;
    trigger_type: 'manual' | 'webhook' | 'schedule' | 'event';
    steps: any[];
}

Properties

  • name (string): The name of the AI workflow.
  • description (string, optional): A description of the AI workflow.
  • trigger_type (string): The type of trigger for the workflow (‘manual’, ‘webhook’, ‘schedule’, or ‘event’).
  • steps (any[]): An array of steps in the workflow.