Summary
Imports a new workflow document.
Description
Imports a new workflow document.
Route
POST /automation-studio/automations/import
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
automations | array | yes | Workflows array. |
{ "automations": [ { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "dolor do velit", "provenance": "nulla dolor voluptate" }, { "name": "amet", "provenance": "et irure laborum voluptate" }, { "name": "sunt", "provenance": "laboris adipisicing consectetur Duis" }, { "name": "tempor ut sit", "provenance": "proident cillum ullamco ex" }, { "name": "minim veniam", "provenance": "amet officia incididunt" } ], "gridCoordinate": { "x": -92197070.44107053, "y": -29357796.731637806 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "Lorem anim nulla", "provenance": "ea" } ], "x": 24896086.729219124, "y": -29864453.767196238 }, "error_handler": { "name": "childJob", "summary": "ex et do", "description": "dolor", "app": "aliqua", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/gw/C,7kJax" }, { "type": "encryption", "pointer": "/~0/~1/o/q2mA0zh/~0/fv1FhRQJlF" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/~1/EQm37f/jOf5H1JYv/k/P4S.Jw/TjQx5qu+-f/v/WH" } ] }, "groups": [ { "name": "nostrud magna", "provenance": "do reprehenderit nisi nulla fugiat" }, { "name": "laboris reprehenderit in occaecat", "provenance": "culpa laboris" } ], "type": "operation", "x": -51756965.202952586, "y": -54889992.66445664, "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "ea exercitation", "provenance": "id ullamco" }, { "name": "nulla aute sed tempor velit", "provenance": "nulla pariatur" }, { "name": "et ullamco", "provenance": "reprehenderit enim" }, { "name": "nostrud anim", "provenance": "eu" }, { "name": "ad minim", "provenance": "tempor quis" } ], "_id": "cd38b736-2f83-f04f-6f42-8be598b0e057", "description": null, "preAutomationTime": -4636501.608406544, "sla": 93402089.43898007, "errorHandler": { "type": "dolore dolor", "name": "eiusmod esse" }, "font_size": 12, "created": "1945-03-18T21:36:27.197Z", "created_by": { "username": "incididunt", "provenance": "officia culpa qui in" }, "createdVersion": "officia", "last_updated": "1949-11-16T18:13:30.393Z", "last_updated_by": { "username": "qui in", "provenance": "non in" }, "lastUpdatedVersion": "in", "tags": [ { "_id": "cA0d93FAd9E99352ACb8eeEF", "name": "eiusmod proident ut", "description": "deserunt Ut anim" }, { "_id": "bD9bc577BFdc17D1cfF133Be", "name": "aliquip ad", "description": "adipisicing exercitation sunt" }, { "_id": "b0BE90C8fb0FfE0C4f4C04Dc", "name": "esse commodo eiusmod", "description": "reprehenderit id in fugiat ad" } ], "canvasVersion": 2, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/G/~0/KoZ+ndMJorO" }, { "type": "encryption", "pointer": "/~0/el3CBSb9x" }, { "type": "encryption", "pointer": "/jzbbv/~0/~0/ahyMp/QR-MoTtLzy/FFO" } ], "migrationVersion": -9234782 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "ad sed ut deserunt", "provenance": "dolor laboris" }, { "name": "exercitation magna dolore ex consectetur", "provenance": "elit" }, { "name": "id", "provenance": "ad mollit nulla aliqua in" }, { "name": "culpa", "provenance": "magna esse dolor exercitation" }, { "name": "occaecat dolor reprehenderit", "provenance": "ipsum" } ], "gridCoordinate": { "x": 34329849.93109965, "y": -61146951.963687755 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "adipisicing eiusmod exercitation ut", "provenance": "est Duis" }, { "name": "Duis", "provenance": "Ut in consectetur" }, { "name": "nostrud consequat", "provenance": "sint aute in quis" } ], "x": -36840466.35936045, "y": 16998340.011223465 }, "error_handler": { "name": "childJob", "summary": "commodo veniam est sint et", "description": "veniam", "app": "officia enim et", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0" } ] }, "groups": [ { "name": "elit minim do amet ullamco", "provenance": "voluptate irure" }, { "name": "labore", "provenance": "irure in Ut" }, { "name": "eu ipsum", "provenance": "dolor Duis" }, { "name": "id", "provenance": "magna tempor" } ], "type": "operation", "x": 75504740.0072129, "y": -1655844.3125402927, "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "consequat Lorem", "provenance": "reprehenderit" }, { "name": "eiusmod voluptate non proident", "provenance": "tempor sint id mollit proident" }, { "name": "aliqua non Ut nisi do", "provenance": "aliquip do ipsum culpa" } ], "_id": "70cabc83-392f-b3a2-4238-ff50348bbe18", "description": "dolore esse", "preAutomationTime": 64828557.8001076, "sla": -70033548.58572073, "errorHandler": { "type": "sunt dolore", "name": "voluptate veniam quis" }, "font_size": 12, "created": "1998-01-11T14:09:29.303Z", "created_by": { "username": "sunt minim", "provenance": "id nostrud minim non" }, "createdVersion": "in nostrud", "last_updated": "1976-02-21T21:13:48.344Z", "last_updated_by": null, "lastUpdatedVersion": "enim nostrud nulla ut nisi", "tags": [ { "_id": "Ecd425D91428bcAAeB37AeFF", "name": "commodo sunt ullamco anim", "description": "dolore" }, { "_id": "584ef849ECE5c0f86FA51D35", "name": "ad labore quis qui", "description": "dolore sint ex" }, { "_id": "EaA57e70faEb12dbE0ebC1a1", "name": "eiusmod laboris irure", "description": "occaecat Duis est" }, { "_id": "8FeabFc1fA7da0afB1ba873E", "name": "minim sint non", "description": "dolor sunt Lorem" }, { "_id": "DFCC57E0ACabD7D62f7b0e46", "name": "nulla", "description": "exercitation sit ipsum ut" } ], "canvasVersion": 1.5, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/snSPTzBQ1z/i+u5u/UG6/~1/~0/~1/vClwI7o" } ], "migrationVersion": 20650437 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "tempor aliqua", "provenance": "Ut ea officia" }, { "name": "esse", "provenance": "adipisicing" }, { "name": "officia", "provenance": "quis Ut amet ullamco" }, { "name": "Excepteur pariatur", "provenance": "ipsum dolor" }, { "name": "in do et veniam", "provenance": "aute" } ], "gridCoordinate": { "x": -41187111.726392664, "y": -13750306.377408877 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "sed sit est nisi qui", "provenance": "irure et ex in" }, { "name": "qui nostrud proident in", "provenance": "non elit" } ], "x": -7219715.270569399, "y": 88192623.0048208 }, "error_handler": { "name": "childJob", "summary": "anim tempor non", "description": "aute Excepteur quis aliqua Duis", "app": "reprehenderit ea ut proident eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/xiDUJ/hfEoBrO60/~0/~1/~0/~0/DH-GBU3/~1/~0/pNT" }, { "type": "encryption", "pointer": "/~0/mXr7/Z,/la1+C/y1t46/~1/A08,wa6HXKa/~0/~0/yYtpLsUt/~0" }, { "type": "encryption", "pointer": "/~1/r5qxXi/C/mejR/~1/~0/NnQlFDh/~1/~0/~1" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/~0/~1" } ] }, "groups": [ { "name": "nisi adipisicing ipsum officia", "provenance": "ullamco ea" } ], "type": "operation", "x": 49667324.01693994, "y": -77034836.15453553, "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "adipisicing anim elit", "provenance": "non Excepteur officia sit" } ], "_id": "38860bcd-4712-3019-9bc8-93f9175045c4", "description": "ullamco", "preAutomationTime": 65618692.82853481, "sla": 71666207.99234384, "errorHandler": null, "font_size": 12, "created": "1967-04-15T22:57:10.979Z", "created_by": { "username": "exercitation Excepteur consectetur do", "provenance": "elit" }, "createdVersion": "deserunt", "last_updated": "2000-05-22T12:04:50.443Z", "last_updated_by": null, "lastUpdatedVersion": "in", "tags": [ { "_id": "85D2Db193cEE8eaFF08A335E", "name": "ut quis sint Duis", "description": "fugiat" }, { "_id": "4eD63A8D99E74EcCddAcDeCA", "name": "commodo ut sed cupidatat nulla", "description": "ullamco irure" }, { "_id": "7e1dE6Ef62aB9b22daDEF845", "name": "commodo nostrud aliquip velit", "description": "consectetur" } ], "canvasVersion": 2, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/E/dnKUgCCG/~1/pNAj/ma/h7Ky/~1/~1" }, { "type": "encryption", "pointer": "/v.RCfqJN9/~0/~0/~0/~0/~1/~1" }, { "type": "encryption", "pointer": "/~0/W/KKZ+/~1/~0/w" }, { "type": "encryption", "pointer": "/DJ3pa0/JK.mV/Wt9V0/~1/AQ" }, { "type": "encryption", "pointer": "/~1" } ], "migrationVersion": -54451532 } ] }
{ "type": "object", "properties": { "automations": { "title": "automations", "description": "Array of workflow documents to import. If '_id' is provided, it will be replaced with an autogenerated '_id'.", "type": "array", "items": { "$ref": "automationImport" } } }, "required": [ "automations" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
response | object | Results from each individual import operation. |
{ "imported": [ { "message": "id cillum veniam Duis minim", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "exercitation ad nostrud commodo est", "provenance": "Excepteur magna" }, { "name": "qui officia fugiat", "provenance": "adipisicing laborum deserunt" } ], "nodeLocation": { "x": 44648488.539921165, "y": -47229328.924123235 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "culpa", "provenance": "commodo reprehenderit Excepteur proident" }, { "name": "in in cillum proident", "provenance": "est labore tempor in" }, { "name": "nulla non", "provenance": "consequat culpa" } ], "nodeLocation": { "x": 55921161.97087714, "y": 24693929.249488726 } }, "error_handler": { "name": "childJob", "summary": "sit ad Lorem aliqua", "description": "in nisi sit culpa nulla", "app": "dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/s.42Ze/~1/D/dcU/vhR" } ] }, "groups": [ { "name": "exercitation in in culpa", "provenance": "nisi ex sint" }, { "name": "incididunt aliqua", "provenance": "et commodo sit eiusmod aute" } ], "type": "operation", "nodeLocation": { "x": -15847777.090213373, "y": -58541060.10398952 }, "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "officia Lorem", "provenance": "culpa nostrud eu qui" }, { "name": "quis ipsum dolore exercitation ut", "provenance": "aliqua anim eiusmod pariatur Ut" } ], "_id": "ae157e5c-2429-807e-9a19-e594293b6674", "description": "laboris quis adipisicing ea et", "preAutomationTime": -35569751.34221832, "sla": -20128684.28462267, "errorHandler": null, "font_size": 12, "created": "1946-11-30T17:10:33.505Z", "created_by": { "username": "voluptate deserunt non adipisicing aute", "provenance": "tempor nulla eiusmod ullamco ad" }, "createdVersion": "labore", "last_updated": "2023-12-19T05:01:41.427Z", "last_updated_by": { "username": "fugiat nisi minim", "provenance": "exercitation ad dolor" }, "lastUpdatedVersion": "dolore proident magna ut", "tags": [ { "_id": "c282ceEdF689d622AbeCDFFe", "name": "in non fugiat", "description": "labore dolore" }, { "_id": "E7f8618C4dfce3db5EeaAD71", "name": "veniam eiusmod dolor aliqua aute", "description": "Ut tempor" }, { "_id": "B265C5568A8D2eCAceBe8CaB", "name": "consectetur", "description": "cillum occaecat Lorem mollit" }, { "_id": "aD30E5Bc505F0f04DfF3369f", "name": "amet et", "description": "dolor Duis" }, { "_id": "98a654f03F8f6Fcade99E2Ab", "name": "quis aute dolor pariatur", "description": "cupidatat commodo" } ], "canvasVersion": 3, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/E/~1/~0" }, { "type": "encryption", "pointer": "/~0/~0/~1/~0/u" }, { "type": "encryption", "pointer": "/~0/ZqliMOM" }, { "type": "encryption", "pointer": "/~1/~1/~0/w11BO/HKA/EFeQZcM/wmiJq/~1/eKhs/~0/A4jnG" }, { "type": "encryption", "pointer": "/yBDA8Qc/eAk/Y/~1" } ], "migrationVersion": -51142520 }, "created": null, "edit": null, "success": false }, { "message": "qui", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "fugiat quis incididunt ullamco anim", "provenance": "irure" }, { "name": "consectetur ad in", "provenance": "Ut Excepteur" } ], "nodeLocation": { "x": 1079579.3606153578, "y": 74005709.40333813 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "et quis Ut cupidatat", "provenance": "aliqua Ut nisi sed laborum" } ], "nodeLocation": { "x": 87294560.87399554, "y": 82690327.51684579 } }, "error_handler": { "name": "childJob", "summary": "nulla", "description": "proident et", "app": "sunt esse adipisicing ea ipsum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/dPLu-fJR/~0/~1/~0/tZ/r84mIoT/LTpWjT/~0" }, { "type": "encryption", "pointer": "/Sg5jsAlC8/~1" }, { "type": "encryption", "pointer": "/~0/zhk+/q9FNJCou0Wm/~0/NEJJhJVj/iTWY+9-Lj2K/nKJNYwk3/G/~0/zJvoq/~1" } ] }, "groups": [ { "name": "elit", "provenance": "eu dolore enim laboris Excepteur" }, { "name": "Duis", "provenance": "voluptate eu laboris dolor" }, { "name": "nulla", "provenance": "consectetur pariatur officia Duis voluptate" }, { "name": "veniam fugiat", "provenance": "do laborum eiusmod veniam Duis" } ], "type": "operation", "nodeLocation": { "x": 69768307.83775455, "y": -11807670.728581205 }, "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "ullamco culpa", "provenance": "nostrud veniam ad aute" }, { "name": "exercitation Ut qui deserunt enim", "provenance": "anim enim dolore culpa" }, { "name": "consequat esse commodo ex", "provenance": "proident officia" }, { "name": "sed Duis in ut dolore", "provenance": "officia Lorem est" } ], "_id": "3d05772f-344f-7e97-75a9-646802b928d2", "description": null, "preAutomationTime": -51845686.746719986, "sla": 95067807.2193689, "errorHandler": { "type": "elit", "name": "dolor id in" }, "font_size": 12, "created": "1953-02-17T10:41:28.485Z", "created_by": null, "createdVersion": "adipisicing proident culpa", "last_updated": "1993-04-10T09:22:48.477Z", "last_updated_by": null, "lastUpdatedVersion": "qui in ipsum non in", "tags": [ { "_id": "eAE89dB4A3cfcC18e1c51D39", "name": "ut esse dolore deserunt", "description": "amet Lorem occaecat" }, { "_id": "d6A608a6c4eCCAe42e8D4eAF", "name": "velit deserunt commodo cillum sit", "description": "quis ad sit labore nisi" } ], "canvasVersion": 1.5, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/pLNJX/~0/V59CGddo2s/~0/~1" }, { "type": "encryption", "pointer": "/~1/~0/S/1wYUy2j-/QUt/VF0j/~1" } ], "migrationVersion": -4051166 }, "created": null, "edit": "tempor ex pariatur sit ut", "success": true }, { "message": "amet", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "nisi commodo pariatur", "provenance": "magna" } ], "nodeLocation": { "x": 37531266.2353636, "y": 17794726.418649852 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "dolore ad officia", "provenance": "sit quis nisi voluptate" }, { "name": "mollit nisi sint tempor", "provenance": "magna" }, { "name": "ex ea nulla minim Duis", "provenance": "minim deserunt reprehenderit est amet" } ], "nodeLocation": { "x": -3631193.683216512, "y": 51461361.507893145 } }, "error_handler": { "name": "childJob", "summary": "pariatur Excepteur sit", "description": "dolor commodo non proident amet", "app": "in quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/D/~1" }, { "type": "encryption", "pointer": "/~1/LGvWak1/~1/t/ejKF4j7D/PV7ZivlrB/~1" }, { "type": "encryption", "pointer": "/~1/~0/B7/LZh4/Sl/~1/~1/ondM+MXR/a8ooBf4+/~1" }, { "type": "encryption", "pointer": "/LY/~1/~0/~0/r/" }, { "type": "encryption", "pointer": "/b46Ii9L5KY/~0/~0/g+n" } ] }, "groups": [ { "name": "in ullamco", "provenance": "dolore culpa" }, { "name": "aliqua incididunt laborum", "provenance": "adipisicing ullamco amet magna" }, { "name": "laboris ut amet enim elit", "provenance": "anim amet Duis minim" }, { "name": "tempor ipsum", "provenance": "non" }, { "name": "culpa", "provenance": "dolor Duis fugiat" } ], "type": "operation", "nodeLocation": { "x": 2070198.370874986, "y": 39202243.44096747 }, "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "ut elit deserunt", "provenance": "culpa cillum ad magna exercitation" }, { "name": "officia amet", "provenance": "Lorem" } ], "_id": "108e4534-bef3-83fd-e040-e1978384a127", "description": null, "preAutomationTime": -72038070.43622743, "sla": -90570454.9127631, "errorHandler": null, "font_size": 12, "created": "1960-08-16T18:08:37.676Z", "created_by": { "username": "exercitation eiusmod labore", "provenance": "ad mollit laborum" }, "createdVersion": "mollit", "last_updated": "1987-07-11T11:26:30.001Z", "last_updated_by": null, "lastUpdatedVersion": "veniam Excepteur", "tags": [ { "_id": "F26Ac72e245d426E0Bc8F3bB", "name": "magna dolor Ut aliqua dolor", "description": "sit ut in reprehenderit" }, { "_id": "b00F1911B3aec74a1a992E73", "name": "pariatur culpa nostrud eiusmod Excepteur", "description": "occaecat elit nulla reprehenderit deserunt" } ], "canvasVersion": 1, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1/BA3vT/RWWaKTT/evqg3/~1/BN18/~1/qq0cYQ70Zm" }, { "type": "encryption", "pointer": "/P" }, { "type": "encryption", "pointer": "/~0/~0/Q7NUAWG-Q8N/h0n1XhyL-Vc/~1/~1/~0" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/ib/~1/~1/nDx,/~0/~0/~0/ic" } ], "migrationVersion": 4874807 }, "edit": "Excepteur sit", "success": false } ] }
{ "title": "response", "type": "object", "properties": { "imported": { "type": "array", "items": { "type": "object", "properties": { "success": { "type": "boolean", "description": "Status flag denoting the success (true) or failure (false) of the workflow's import operation." }, "message": { "type": "string", "description": "Message containing either confirmation of the import operation or the reason for the failure of the import operation." }, "original": { "description": "The original workflow given in the import array.", "$ref": "automationImport" }, "created": { "description": "The imported workflow as it exists after being imported.", "oneOf": [ { "$ref": "automation" }, { "type": "null" } ] }, "edit": { "description": "URI to the edit page for the imported workflow.", "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "status", "message", "original", "created", "edit" ] } } } }