Authentication
Browser Sessions
Environments
Workflows
- POSTCreate a new workflow
- POSTExecute a workflow
- POSTExecute a workflow synchronously
- POSTList workflows
- POSTGet workflow
- POSTUpdate workflow blocks
- POSTSet workflow parameter schema
- POSTCreate workflow schedule
- POSTList workflow schedules
- POSTDelete workflow schedule
- POSTUpdate workflow schedule
- POSTDuplicate workflow
- POSTDelete workflow
Instructor
API Reference
Duplicate workflow
Creates a copy of an existing workflow with the name "{original name} copy"
POST
/
workflows
/
duplicate
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/workflows/duplicate \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "1"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"blocks": [
{
"id": "<string>",
"name": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"data": {},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
],
"parametersSchema": {},
"parametersDefault": {}
}
Body
application/json
Response
200
application/json
Workflow duplicated successfully
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/workflows/duplicate \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "1"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"blocks": [
{
"id": "<string>",
"name": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"data": {},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
],
"parametersSchema": {},
"parametersDefault": {}
}
Assistant
Responses are generated using AI and may contain mistakes.