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": 68128665.13250339,
"y": -14931027.470328033
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -11032278.364367977,
"y": 90472501.62404174
},
"error_handler": {
"name": "childJob",
"summary": "ullamco esse minim ut",
"description": "non",
"app": "irure consectetur dolor ipsum ex",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/LaU0pQW/~1/r+OB+knCkm+/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/Rz8f9Qe/TnQx0.Fp"
},
{
"type": "encryption",
"pointer": "/ObEwc37h"
},
{
"type": "encryption",
"pointer": "/gr.luScC/~0/ZhAL/H23uC+/slM/k/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1"
}
]
},
"groups": [
{
"name": "incididunt minim",
"provenance": "irure"
}
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "voluptate laborum tempor",
"provenance": "adipisicing ut"
},
{
"name": "cillum sint",
"provenance": "ea ullamco ex consequat"
},
{
"name": "anim dolore",
"provenance": "ea sunt"
}
],
"_id": "5fed7197-7bf9-3031-98ed-ae492396e111",
"description": null,
"errorHandler": {
"type": "nisi aliquip amet",
"name": "deserunt consectetur anim ad amet"
},
"font_size": 12,
"created": "1974-07-05T17:57:48.766Z",
"created_by": null,
"createdVersion": "dolor in",
"last_updated": "1974-05-31T11:51:53.924Z",
"last_updated_by": null,
"lastUpdatedVersion": "ipsum velit amet",
"tags": [
{
"_id": "C1Abc728686e37c1AbbBeAFD",
"name": "cupidatat qui id exercitation culpa",
"description": "nostrud anim Duis officia"
},
{
"_id": "a6CEff2e2fC04EAAA2D3e029",
"name": "qui",
"description": "et fugiat"
},
{
"_id": "6526601917aAEebb2Fc7AA7e",
"name": "labore",
"description": "proident"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/YKkj/i7F7chB/~1/~0/~0/gqtklCv/YB"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/Sftc/RM.ygx/~0/~0/LyIqa7D49/~1/AjQLK/~0/i"
},
{
"type": "encryption",
"pointer": "/CMoTffFsvT/YX0QBv/~0/~1/~0/~0/~1/lBR5Gt8sC.o/~1"
}
]
}