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": 30194774.45309548,
"y": 53129881.82227594
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 2575330.1037774235,
"y": 269518.95115958154
},
"error_handler": {
"name": "childJob",
"summary": "in consectetur officia tempor",
"description": "sunt",
"app": "incididunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/k9/JrNO/~1/kiRWz7j/~0/LN8dGr7A/~0"
},
{
"type": "encryption",
"pointer": "/Evj6pLpRu/~1/XUO/gf6/~1/uheE/TN/~1/~1"
}
]
},
"groups": [
{
"name": "laboris culpa anim in",
"provenance": "et elit Ut labore esse"
},
{
"name": "nulla sint",
"provenance": "nisi in"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "aliquip",
"provenance": "magna Duis commodo"
},
{
"name": "laborum veniam Lorem",
"provenance": "dolor"
}
],
"_id": "06699a37-611c-4632-4bdb-1018768d50d6",
"description": null,
"errorHandler": {
"type": "culpa dolore",
"name": "laboris esse"
},
"font_size": 12,
"created": "1965-09-01T12:19:13.325Z",
"created_by": null,
"createdVersion": "ipsum",
"last_updated": "1958-09-15T12:34:24.755Z",
"last_updated_by": {
"username": "commodo consectetur minim officia",
"provenance": "commodo sunt enim"
},
"lastUpdatedVersion": "magna aute consequat ullamco",
"tags": [
{
"_id": "24C18e1Fdf6E0aaccC72c0D5",
"name": "ullamco",
"description": "nisi irure"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~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"
}