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": -78908975.46943334,
"y": -48793547.69124764
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -55099938.647897065,
"y": -6642276.130843341
},
"error_handler": {
"name": "childJob",
"summary": "laboris adipisicing non",
"description": "veniam",
"app": "consequat fugiat irure incididunt qui",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~1/Hh2/mmoVIDA/VLt8GsoWgS/bNk/joQd.Jy/c735GRQXH"
}
]
},
"groups": [
{
"name": "officia ad",
"provenance": "aliquip velit et enim Excepteur"
},
{
"name": "qui veniam in",
"provenance": "consectetur irure officia et"
},
{
"name": "veniam sint ipsum",
"provenance": "voluptate velit sed cupidatat"
},
{
"name": "deserunt est eu proident",
"provenance": "eu"
},
{
"name": "laboris non sit",
"provenance": "ut laboris ipsum anim"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "qui non dolore ad",
"provenance": "id in enim ex dolor"
},
{
"name": "Lorem cillum",
"provenance": "eu Ut cupidatat"
},
{
"name": "aliqua commodo",
"provenance": "anim ut pariatur qui"
}
],
"_id": "c8216bee-1089-1c10-e0f2-80dbc5c41ae2",
"description": "in",
"errorHandler": {
"type": "deserunt reprehenderit pariatur enim laborum",
"name": "amet dolor et do nostrud"
},
"font_size": 12,
"created": "1975-06-13T18:44:40.132Z",
"created_by": null,
"createdVersion": "eu ut cupidatat elit",
"last_updated": "1956-08-03T10:22:39.506Z",
"last_updated_by": null,
"lastUpdatedVersion": "aute Lorem",
"tags": [
{
"_id": "e80EFEceEdfBB00F60cf50f1",
"name": "in ullamco quis eiusmod Excepteur",
"description": "nostrud"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/gcJ/~1/y1l/dH1SF3/~0"
}
]
},
"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"
}