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": -85046612.11210398,
"y": 5124950.53050217
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -41506792.08094341,
"y": -85074054.92828691
},
"error_handler": {
"name": "childJob",
"summary": "tempor Excepteur",
"description": "adipisicing tempor consectetur in",
"app": "Lorem mollit ut",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/j-dn53I13To/CTh6UUg0V/otUiI/~1/ARVWfC/~1/~1/Xt/Am7A6Pjt/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/gQWhjOtcn/D7iv8Yw/~1/~0/bYgkqKvp/G7k80g8n/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/GA/ATIrIUR/~1/p7lc/~0/zoQN5O/ng/Nn0bml1Oqj/~0/ex7m"
},
{
"type": "encryption",
"pointer": "/~0/~1/iIhYD-p9YU7/jmaVFv/imdD-aAzR/PISQVrX.kbW/vXP/~1/~0/c6/~1"
}
]
},
"groups": [
{
"name": "ea",
"provenance": "do mollit magna pariatur commodo"
}
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "cupidatat dolor commodo eu",
"provenance": "tempor officia velit elit aute"
},
{
"name": "eiusmod eu enim",
"provenance": "consectetur velit ipsum ullamco"
},
{
"name": "Duis amet ad dolore do",
"provenance": "est exercitation dolor elit fugiat"
},
{
"name": "ipsum velit",
"provenance": "aute nulla enim"
}
],
"_id": "8bce9c84-332e-d5dd-76af-39dddb53a96f",
"description": "minim ut sunt ut",
"errorHandler": {
"type": "nisi labore",
"name": "minim"
},
"font_size": 12,
"created": "1971-10-21T01:20:06.062Z",
"created_by": {
"username": "proident",
"provenance": "dolore"
},
"createdVersion": "ipsum labore",
"last_updated": "1981-08-08T17:58:56.143Z",
"last_updated_by": null,
"lastUpdatedVersion": "est ut",
"tags": [
{
"_id": "6146D8FfCae357ba5bbBe852",
"name": "dolor mollit magna velit",
"description": "Duis anim culpa"
},
{
"_id": "506B81cDdEB07Cc560aEFd76",
"name": "do laborum dolore",
"description": "ipsum eiusmod enim"
},
{
"_id": "B940F12edA8661EbD30259C8",
"name": "amet",
"description": "labore fugiat sunt velit nulla"
},
{
"_id": "9919Abdb65ba2b913b94dbAb",
"name": "culpa enim eiusmod",
"description": "cupidatat est"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/jFHyz/~1/m/~0/V"
},
{
"type": "encryption",
"pointer": "/~0/Tj3yJCGhd/~0/yraPpo7DCtN/~1"
},
{
"type": "encryption",
"pointer": "/xbhrkrIC/dkdEu/zf13/~1"
},
{
"type": "encryption",
"pointer": "/snQxLXs8Q/~1/tjjO/pM//LShs/~1/x3/~1/dfYBKIuWT3g"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/OeRX/xM4NT0T/~1/~0/~1/~1/t.E4DBvngD"
}
]
}