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": "Command Template Runner", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "f1f7eda22698e333ab95fe94" ], "nodeLocation": { "x": 97656906.85736862, "y": 60438589.424602926 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "e5432eab126be149456b110a", "5ba50ff0007fd48338d94b5c", "f18db86c6c9c2f319cef05b8", "98f2c204bbddce169b56b75b", "f94fd2602cc1b2d82be4b8c8" ], "nodeLocation": { "x": -52539986.17153393, "y": 79788399.74345839 } }, "error_handler": { "name": "childJob", "summary": "magna in cillum", "description": "ea", "app": "do qui ipsum culpa", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/kv0/Sr/MMS,NRg+6g/~0/Z/~0/~0/k-qT/RF+qDiBQ" }, { "type": "encryption", "pointer": "/~1/aVCGlcVD8rg/~1/FOz/RGFx1,h" }, { "type": "encryption", "pointer": "/w3AS/A+tszi/~1/~0/~0/Lo/AFor/70oC/~1/~1/RrwRW/zKXB" }, { "type": "encryption", "pointer": "/~1/~1/~0/~0" }, { "type": "encryption", "pointer": "/n/QKkkJYGDGv/~0/QvHugs/pLkTJtQw/~1/~1/~1" } ] }, "groups": [ "c6af5322584df34651e3435a", "f9ff0417e8100ead75e371ea", "715c1818baed325810ca5846", "f9d608e88c60d1fbdd6913c1" ], "type": "operation", "nodeLocation": { "x": 13706882.122142613, "y": -57094280.66044948 }, "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "error", "error", "failure", "failure" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5b58669a6d587d3511b9ce6f", "366ade7fa01d5457aa41a0f7", "17d6df5062b59547063c3021", "d3b1eee99a829feb708bed46", "f418198699329d05296bf64a" ], "canvasVersion": 3, "_id": "7cb8e575-5837-f3c3-5e3a-8ccc17f7c27a", "uuid": "30ff3726-ff1f-65c3-8a99-729fe61a7da4", "namespace": { "type": "project", "name": "Ut qui ipsum", "accessControl": { "read": [ "aute occaecat qui nisi" ], "write": [ "in", "elit aliquip sunt", "irure laboris non anim dolore", "ea minim culpa fugiat ut" ], "execute": [ "enim nulla dolore irure" ], "manage": [ "magna nulla" ] } }, "description": null, "preAutomationTime": 250000, "sla": 59525484, "errorHandler": { "type": "et Lorem ullamco", "name": "sed dolor dolore nostrud aliqua" }, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "c8402154d12754bd8ca393f4", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "15a5b714b4b1255d4eec8d18", "lastUpdatedVersion": "4.69.69", "tags": [ "aliquip", "consequat", "cupidatat", "enim", "non deserunt velit Duis quis" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1/A1/+RI" } ], "migrationVersion": 24574233 } }
{ "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": [ "81589919bbf6407549352bc7", "317faf9e0ef543f481d4168d", "c5b9be54201537aa8ba556d4" ], "nodeLocation": { "x": -65571161.04025988, "y": 33337128.81755835 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "a7c4b0d8a4e23d1787d1f481", "8698535f4c78264e95e175f1", "809f045fb9f4a086797068dc", "45cd33ff43fdc0f4217bffd4" ], "nodeLocation": { "x": -4273504.544903204, "y": -93236848.3617811 } }, "error_handler": { "name": "childJob", "summary": "ut Excepteur eiusmod nisi sed", "description": "in est", "app": "irure exercitation esse magna", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/o/~1/W5FLQ" }, { "type": "encryption", "pointer": "/~1/mxKhM/~1/dCs4/I.Sv" }, { "type": "encryption", "pointer": "/~1/~1/dNRHB9Yceb/~0/~0/~1/rI/Lu/~1/~0/AmAx8" } ] }, "groups": [ "db54f9e0b625df928cec5493", "66e5dd4c153402f583604fc1", "7db74f755fb531188fbbffb3", "2fc05ce4ffde51ec7cbd5996", "2113c271a1f570946611f3e6" ], "type": "operation", "nodeLocation": { "x": -23414540.50443113, "y": -47819521.461077794 }, "deprecated": true, "scheduled": true, "retrySettings": null } }, "transitions": {}, "groups": [ "6797060520798a9c5074bea7" ], "canvasVersion": 3, "_id": "21afbb97-da52-1899-f4e0-901adfe2353a", "uuid": "67ea8f80-84cb-7555-5f51-88f14f994ae2", "namespace": { "type": "project", "name": "in eu Excepteur nisi", "accessControl": { "read": [ "ad ea deserunt" ], "write": [ "eiusmod ipsum pariatur eu esse" ], "execute": [ "ullamco quis ad", "exercitation", "magna sed", "aliqua qui", "ex consequat do pariatur" ], "manage": [ "dolore", "Excepteur" ] } }, "description": null, "preAutomationTime": 5000, "sla": -3518858, "errorHandler": null, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "c90cfb44f432a2a8bbcf4041", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "5e08342c8ff02bcfa16d8097", "lastUpdatedVersion": "4.69.69", "tags": [ "pariatur occaecat enim aliquip", "est qui" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1/~1/uUiuA/T-0K4e7V/OwvKGpg4Vk0/~1" }, { "type": "encryption", "pointer": "/EUC7/Y/~1/krAXB.xjd/ciNv9XEuf/~1/~1" }, { "type": "encryption", "pointer": "/~0/LB" }, { "type": "encryption", "pointer": "/Uuf/RKG.46/EAKJP3/ZZ/~0/~1/n9O3NP+ea/RkAX/r8fzp/~1" } ], "migrationVersion": 67430088 }, "edit": "magna" }
{ "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" ] }