---
title: "Create or Update Flows"
method: POST
path: "/workflow/{workflowId}/flows"
tags: ["Workflows"]
---

# Create or Update Flows

`POST /workflow/{workflowId}/flows`

Creates or updates multiple flows for a workflow

## Path parameters

- `workflowId` integer, required

## Request body

- CreateFlow[]
  - `workflowId` integer, required
  - `name` string, required
  - `description` string, required
  - `program` string, required
  - `executionOrder` integer, required
  - `language` string, required
  - `flowType` 'HTTP_REQUEST' | 'GENERAL_FUNCTION' | 'MANAGE_CONFIG' | 'MANAGE_CRON' | 'SHELL_SCRIPT' | 'RPA', required

## Response `200`

Flows created/updated successfully

---

[API](https://skmtc.net/laminar/apis/laminar-api.md) · [All operations](https://skmtc.net/laminar/apis/laminar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laminar/laminar-api/revisions/f0b9f895fdd8/schema)
