---
title: "Create Workflow"
method: POST
path: "/workspaces/{workspace_id}/workflows"
tags: ["Workflow"]
---

# Create Workflow

`POST /workspaces/{workspace_id}/workflows`

Create a new standalone automation workflow. New workflows are created in the
`draft` state (disabled). Add triggers and steps, then call `POST /workflows/{id}/enable`
to make it live.

## Path parameters

- `workspace_id` integer, required

## Request body

- WorkflowParametersCreate — Parameters for creating a new workflow. `run_type` is server-controlled (always `asynchronous` for API-created workflows) and is not accepted as a request parameter.
  - `workflow` object, required
    - `name` string, required — Human-readable name for the workflow.

## Response `201`

Created

- WorkflowAttributes — A standalone automation workflow.
  - `id` integer — Workflow ID
  - `public_id` string, nullable — Obfuscated workflow ID
  - `workspace_id` integer — Integer ID of the workspace that owns this workflow
  - `name` string — Human-readable workflow name
  - `status` 'draft' | 'live' | 'archived' — Derived status. `live` = enabled with at least one active trigger; `archived` = archived; otherwise `draft`.
  - `disabled` boolean — True when the workflow is disabled (not executing runs).
  - `archived` boolean — True when the workflow has been archived.
  - `run_type` 'asynchronous' | 'synchronous' | 'one_time' — How the workflow handles concurrent runs for the same contact. Server-controlled — always `asynchronous` for API-created workflows.
  - `active_runs_count` integer — Number of currently active (in-progress) runs.
  - `completed_runs_count` integer — Cumulative count of completed runs.
  - `created_at` string, date-time — Creation timestamp
  - `updated_at` string, date-time — Last update timestamp

## Other responses

- `401` — Unauthorized
- `403` — Forbidden — a third-party platform acting on another team's workspace without trusted platform access. First-party / own-account writes are never blocked.
- `422` — Unprocessable Entity

---

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