---
title: "Update Workflow"
method: PATCH
path: "/workflows/{id}"
tags: ["Workflow"]
---

# Update Workflow

`PATCH /workflows/{id}`

Update a workflow's `name` or `archived` flag. `run_type` is server-controlled
and cannot be changed.

## Path parameters

- `id` string, required

## Request body

- WorkflowParametersUpdate — Parameters for updating an existing workflow. All fields are optional.
  - `workflow` object, required
    - `name` string — New name for the workflow.
    - `archived` boolean — Set to `true` to archive the workflow, `false` to unarchive.

## Response `200`

OK

- 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
- `404` — Not Found
- `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)
