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": -27946274.632124797,
"y": -37838326.623205185
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -55504843.02861358,
"y": -56578520.003761664
},
"error_handler": {
"name": "childJob",
"summary": "dolor sint Excepteur dolore eiusmod",
"description": "exercitation labore aliquip esse dolore",
"app": "enim ea",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/jaF/A.++kMRVvp0/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/La3nAQBg/G/ixeIZQ5tl/~0"
}
]
},
"groups": [
{
"name": "in",
"provenance": "aute do in sit sunt"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "ex",
"provenance": "sint deserunt eu mollit"
},
{
"name": "dolore anim dolore",
"provenance": "voluptate reprehenderit"
}
],
"_id": "334fa85c-9691-6e29-4699-2db7a97d4705",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1976-07-12T13:49:13.071Z",
"created_by": null,
"createdVersion": "aliquip consectetur dolore fugiat dolor",
"last_updated": "1955-10-12T03:32:17.285Z",
"last_updated_by": {
"username": "consectetur reprehenderit magna",
"provenance": "non aliqua magna"
},
"lastUpdatedVersion": "dolor aute qui",
"tags": [
{
"_id": "3bE6dbc6981Af00AF502De6a",
"name": "ut",
"description": "elit esse amet"
},
{
"_id": "5CF730AD19Fb8bF3b7b5Ae41",
"name": "sunt pariatur",
"description": "cupidatat"
},
{
"_id": "fcA70AB0A05fFFD33BcA97a9",
"name": "voluptate",
"description": "sit laboris minim"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/Mhss/yoliKo"
},
{
"type": "encryption",
"pointer": "/sfhwyfPNfD/FbBQG/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1"
}
]
},
"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"
}