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": 1877938.348667875,
"y": 70598067.39538291
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -32645225.093805715,
"y": -83329095.46739598
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
{
"name": "sint elit",
"provenance": "id irure minim in amet"
},
{
"name": "cillum consectetur laboris velit id",
"provenance": "est ad ullamco eu consectetur"
},
{
"name": "consectetur irure",
"provenance": "labore Lorem sunt"
}
],
"_id": "05b17399-197f-b392-f00d-57872c86ae66",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1948-04-13T22:09:26.569Z",
"created_by": null,
"createdVersion": "culpa et",
"last_updated": "1992-07-19T00:00:48.263Z",
"last_updated_by": null,
"lastUpdatedVersion": "in minim",
"tags": [
{
"_id": "89bFa089bFBBC9Cd0E0a2C4F",
"name": "adipisicing aliqua est enim",
"description": "commodo sint proident velit ad"
},
{
"_id": "EBC56fCa0fB53DEfd24baCF1",
"name": "sed eiusmod incididunt officia elit",
"description": "eu incididunt anim"
}
],
"canvasVersion": 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"
}