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": -22354453.773669243,
"y": 26220845.707036138
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -15164157.639303073,
"y": 29862842.13770078
},
"error_handler": {
"name": "childJob",
"summary": "enim veniam voluptate",
"description": "culpa",
"app": "non",
"variables": {
"error": ""
},
"groups": [
{
"name": "voluptate",
"provenance": "exercitation"
},
{
"name": "et sit anim",
"provenance": "laboris Lorem nostrud et"
},
{
"name": "in",
"provenance": "sint"
}
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "ullamco occaecat in exercitation eu",
"provenance": "elit aute"
},
{
"name": "minim reprehenderit",
"provenance": "laborum sit ex sint minim"
},
{
"name": "eiusmod",
"provenance": "officia"
}
],
"_id": "83140dd8-edf0-9857-b3f5-ea758ce7449b",
"description": null,
"errorHandler": {
"type": "ipsum voluptate ullamco est",
"name": "esse"
},
"font_size": 12,
"created": "1981-04-10T13:53:24.808Z",
"created_by": null,
"createdVersion": "reprehenderit",
"last_updated": "1957-04-16T14:29:08.527Z",
"last_updated_by": null,
"lastUpdatedVersion": "ut cupidatat minim",
"tags": [
{
"_id": "B23a5bA19eA09cF0009Bfab1",
"name": "exercitation consequat adipisicing",
"description": "Lorem ullamco"
},
{
"_id": "e2E946fFf51dC0F47AFaBAE3",
"name": "officia dolor",
"description": "do in voluptate id quis"
},
{
"_id": "Ab6fC10dbfd1EDcf4c4c83Fa",
"name": "in Duis",
"description": "exercitation"
},
{
"_id": "a5daacDdacCe73a78fa440c5",
"name": "enim aliqua sunt Excepteur non",
"description": "labore qui velit in minim"
}
],
"canvasVersion": 2
},
"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"
}