Summary
Creates a new workflow document.
Description
Creates a new workflow document.
Route
POST /automation-studio/automations
Roles
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| automation | object | yes | Workflow to create. |
{ "automation": { "name": "Port Turn Up IOS", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "d23098d01b1889b7a0573b5e", "cdf36d94b5caee84b247a789", "a480cbc4ac35025ea507aa6a" ], "nodeLocation": { "x": -57651026.85961589, "y": 23593982.74586661 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "941ea10ac64f52ecce4aa65e", "9e02e9ea009ea3d0ddc10134" ], "nodeLocation": { "x": -15362705.131230041, "y": 74336792.76336592 } }, "error_handler": { "name": "childJob", "summary": "Excepteur", "description": "cupidatat aute magna amet dolor", "app": "magna do", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/~0/LiXPTD/~0/~1/rw/~1/rj" }, { "type": "encryption", "pointer": "/X8/O9NeNOa./~0/~0/sGhHJFP1,/~0/~1/ZTxZ/~1" }, { "type": "encryption", "pointer": "/lo2oyAq/~0/~0/uj2Xu/klK/~0/by6/t52X1ix/~1/~0/AH6" } ] }, "groups": [ "a859eb9e53025e3cb82dc3cf", "e32e385010eae517624f7838", "3c7800666853807d49872890", "e474c0eb52de4ee574abce79", "97354c5f5d369d9972e31e22" ], "type": "operation", "nodeLocation": { "x": -1407203.241738975, "y": -47779491.475755 }, "deprecated": true, "scheduled": true, "retrySettings": null } }, "transitions": {}, "groups": [ "a5d0eeb6e84ecd0a6bae88ce", "eabf3931f478ad8c528245ae" ], "canvasVersion": 3, "_id": "97a7c145-b35d-10e8-e6f0-eb4613db8f16", "uuid": "d65ed59d-3cde-bcb5-0b97-907e9c2603be", "namespace": { "type": "project", "name": "irure aliquip cupidatat esse", "accessControl": { "read": [ "Lorem ut qui et laboris" ], "write": [ "ad", "ex laborum in exercitation non", "eu sit", "sed et Duis pariatur quis" ], "execute": [ "velit est eu" ], "manage": [ "commodo", "deserunt in proident" ] } }, "description": "Push Config to Device", "preAutomationTime": 5000, "sla": -40197932, "errorHandler": null, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "6f7d9f8382d85dde813d0552", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "c304a3013293a141e403fc76", "lastUpdatedVersion": "4.69.69", "tags": [ "ipsum Duis minim pariatur aliquip" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/Rqs.MkGng/~0/~0/~1/Q.OzZVkK9ah/jNNlBcqBm-/~0/~1" }, { "type": "encryption", "pointer": "/qBT/~0/iyI.EBX/t0NwUq+/~1/~0/pY1/Mxa/IPc/WwFTW,UsFM2" }, { "type": "encryption", "pointer": "/AtO-o9yQU,/WNo2/~0/dT+Xsi7uvS" } ], "migrationVersion": 18910894 } }
{ "type": "object", "properties": { "automation": { "title": "automation", "$ref": "workflowDocument" } }, "required": [ "automation" ], "additionalProperties": false }
Return
| Name | Type | Description |
|---|---|---|
| response | object | Created workflow and associated edit URI. |
{ "created": { "name": "Port Turn Up IOS", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "758f94beea3272c427408307", "eac37251781c077d94852397" ], "nodeLocation": { "x": 75918395.82116556, "y": 17997460.59340994 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "37a27ce2016c29fd298b2902", "664f712b51a670105e0f5595" ], "nodeLocation": { "x": -26275989.714336306, "y": 65536744.88495213 } }, "error_handler": { "name": "childJob", "summary": "et consequat", "description": "esse mollit", "app": "nulla", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ws/6O" }, { "type": "encryption", "pointer": "/~1/KH20h2th/CGJABD/s-K28TTU.d/~1/~0" }, { "type": "encryption", "pointer": "/b/~1/~0/~0" } ] }, "groups": [ "d8592c4cc3662afc935af744", "4399a3571a6c5473229ce8d8", "309d9b936cf421144fa11f27" ], "type": "operation", "nodeLocation": { "x": 15181032.77045104, "y": -64189263.11912472 }, "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "error", "error", "error", "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "6f4435cc4f6f76e56f609a8e" ], "canvasVersion": 3, "_id": "54685053-3d8b-8f9d-010a-699e8269a83a", "uuid": "8956c938-1c5e-365a-9f01-8cba95d5c422", "namespace": { "type": "project", "name": "sint consequat", "accessControl": { "read": [ "eu ex Duis laboris", "dolor pariatur dolore aliqua sit", "non anim minim cillum Duis", "minim pariatur" ], "write": [ "ea anim do" ], "execute": [ "in ut occaecat anim sunt", "dolor Lorem nulla", "minim enim laboris ex veniam", "ipsum Ut ex", "adipisicing do mollit eiusmod nostrud" ], "manage": [ "in pariatur ullamco ipsum" ] } }, "description": null, "preAutomationTime": 5000, "sla": 73600463, "errorHandler": { "type": "dolore", "name": "non in sint" }, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "baeebfcb20bba4b7e2d341f2", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "461a3e94783d9d29b1a894d0", "lastUpdatedVersion": "4.69.69", "tags": [ "in laborum elit" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/srQgYw/XsRuS0bh3U/~0" }, { "type": "encryption", "pointer": "/~1/XHRAuRWa-/s/VPMYy5L8JSH/lD0yqUr61/~0/~0/~0/~1" }, { "type": "encryption", "pointer": "/~1/AYNEMLO/FMQupVEHM/fK/n0/bv/~1/~0/l+YqkdfK3N5/dwiQ6.j/~0" }, { "type": "encryption", "pointer": "/~1/~0/t0Bq+eDT.Hl/nu9/9nAd/~0/~1/~0/~0/~1/~0/fARR-v9u-kX" } ], "migrationVersion": 90167576 }, "edit": "dolore cupidatat nulla sit" }
{ "title": "response", "type": "object", "description": "Created workflow and associated edit URI.", "properties": { "created": { "$ref": "workflowDocument" }, "edit": { "type": "string", "description": "URI to the edit page for the newly created workflow." } }, "required": [ "created", "edit" ] }