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": [ "f9cf3dd44b770bf78b4fd313", "fcc628cd52ba8c7f456b63be" ], "nodeLocation": { "x": 80902098.1008366, "y": -32043228.65431708 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "59322ad970d00354fc60ca39", "3317dbc6946db50e1200b2ae", "5bc2cd21fd66bd724a26b31b" ], "nodeLocation": { "x": -99393655.7665256, "y": -76131527.7356672 } }, "error_handler": { "name": "childJob", "summary": "dolore cillum anim exercitation", "description": "Ut consequat fugiat veniam elit", "app": "mollit proident enim et", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/H3iefj5/~0" } ] }, "groups": [ "71e38ac97b4fe876236eb74f" ], "type": "operation", "nodeLocation": { "x": 64737756.163163245, "y": 9979047.77873826 }, "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "failure", "failure", "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "be74528968766254ccb7f88e", "d7a916ba01ae6893ef620ba5" ], "canvasVersion": 3, "_id": "8a8cfab2-5bf2-20e6-695e-1778c4c55548", "uuid": "e90edcd9-f81a-2341-fef7-77e973ae4feb", "namespace": { "type": "project", "name": "proident sit", "accessControl": { "read": [ "irure", "ut amet" ], "write": [ "commodo consectetur adipisicing" ], "execute": [ "ut", "Excepteur", "consequat mollit", "consequat", "in aliqua" ], "manage": [ "do in culpa nisi", "est eiusmod mollit elit", "Ut ullamco esse ex cillum", "Excepteur" ] } }, "description": null, "preAutomationTime": 5000, "sla": 49092080, "errorHandler": null, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "d41ed49ac926b4449db386ec", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "e26c1f9014cd591d18ee5c0a", "lastUpdatedVersion": "4.69.69", "tags": [ "veniam occaecat magna cupidatat", "anim ipsum Duis id dolore", "Excepteur esse in minim aliquip", "reprehenderit sit", "Excepteur" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~1/UpU-9I/~1/~0" }, { "type": "encryption", "pointer": "/~0/vOF3HlBkfd/~0/Xhua/zOwZRb" } ], "migrationVersion": 89026419 } }
{ "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": "Command Template Runner", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "1274ee4303c8345411d1177d", "983f769feefdd18f3ad28238", "3242a5df518b2841b27550ce" ], "nodeLocation": { "x": -46077948.20902673, "y": -38672917.109468274 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "aa876b9e0fec57fd13c57d8a", "4820061061b0bc7d8815ae88", "8f0d4e8092f0177fb8ada913" ], "nodeLocation": { "x": 31162137.031636357, "y": 20539884.534826264 } }, "error_handler": { "name": "childJob", "summary": "Lorem et mollit", "description": "non", "app": "cupidatat elit sunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" } ] }, "groups": [ "4f2e9e2a13f36d891901b67c", "ff00a0d82355bc50b58521c8" ], "type": "operation", "nodeLocation": { "x": -25037135.88754435, "y": 34523273.1473681 }, "deprecated": true, "scheduled": true, "retrySettings": null } }, "transitions": {}, "groups": [ "e8d96e748f897f8b18877ee6", "0d489c7b29622729c23e178d", "1791c426e6867c6b612cc04c" ], "canvasVersion": 3, "_id": "c5e8e1a0-62a6-73d5-ee6e-0611c254708c", "uuid": "082fde4d-9aa0-3b49-36bb-16308e0863ee", "namespace": { "type": "project", "name": "dolore nisi Ut eiusmod", "accessControl": { "read": [ "occaecat", "occaecat ut commodo ullamco pariatur", "pariatur", "enim dolor velit qui est" ], "write": [ "fugiat laboris esse ea quis", "labore nisi sit occaecat", "ea", "tempor laborum reprehenderit", "aliquip elit laborum nostrud in" ], "execute": [ "anim qui sit ea", "ullamco", "ut fugiat aliquip ex", "qui voluptate irure", "deserunt magna" ], "manage": [ "eiusmod", "labore proident esse elit consectetur", "ut eiusmod minim" ] } }, "description": null, "preAutomationTime": 250000, "sla": 40007490, "errorHandler": { "type": "dolor velit nulla laboris anim", "name": "nulla" }, "font_size": 12, "created": "2024-03-13T18:21:15.352Z", "created_by": "ec4ddd59afc9b71223529ee1", "createdVersion": "5.40.5-2021.1.72.0", "last_updated": "2024-03-13T18:21:15.352Z", "last_updated_by": "5f4fc24af1ab7e05d4d1f7de", "lastUpdatedVersion": "4.69.69", "tags": [ "veniam elit cupidatat", "Ut consectetur", "esse velit Excepteur", "reprehenderit esse incididunt ut dolor" ], "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/ng/~1/~0/~0/~0/~0/~1/~0/~1" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/tCe+/~1/~0/~1/AVP/~1/~0/sC+RKC/MqpJlB4b" } ], "migrationVersion": 65492574 }, "edit": "incididunt deserunt qui dolor" }
{ "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" ] }