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": -91821376.12191284,
"y": -42046304.05942922
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 59999552.72541371,
"y": -24372451.716340214
}
},
"transitions": {},
"groups": [
{
"name": "culpa veniam",
"provenance": "ipsum in"
},
{
"name": "reprehenderit",
"provenance": "officia dolor in commodo"
},
{
"name": "culpa sit est ut",
"provenance": "sed in ut"
},
{
"name": "consectetur non",
"provenance": "ad"
}
],
"_id": "2eb98145-046e-2744-f207-5d20df4440c9",
"description": "consectetur pariatur",
"font_size": 12,
"created": "1945-03-30T00:26:07.724Z",
"created_by": null,
"createdVersion": "in irure reprehenderit voluptate ad",
"last_updated": "2013-04-17T22:25:03.547Z",
"last_updated_by": {
"username": "ad minim mollit",
"provenance": "in"
},
"lastUpdatedVersion": "reprehenderit consectetur eu Duis 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"
}