Split workflow block
POST
Split workflow block

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

workflowID
string
required
blockID
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

atStepID
string
required

The step that starts the new block. It and every step below it move there, and the step above it becomes the last step of the block. To make step X the last step, so that its fail and path ports run, send the step below X. It must not be the first step.

name
string

The new block name. Default: the block name with " (continued)".

expectedSteps
string[]
required

The block's step IDs exactly as your last read returned them. If the block changed, nothing is written.

acknowledgeRewire
boolean

Required when the step that becomes the last step has hidden links or actions. The split keeps them, so they start to run. An action list on its next exit is deleted, because next links to the new block.

Response

201 - application/json

Returns both blocks, head for the part that keeps the original ID and tail for the new one. Link a port to the tail block next.

head
object
required
tail
object
required
StableWorkflowBlock — see its attributes above

Actions on the next exit of the head’s new last step that were deleted, because next now links to the new block. Its hidden links are kept and now run.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.