Skip to main content
POST
Update a workflow
To change a workflow’s mailing list, use the Change workflow mailing list endpoint instead.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflowId
string
required

The ID of the workflow.

Body

application/json

At least one property must be provided.

expectedRevisionId
string
required

The workflow revision token returned by the latest workflow read or mutation. Mutations reject stale values.

name
string
required

The updated workflow name.

description
string

The updated workflow description.

Response

Workflow properties updated.

id
string
required

The ID of the workflow.

status
enum<string>
required
Available options:
Draft,
Sending,
Paused,
PausedAndQueueing
mailingListId
string | null
required

The ID of the mailing list the workflow sends to.

rootNodeId
string
required

The ID of the root node in the workflow graph.

nodes
object
required

A map of node IDs to simplified node objects. Each node includes typeName and nextNodeIds, plus type-specific fields when present.

workflowRevisionId
string
required

The current workflow revision token. Pass the latest value as expectedRevisionId on the next workflow mutation.

name
string

The name of the workflow.

description
string

The description of the workflow.

Last modified on July 21, 2026