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": -15302518.3654861,
"y": 16777830.08501552
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 8187417.399930745,
"y": -85657272.98794994
},
"error_handler": {
"name": "childJob",
"summary": "veniam",
"description": "irure cupidatat",
"app": "pariatur occaecat cupidatat nulla in",
"variables": {
"error": ""
},
"groups": [
{
"name": "sint aute",
"provenance": "esse"
},
{
"name": "ex et deserunt incididunt",
"provenance": "labore"
},
{
"name": "est ex quis",
"provenance": "anim id"
},
{
"name": "pariatur",
"provenance": "nisi nulla et"
}
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "consectetur sunt ex et laborum",
"provenance": "nulla"
},
{
"name": "est ullamco deserunt nisi incididunt",
"provenance": "est reprehenderit dolor ut"
}
],
"_id": "69bcfff7-4e17-32c6-f6ae-14250d49435b",
"description": "eiusmod",
"errorHandler": {
"type": "Duis dolor",
"name": "irure cillum qui nostrud pariatur"
},
"font_size": 12,
"created": "1968-09-18T20:55:40.073Z",
"created_by": {
"username": "tempor voluptate non dolore",
"provenance": "fugiat magna"
},
"createdVersion": "cillum ex adipisicing deserunt voluptate",
"last_updated": "1985-03-29T12:03:20.402Z",
"last_updated_by": {
"username": "dolore in velit ea anim",
"provenance": "elit consequat sunt"
},
"lastUpdatedVersion": "Ut qui ut laborum",
"tags": [
{
"_id": "FB963F26F397F896aa3B6181",
"name": "dolore",
"description": "proident sit veniam"
},
{
"_id": "fa26ab23f3FCBC5e5b866ecE",
"name": "eu Excepteur officia enim",
"description": "elit mollit id dolor ad"
},
{
"_id": "FA8020F1C8C0ABffA4ccD50E",
"name": "irure Lorem fugiat Excepteur cillum",
"description": "quis enim magna"
}
],
"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"
}