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": -71396230.32879081,
"y": 72676748.51505461
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 14435827.076384023,
"y": 98363174.45738447
},
"error_handler": {
"name": "childJob",
"summary": "eiusmod ut nulla quis",
"description": "dolor labore voluptate",
"app": "ullamco",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/e/XHkwCDCKd/~1/~0/~0/ru0GW"
}
]
},
"groups": [
{
"name": "ex ut aliquip minim exercitation",
"provenance": "irure fugiat"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "esse laboris mollit et",
"provenance": "aute non"
},
{
"name": "aliquip culpa minim ad",
"provenance": "magna"
},
{
"name": "et sed non",
"provenance": "in"
},
{
"name": "sint",
"provenance": "eiusmod"
}
],
"_id": "7bc95473-a684-94b7-01a4-8d66e3c1f245",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1953-08-05T14:13:05.067Z",
"created_by": {
"username": "ut",
"provenance": "dolor dolor"
},
"createdVersion": "veniam quis officia",
"last_updated": "1981-05-27T05:19:18.343Z",
"last_updated_by": null,
"lastUpdatedVersion": "laborum adipisicing esse",
"tags": [
{
"_id": "5137Fd69DCc5CaA900eddDa3",
"name": "Ut",
"description": "occaecat exercitation in"
},
{
"_id": "2DDEd4F3B3162D9dAC79CdaE",
"name": "sed ut sint in",
"description": "voluptate ex exercitation fugiat"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/TYJE2P4Ib/~1/dV/~1/~0"
}
],
"migrationVersion": 95019256
},
"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"
}