Skip to main content
inputBulkUpsertWorkflowStepInput

Fields

stepId
ID

Optional step ID - if provided and exists in this workflow, step will be updated. Otherwise created with new ID.

type

The type of step: CONDITION or ACTION.

name
String

Optional name for the step.

payload
String!
required

JSON-encoded payload containing the action or condition configuration. See WorkflowStep.payload for the valid type values per step type and the note on non-portable, workspace-specific IDs.

transitions
[ID]!
required

Transition step IDs. ACTION steps: [nextStepId], CONDITION steps: [trueStepId, falseStepId]. Use null for terminal/no branch.

positionX
Float

X position of this step on the canvas.

positionY
Float

Y position of this step on the canvas.