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": 48088221.32902363,
"y": 86067401.49190184
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -70040976.14896238,
"y": -36344854.01255065
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
{
"name": "aliqua dolore in elit voluptate",
"provenance": "dolore pariatur laboris fugiat"
}
],
"_id": "4696ca26-3b7a-3fa9-dc99-e36c6a74ebb3",
"description": null,
"errorHandler": {
"type": "reprehenderit consequat ipsum do",
"name": "dolore ullamco nostrud"
},
"font_size": 12,
"created": "1945-12-12T23:37:32.072Z",
"created_by": {
"username": "pariatur deserunt dolore aliquip",
"provenance": "reprehenderit"
},
"createdVersion": "adipisicing sunt pariatur officia in",
"last_updated": "2000-10-16T01:21:52.016Z",
"last_updated_by": {
"username": "adipisicing minim dolor fugiat",
"provenance": "ut in cillum"
},
"lastUpdatedVersion": "dolor tempor dolore do mollit",
"tags": [
{
"_id": "c552FdB5E8DB0FDEB5a6EaEe",
"name": "est ut adipisicing",
"description": "eiusmod anim nostrud enim sit"
},
{
"_id": "be06D4a5da6fDCC07a73Be0D",
"name": "laborum dolore et",
"description": "elit adipisicing est nulla veniam"
},
{
"_id": "6ded3c1aea3B0aA481BaD7d7",
"name": "nostrud",
"description": "dolore dolor"
},
{
"_id": "44c591783381dBF75Eee7f4E",
"name": "esse sunt",
"description": "Ut"
},
{
"_id": "0C3b7346E7B1fDe5ca18F54a",
"name": "nulla Lorem in ex",
"description": "deserunt pariatur"
}
],
"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"
}