Skip to main content
POST
Upsert a workflow step
Adds a new step node or updates an existing step node within a workflow draft canvas. Settings fields can use Mustache dynamic expressions (e.g. {{trigger.body.text}}, {{steps.step_1.data}}) to reference outputs from previous nodes.

Path Parameters

Request Body

cURL Example (Add AI Summarizer Step)

Response Example

Authorizations

Authorization
string
header
required

Pass your API key via the Authorization header: Bearer <api-key>

Path Parameters

id
string
required

Workflow ID

Example:

"wkf_123abc"

Body

application/json
workflowId
string
required

Workflow ID

Example:

"wkf_123abc"

name
string
required

Step name

Example:

"sendNotification"

displayName
string
required

Step display name

Example:

"Send Notification"

stepId
string

Step ID (for update)

Example:

"step_456xyz"

settings
object

Step settings

parentStepId
string | null

Parent step ID

branchId
string | null

Branch ID if placing step inside a conditional branch

Example:

"branch_1"

afterStepId
string | null

Preceding step ID in the linked list graph sequence

Example:

"step_123"

previousStepId
string | null

Previous step ID in the linked list

Example:

"step_123"

canvasPosition
object | null

Canvas position for UI

Response

Step details

id
string
required

Step ID

Example:

"step_xyz789"

name
string
required

Step name

Example:

"sendMessage"

displayName
string
required

Step display name

Example:

"Send Message"

settings
object
required

Step settings

isSkipped
boolean
required

Skip during execution

Example:

false

workflowId
string
required

Workflow ID

parentStepId
string | null

Parent step ID

branchId
string | null

Branch ID

previousStepId
string | null

Previous step ID

canvasPosition
object | null

Canvas position

Last modified on October 24, 2026