--- title: "Create a new workflow" description: "Create a new workflow with the provided name, description, nodes, and edges.\nThe workflow will be assigned a unique UUID and metadata will be automatically generated.\n" source: https://flowdrop.io/docs/api/workflows/createWorkflow site: FlowDrop documentation --- # Create a new workflow `POST /workflows` Create a new workflow with the provided name, description, nodes, and edges. The workflow will be assigned a unique UUID and metadata will be automatically generated. ## Request body - `application/json` — CreateWorkflowRequest ## Responses - `201` — Workflow created successfully (`application/json`: WorkflowResponse) - `400` — Bad request - invalid parameters or request body (`application/json`: ErrorResponse) - `422` — Validation error - request data failed validation (`application/json`: ErrorResponse) - `500` — Internal server error (`application/json`: ErrorResponse) *Tags: Workflows*