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": 89493053.23536244,
"y": -88749511.214214
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 29909836.648247093,
"y": 97020697.81735924
},
"error_handler": {
"name": "childJob",
"summary": "incididunt laboris ad tempor",
"description": "tempor veniam elit",
"app": "in officia sit sunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0"
},
{
"type": "encryption",
"pointer": "/BL3cORNDTrr"
}
]
},
"groups": [
{
"name": "in dolor elit laborum",
"provenance": "quis labore"
},
{
"name": "id in do in aliquip",
"provenance": "consequat"
},
{
"name": "est commodo ullamco officia",
"provenance": "dolore commodo culpa labore"
}
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "non culpa ad",
"provenance": "aliqua ex"
},
{
"name": "dolore sint ut veniam",
"provenance": "eu nisi"
},
{
"name": "Lorem eu",
"provenance": "voluptate aliquip Duis velit minim"
}
],
"_id": "92643e17-0f9a-10d9-13a0-42eb1b961c79",
"description": null,
"errorHandler": {
"type": "proident",
"name": "esse id fugiat non dolor"
},
"font_size": 12,
"created": "1945-04-01T22:04:36.924Z",
"created_by": {
"username": "aliqua fugiat occaecat enim",
"provenance": "ut"
},
"createdVersion": "reprehenderit aliqua deserunt esse",
"last_updated": "1987-11-04T08:20:34.167Z",
"last_updated_by": null,
"lastUpdatedVersion": "aute Excepteur officia",
"tags": [
{
"_id": "de9Ed54fFCbB84679CC41CcC",
"name": "laborum veniam non eiusmod eu",
"description": "consequat"
},
{
"_id": "8f03759358d9D17C4BC7e6cf",
"name": "enim ut incididunt",
"description": "reprehenderit ex pariatur Excepteur occaecat"
},
{
"_id": "6CbF6E7F478Bb5033Cf1b0Ae",
"name": "minim magna",
"description": "dolore sunt in"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/QftSHTPi/~0"
}
],
"migrationVersion": 39805720
},
"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"
}