Summary
Export Workflow
Description
Export a single Workflow
Route
POST /workflow_builder/export
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
match a workflow using _id or name or type |
Copied to Clipboard
{
"options": {
"_id": "5cb7b531d06cceb89fd21b1c",
"name": "someWorkflowName",
"type": "automation"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"title": "MongoDB ObjectId",
"description": "Id of Workflow document",
"examples": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
]
},
"name": {
"type": "string",
"description": "The name of the workflow",
"examples": [
"someWorkflowName"
]
},
"type": {
"type": "string",
"description": "The type of the workflow",
"examples": [
"automation"
]
}
},
"additionalProperties": false
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflow |
object |
Exported Workflow |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 56295087.58334333,
"y": 32514447.984767616
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -19858856.259699434,
"y": 78801840.50714707
},
"error_handler": {
"name": "childJob",
"summary": "non reprehenderit elit incididunt id",
"description": "tempor consectetur consequat id voluptate",
"app": "cillum exercitation proident",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/~1/~1/~1/MLXP-W0/I/~1/~0/qE0uQmM4t/f"
},
{
"type": "encryption",
"pointer": "/LvEWQQkxtRV/MJSc1TIIuM/~1/~1/D/vAcKwy"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/C,Qn"
},
{
"type": "encryption",
"pointer": "/P/uV/m/~1/kCnQ0w/ps+XD55/~0/~1/~1/~1/LjJiMzoFiV"
}
]
},
"groups": [
{
"name": "ea",
"provenance": "est fugiat laboris aute mollit"
},
{
"name": "consectetur",
"provenance": "et amet enim"
},
{
"name": "commodo exercitation",
"provenance": "et fugiat velit"
},
{
"name": "consectetur dolore",
"provenance": "nostrud eiusmod commodo id et"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "amet do",
"provenance": "irure id qui consectetur deserunt"
}
],
"_id": "2ac8a362-1975-7e18-d71c-93f72c918e8d",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1952-06-26T00:17:31.581Z",
"created_by": null,
"createdVersion": "Lorem fugiat sint cupidatat ex",
"last_updated": "1944-10-19T21:37:29.677Z",
"last_updated_by": null,
"lastUpdatedVersion": "officia Ut deserunt qui",
"tags": [
{
"_id": "A6b8a31B430DbceD9Bae8607",
"name": "laboris occaecat et proident irure",
"description": "laboris proident nulla veniam ut"
},
{
"_id": "A15B0f22De466a7ddbcD5fCA",
"name": "eiusmod irure ad",
"description": "officia et eu"
},
{
"_id": "7Dc4f30E91C6Def1F41B9CEC",
"name": "commodo tempor dolor Ut officia",
"description": "magna Ut ipsum ea aliqua"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/U1Q6nxs/nq-74/~1/~0/~0/~1/lrf3/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/uiFa,+8/~1/~1/errkCsClz/~1/A-H./VU/L24W"
},
{
"type": "encryption",
"pointer": "/~0/WUVBv/~0/~0/x/KgLj/N2Ya0/~0/pf.UB/~0"
},
{
"type": "encryption",
"pointer": "/XjW7/~0/p/~1/ROJCwJccV/N1/adg/~0"
},
{
"type": "encryption",
"pointer": "/Rt+T/U,LuRgldT/F2/~0"
}
]
}