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": 55118524.637102425,
"y": 28709128.944108114
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 65222052.17183465,
"y": -6120830.3124065995
}
},
"transitions": {},
"groups": [
{
"name": "anim in elit ullamco",
"provenance": "mollit ea Lorem fugiat eu"
},
{
"name": "tempor sint non qui",
"provenance": "exercitation"
}
],
"_id": "05b20010-82e2-3766-cfe7-b719f8419803",
"description": "ad officia ex",
"font_size": 12,
"created": "1955-01-19T18:23:54.905Z",
"created_by": {
"username": "exercitation ipsum esse non",
"provenance": "occaecat"
},
"createdVersion": "deserunt ea consequat",
"last_updated": "1945-12-06T15:06:42.732Z",
"last_updated_by": {
"username": "reprehenderit",
"provenance": "ex dolore quis"
},
"lastUpdatedVersion": "amet Excepteur"
},
"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"
}