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": -83893637.57464308,
"y": -57466446.62388181
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 34916122.142369,
"y": -86157723.30971354
}
},
"transitions": {},
"groups": [
{
"name": "ipsum nulla consequat pariatur",
"provenance": "proident exercitation ea nisi in"
},
{
"name": "reprehenderit exercitation labore",
"provenance": "reprehenderit nulla"
}
],
"_id": "a5ee7adb-4192-4c51-9c73-6eb412e7a96b",
"description": null,
"font_size": 12,
"created": "1954-06-26T22:29:21.525Z",
"created_by": null,
"createdVersion": "fugiat",
"last_updated": "1959-12-29T11:32:18.886Z",
"last_updated_by": {
"username": "fugiat",
"provenance": "deserunt"
},
"lastUpdatedVersion": "minim"
},
"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"
}