Summary
Import Workflow
Description
Import a single Workflow
Route
POST /workflow_builder/import
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
A workflow payload object |
options |
object |
yes |
Import options: adapterMap (optional) |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 19643348.598869443,
"y": 2819271.448632106
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 44788025.197833955,
"y": 84040929.59956843
},
"error_handler": {
"name": "childJob",
"summary": "ipsum dolore anim",
"description": "commodo dolor in nostrud",
"app": "et",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/nEzcPL9"
},
{
"type": "encryption",
"pointer": "/vqXF/A1UAI3r6D/uv82R/~0/Cee/6OBa4A/~1/xc"
}
]
},
"groups": [
{
"name": "sit ea",
"provenance": "Duis cupidatat exercitation nulla in"
}
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "laboris sint labore",
"provenance": "commodo ex magna velit Lorem"
},
{
"name": "eu dolor",
"provenance": "fugiat Ut"
}
],
"_id": "737bdce2-fbbe-cfb2-6bee-470f9a9789a8",
"description": "sed ad exercitation sint irure",
"errorHandler": null,
"font_size": 12,
"created": "1991-11-27T20:55:05.315Z",
"created_by": {
"username": "ipsum",
"provenance": "veniam incididunt id qui dolore"
},
"createdVersion": "incididunt aute Excepteur amet",
"last_updated": "1968-01-06T03:56:47.566Z",
"last_updated_by": null,
"lastUpdatedVersion": "elit nisi adipisicing ut voluptate",
"tags": [
{
"_id": "00D7aA5e7fDB4CfF36dcEF3b",
"name": "velit ad exercitation Ut dolore",
"description": "minim id enim cupidatat"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/d2PpzKu-/~0/~1/~1/~0/sr/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/q/X9kGm,7G/C/FW5IbI.--/~1/~1/U3xuEE"
},
{
"type": "encryption",
"pointer": "/BS0sRM/a7j/Hjc.5V+Rlz/~0/~1/~0/~1"
}
],
"migrationVersion": 7469193
},
"options": {}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow": {
"$ref": "workflowPayload"
},
"options": {
"type": "object",
"properties": {
"adapterMap": {
"type": "object"
}
}
}
},
"required": [
"workflow",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Import status Object |
Copied to Clipboard
{
"type": "object",
"title": "result"
}