Workflows

Duplicate Workflow

Creates a new workflow in the caller's active organization by deep-copying the source workflow's configuration, action chains, and child sheets. Data rows, run history, and sharing permissions are not copied; the new workflow starts empty and is owned by the caller. Pass folder_id from List Workflow Folders to place the copy in a folder; omit it or pass null for the top level. If the source ID is a child sheet, the copy remains attached to the same parent workflow; a non-null folder_id is refused there.

post/api/v1/workflows/{workflow_id}/duplicate

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

workflow_idstring required

ID of the workflow to duplicate.

Request body

namestring required

Name for the copy. Trimmed before saving and not required to be unique.

folder_idunknown

Example request

{
  "name": "Lead Enrichment Pipeline Copy"
}

Response

Default Response

statusinteger

Example response

{
  "data": {
    "name": "Lead Enrichment Pipeline Copy"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.