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": "4321abcdef694aa79dae47ad",
"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": 6983122.891878411,
"y": 87254647.01014215
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -40516160.59197527,
"y": -18802766.440095156
},
"error_handler": {
"name": "childJob",
"summary": "nostrud labore officia Excepteur",
"description": "voluptate ut qui",
"app": "nostrud non nisi",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/kLL,/j472Wjb/VYmclJOHvj/~1/dt/~1/~1/EnUWY2s/S+l/qM1/~0"
},
{
"type": "encryption",
"pointer": "/l/~1/Z4OCORsRkV/~1/Q.1DU3R3"
},
{
"type": "encryption",
"pointer": "/~1/~0/~0/ETYMiE/LMJa/~0"
},
{
"type": "encryption",
"pointer": "/s/rTX/k9tx36K+Nw/BgQ/~0/~0/~1/~0/c42"
},
{
"type": "encryption",
"pointer": "/cwm"
}
]
},
"groups": [
{
"name": "in nulla quis commodo officia",
"provenance": "incididunt Excepteur sint"
},
{
"name": "incididunt dolor id enim sit",
"provenance": "pariatur"
}
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "magna ipsum sit",
"provenance": "nulla proident"
},
{
"name": "aute dolore elit labore qui",
"provenance": "in occaecat cillum ipsum aliqua"
},
{
"name": "pariatur proident Lorem ipsum",
"provenance": "est anim"
},
{
"name": "proident ullamco labore",
"provenance": "laborum"
},
{
"name": "officia dolor nostrud",
"provenance": "elit"
}
],
"_id": "5ddf7bc6-56f0-108e-2505-b65620a5bf1d",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1977-04-12T23:55:20.827Z",
"created_by": {
"username": "consequat amet",
"provenance": "fugiat sed ut"
},
"createdVersion": "magna in qui",
"last_updated": "1944-07-12T17:41:43.849Z",
"last_updated_by": {
"username": "incididunt",
"provenance": "anim"
},
"lastUpdatedVersion": "dolore nulla",
"tags": [
{
"_id": "14796dFd7A0B6FfC9D56a34D",
"name": "id Ut in dolore",
"description": "officia mollit ipsum"
},
{
"_id": "e68ED7A9Ed35Dc647Cd0ABe6",
"name": "proident velit",
"description": "exercitation amet sed"
},
{
"_id": "0DBefB3Ff253efCbc85e6A8D",
"name": "aute dolore cupidatat",
"description": "ut"
},
{
"_id": "aD15aA4129E8d45082AccaAb",
"name": "mollit dolor sed",
"description": "aute aliquip non aliqua"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/cWLkQu/cGN5.AhoItV/gmZPSno/~0/ns2GCsWVC+s/f1x16V/X,8aVo"
},
{
"type": "encryption",
"pointer": "/F8MYkAWii/~0/~1"
}
]
}