Workflows
Update Workflow
Update editable fields on a workflow such as its name and description. Use the lifecycle endpoints to change run state.
PATCH
Update a workflow
Updates one or more editable fields on a workflow. The
name and description can be edited at any time and the change applies immediately. The workflow’s status cannot be changed through this endpoint, use the dedicated lifecycle endpoints (Pause, Resume, Cancel, Activate) so the audit trail records the intent cleanly.
When to use this
- Renaming a workflow after the underlying campaign or sequence is renamed in your internal systems.
- Editing the description so dashboard viewers see a more accurate summary of what the workflow does.
- Bulk metadata updates when reorganizing workspaces across teams.
Path parameters
| Parameter | Description |
|---|---|
id | The workflow ID, for example wfl_m3v7zb9rk2px. |
Body parameters
| Field | Description |
|---|---|
name | New display name. |
description | New description for the workflow. |
Errors
404 Not Foundis returned when the workflow does not exist.400 Bad Requestis returned when the body contains no editable fields or when a value fails validation.409 Conflictis returned if you try to changestatusthrough this endpoint, use the lifecycle endpoints instead.
Request
Response
Related endpoints
- Pause Workflow: change run state.
- Duplicate Workflow: clone before larger edits.
- Get Workflow: confirm the new field values.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Body
application/json
Response
Success.
Example:
"wf_abc123"
Example:
"org_xyz"
Example:
"Lead Nurture Sequence"
Example:
"Contacts cold leads three times before marking as unresponsive."
Workflow lifecycle status. Responses can include running for older workflow records; treat it like active. Use active in new create or update requests.
Available options:
draft, active, running, paused, completed, cancelled Example:
"active"
Example:
"2024-03-01T09:00:00.000Z"
Example:
"2024-03-02T11:00:00.000Z"
Update a workflow