Clone workflow

Clone workflow

Endpoint

POST https://embedworkflow.com/api/v1/workflows/{id}/clone

Path Parameters

id string, required

System-generated unique identifier

Request Body

user_key string, optionaldefault: main

User's key

expand array, optional

Expand related objects

Response

Returns created.

Response Properties

id string

Unique identifier

actions_count integer

Number of actions in the workflow

created_at string

Created at in specified timezone

created_at_string string

Created at formatted as human-readable string

created_at_utc string

Created at in UTC

description string

Description of the workflow

event_trigger object

Event trigger configuration

event_trigger_draft object

Draft event trigger configuration

executions_count integer

Number of times workflow has been executed

has_draft boolean

Whether the workflow has unsaved draft changes

key string

Unique key for the workflow

last_published_at string

Last published at in specified timezone

last_published_at_string string

Last published at formatted as human-readable string

last_published_at_utc string

Last published at in UTC

match_conditions object

Conditions for matching workflow execution

match_conditions_draft object

Draft conditions for matching workflow execution

name string

Name of the workflow

object string

Object type identifier

on boolean

Whether the workflow is enabled

status string

Current status of the workflow

trigger_conditions object

Conditions for triggering the workflow

trigger_conditions_draft object

Draft conditions for triggering the workflow

updated_at string

Updated at in specified timezone

updated_at_string string

Updated at formatted as human-readable string

updated_at_utc string

Updated at in UTC

Errors

  • 404 - not found
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "id": "0198c2e9-cff6-7324-bebe-bf49e256734f",
  "actions_count": 0,
  "created_at": "2025-08-19T11:19:19-04:00",
  "created_at_string": "Aug 19, 2025 11:19 am EDT",
  "created_at_utc": "2025-08-19T15:19:19Z",
  "description": null,
  "event_trigger": null,
  "event_trigger_draft": null,
  "executions_count": 0,
  "has_draft": false,
  "key": "workflow_18_34",
  "last_published_at": null,
  "last_published_at_string": null,
  "last_published_at_utc": null,
  "match_conditions": null,
  "match_conditions_draft": null,
  "name": "Workflow 18",
  "object": "workflow",
  "on": false,
  "status": "off",
  "trigger_conditions": {},
  "trigger_conditions_draft": {},
  "updated_at": "2025-08-19T11:19:19-04:00",
  "updated_at_string": "Aug 19, 2025 11:19 am EDT",
  "updated_at_utc": "2025-08-19T15:19:19Z"
}