younifyd
Menu

Duplicate Workflow

Duplicate a workflow

POST/v1/spaces/{space_id}/workflows/{workflow_id}/duplicate

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Duplicate Workflow action (under Workflows).
  3. Fill in the fields below, then reference the result from later steps as {{duplicateWorkflow.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

workflow_idintegerrequired

Numeric ID of the workflow.

Request body

Enter the body as JSON in the step's Body field.

workflowobject
json
{
  "workflow": {}
}

Response

Returns 201 with an object. Read it in later steps with {{duplicateWorkflow.response.data.<field>}}.

workflowobject
json
{
  "workflow": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Was this page helpful?