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": -89212988.67217344,
"y": 27726869.26453094
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -56389403.001692615,
"y": 60900515.04631236
}
},
"transitions": {},
"groups": [
{
"name": "magna ullamco",
"provenance": "cupidatat consectetur in elit"
}
],
"_id": "e5f5b56a-e9e0-3cd8-3f26-607fd9127f5d",
"description": "ea irure sed pariatur esse",
"font_size": 12,
"created": "1973-07-04T18:19:30.198Z",
"created_by": {
"username": "sit Lorem",
"provenance": "incididunt laborum eiusmod"
},
"createdVersion": "cupidatat",
"last_updated": "1988-05-30T12:38:56.161Z",
"last_updated_by": {
"username": "do dolore dolore aliquip mollit",
"provenance": "est in sunt"
},
"lastUpdatedVersion": "in"
},
"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"
}