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": 93662524.65621838,
"y": 63410368.81763896
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -83616178.6993213,
"y": -3405577.73836112
},
"error_handler": {
"name": "childJob",
"summary": "irure eiusmod",
"description": "consectetur",
"app": "enim cupidatat ipsum Ut Excepteur",
"variables": {
"error": ""
},
"groups": [
{
"name": "nostrud nisi laborum quis",
"provenance": "esse aliquip in tempor"
},
{
"name": "ipsum ut",
"provenance": "qui tempor dolore"
},
{
"name": "eiusmod laboris eu velit",
"provenance": "cillum Excepteur"
},
{
"name": "anim ullamco Excepteur",
"provenance": "labore ut magna"
}
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "in",
"provenance": "est enim dolor sunt"
},
{
"name": "do Excepteur sint incididunt",
"provenance": "adipisicing fugiat officia"
},
{
"name": "ipsum",
"provenance": "aliquip exercitation"
},
{
"name": "consequat",
"provenance": "eiusmod ipsum"
}
],
"_id": "0f80b238-a3ab-c7f8-4c8b-485722484b7f",
"description": "ex aute irure est sint",
"errorHandler": {
"type": "nulla amet",
"name": "in"
},
"font_size": 12,
"created": "1955-07-15T03:26:09.45Z",
"created_by": {
"username": "aliquip",
"provenance": "Lorem ex"
},
"createdVersion": "aute",
"last_updated": "1988-09-01T11:53:51.065Z",
"last_updated_by": {
"username": "mollit",
"provenance": "proident nulla consectetur"
},
"lastUpdatedVersion": "sunt consequat incididunt cillum",
"tags": [
{
"_id": "bE119D5DFCdFeEE287d0Bfe8",
"name": "consectetur adipisicing minim mollit",
"description": "magna eu ad in amet"
}
],
"canvasVersion": 2
},
"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"
}