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": -28331900.772020683,
"y": -95939652.7825945
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -5383635.6955886185,
"y": -49513632.70575891
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
{
"name": "nisi sint Lorem exercitation",
"provenance": "amet aliqua pariatur incididunt esse"
},
{
"name": "voluptate",
"provenance": "eiusmod Lorem sed ut pariatur"
},
{
"name": "mollit proident deserunt enim tempor",
"provenance": "amet"
},
{
"name": "laboris cillum",
"provenance": "Ut proident ea ut"
}
],
"_id": "499c3fac-b6ec-2d93-d5ed-c8ae1de24b1a",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1942-12-17T19:38:36.532Z",
"created_by": null,
"createdVersion": "id sit",
"last_updated": "1983-07-17T19:36:10.626Z",
"last_updated_by": null,
"lastUpdatedVersion": "ut amet ex labore",
"tags": [
{
"_id": "F300baF80574f69d7B5E3d87",
"name": "quis eiusmod ad fugiat commodo",
"description": "voluptate do sed dolor"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/TVC-/~0/~1/~1/DpJ8"
},
{
"type": "encryption",
"pointer": "/~1/~1/Ezgnh-/~1/~1/AT"
}
]
},
"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"
}