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": "in exercitation laborum aliqua aliquip", "provenance": "non" }, { "name": "minim velit", "provenance": "adipisicing non magna dolore" } ], "x": -31327004.194325924, "y": -90079167.77704148 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "ad eiusmod do ipsum deserunt", "provenance": "officia in laborum aliquip exercitation" }, { "name": "nostrud quis cupidatat", "provenance": "Ut consectetur dolore" }, { "name": "in velit laboris nisi Excepteur", "provenance": "reprehenderit irure" }, { "name": "aliquip", "provenance": "nulla culpa mollit" } ], "gridCoordinate": { "x": 1101468.3737471849, "y": 32670646.028984502 } }, "error_handler": { "name": "childJob", "summary": "minim Lorem", "description": "dolore cupidatat aliquip", "app": "exercitation deserunt culpa ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/ltguBH+/~1/~0/TxylcfTrr1Z/~1/~1/k" } ] }, "groups": [ { "name": "Lorem quis officia", "provenance": "sit aute" }, { "name": "laborum qui voluptate mollit est", "provenance": "sunt sint culpa" }, { "name": "laboris fugiat in irure", "provenance": "ut sed incididunt id nisi" }, { "name": "ad", "provenance": "ea reprehenderit nostrud Duis sunt" }, { "name": "pariatur aliqua ipsum", "provenance": "est aliqua consectetur enim dolor" } ], "type": "operation", "gridCoordinate": { "x": -73285150.81694835, "y": -41422726.419749886 }, "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "enim adipisicing", "provenance": "incididunt" }, { "name": "laborum ea tempor", "provenance": "irure mollit tempor magna enim" } ], "_id": "8e21a9db-81c3-21d3-aefb-ac1a717c6f31", "namespace": { "type": "project", "name": "proident reprehenderit occaecat", "accessControl": { "read": [ "nulla qui commodo" ], "write": [ "dolore aliqua", "et mollit", "laboris", "pariatur nulla veniam sint nisi", "eu est Ut" ], "execute": [ "eiusmod sit exercitation aute irure", "qui eiusmod velit aliqua", "ullamco aliqua tempor" ], "manage": [ "cupidatat Duis eu commodo id", "reprehenderit", "aliqua officia cupidatat", "amet dolor" ] } }, "description": null, "preAutomationTime": -82535345.29085788, "sla": -47246143.580956094, "errorHandler": { "type": "consectetur dolor pariatur sed", "name": "cillum proident eiusmod minim" }, "font_size": 12, "created": "1991-06-12T09:51:07.282Z", "created_by": null, "createdVersion": "officia laborum in tempor qui", "last_updated": "1965-04-12T23:40:40.924Z", "last_updated_by": null, "lastUpdatedVersion": "nisi ex in", "tags": [ { "_id": "A1ad23fA55bacf200deA6F00", "name": "enim eu", "description": "in dolor Duis Ut" }, { "_id": "15cb283Dfe03DA8c39DcDf85", "name": "in incididunt dolore consectetur", "description": "eu sunt eiusmod" }, { "_id": "A82B24D22EFe1D750BF4cfE5", "name": "sunt enim", "description": "consequat" } ], "canvasVersion": 1, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/~1/~0/~0/~0/~0/iZJm1/Rb/~0/~0/~1" } ], "migrationVersion": 69109031 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "aliquip nostrud", "provenance": "quis nisi minim Duis sed" }, { "name": "exercitation quis sint", "provenance": "culpa sunt" }, { "name": "dolore", "provenance": "ut sed" } ], "x": 10397504.712711528, "y": -1055945.080878511 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "velit", "provenance": "adipisicing non Lorem" }, { "name": "elit ad Excepteur cillum", "provenance": "ut" }, { "name": "ipsum", "provenance": "amet" } ], "gridCoordinate": { "x": 10803331.791531652, "y": 12284355.547370791 } }, "error_handler": { "name": "childJob", "summary": "consectetur est id sed nulla", "description": "consectetur aute", "app": "ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/VJUVC3/t0aUs/~0/vwS/~1" }, { "type": "encryption", "pointer": "/~1/EMS7fcIV/~0" } ] }, "groups": [ { "name": "sed in", "provenance": "aliquip qui ipsum" }, { "name": "non cillum", "provenance": "minim laborum laboris non" }, { "name": "id sit", "provenance": "minim enim consectetur veniam tempor" }, { "name": "ut nulla anim occaecat eiusmod", "provenance": "sunt ut sit" }, { "name": "ad", "provenance": "minim exercitation in voluptate" } ], "type": "operation", "gridCoordinate": { "x": -40298898.57804427, "y": -16261318.519174233 }, "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "in", "provenance": "enim ut Lorem" }, { "name": "Excepteur non", "provenance": "voluptate in ipsum" }, { "name": "nostrud ipsum sed", "provenance": "dolore sit fugiat" }, { "name": "ut cillum ipsum", "provenance": "Ut proident eu" } ], "_id": "0de8b330-9955-30ad-d30e-233c158a7ee1", "namespace": null, "description": null, "preAutomationTime": -28264778.801643774, "sla": 25615699.301430523, "errorHandler": { "type": "id", "name": "dolore incididunt in" }, "font_size": 12, "created": "1959-12-07T23:59:26.065Z", "created_by": null, "createdVersion": "consequat", "last_updated": "1980-12-16T21:09:12.814Z", "last_updated_by": { "username": "aliquip id in", "provenance": "exercitation sint dolore elit" }, "lastUpdatedVersion": "proident", "tags": [ { "_id": "037858E6Aff042FBc5e40D4c", "name": "sit dolore fugiat veniam", "description": "reprehenderit dolore" }, { "_id": "cdfa6aE6f30D4DEEfF21845b", "name": "dolore amet", "description": "velit" }, { "_id": "549d43a260AcB4Db43fA83C9", "name": "elit reprehenderit cupidatat", "description": "in elit in id" }, { "_id": "E75B40Ed7430BBD1Eb5fa423", "name": "et elit", "description": "culpa anim Lorem elit fugiat" }, { "_id": "2db790D87DEa391DdBBFdd89", "name": "magna aute in consectetur", "description": "fugiat dolore" } ], "canvasVersion": 1.5, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/pZfWW/O/WX/~1/sh0IUCSSH0" }, { "type": "encryption", "pointer": "/~0/~0/q,SGwEytG/E2n-N/~1/sr4cP." }, { "type": "encryption", "pointer": "/~1/fHsDwe/QFbb+tuUo/~0/IfjYO1Wa/~1/G3WI5akwE5c/~1/~1/lZet" }, { "type": "encryption", "pointer": "/lJ9Ksl" } ], "migrationVersion": 61465678 } ] }
{ "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": "workflowDocumentAll" } } }, "required": [ "automations" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
response | object | Results from each individual import operation. |
{ "imported": [ { "message": "qui", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "culpa esse do sit Duis", "provenance": "commodo consectetur" }, { "name": "mollit commodo Duis", "provenance": "sunt consectetur cupidatat" } ], "gridCoordinate": { "x": -28350964.011152685, "y": 82139010.78936535 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "in Ut ut in cillum", "provenance": "magna Ut" }, { "name": "officia ex", "provenance": "dolore eu cupidatat" }, { "name": "elit aliquip ut esse ea", "provenance": "consectetur amet magna nostrud sed" }, { "name": "voluptate velit ex", "provenance": "dolore enim anim sed minim" } ], "gridCoordinate": { "x": 94569110.23775288, "y": -60660062.50326912 } }, "error_handler": { "name": "childJob", "summary": "qui elit", "description": "in nulla sit et", "app": "enim mollit exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Z/~0/N2Qey." }, { "type": "encryption", "pointer": "/ljy+74j,3s2/~1/GzhkC/rj7zoKhw/~0/HwLH825aGv" } ] }, "groups": [ { "name": "ut consequat ullamco", "provenance": "consequat Ut ex" }, { "name": "aliqua incididunt ex dolore", "provenance": "ad" }, { "name": "et minim ex", "provenance": "consequat labore" }, { "name": "Ut sit", "provenance": "Lorem laboris est officia quis" } ], "type": "operation", "nodeLocation": { "x": 99723722.89246163, "y": -64174331.171118796 }, "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "eiusmod", "provenance": "Ut velit esse dolore anim" }, { "name": "occaecat sunt dolore aute", "provenance": "eu" }, { "name": "in aliquip laborum", "provenance": "dolor et" } ], "_id": "0ad54e93-f97b-24b0-c719-a92c21c3dbca", "namespace": null, "description": "do consectetur", "preAutomationTime": -30645181.019176796, "sla": 6550369.524157733, "errorHandler": { "type": "sunt", "name": "aute commodo" }, "font_size": 12, "created": "1993-08-01T19:10:19.972Z", "created_by": null, "createdVersion": "ad nulla est laboris", "last_updated": "1976-10-10T15:19:01.358Z", "last_updated_by": { "username": "ut exercitation anim veniam", "provenance": "ex" }, "lastUpdatedVersion": "aute occaecat in", "tags": [ { "_id": "3Cd3e153F8EF6e6aB9a0CaAE", "name": "Excepteur eu labore", "description": "est reprehenderit do" }, { "_id": "44fDc6e03Ea4Fb65C33BFDAa", "name": "culpa aliqua in", "description": "sit aute est officia cillum" }, { "_id": "847ED47b2e6f62e47CCb9509", "name": "esse ea consectetur do sed", "description": "veniam irure esse in commodo" }, { "_id": "88f9F385D69EB5bbB141DC79", "name": "laboris aliquip reprehenderit", "description": "laborum" } ], "canvasVersion": 3, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1/WbKdAL1/LgOtf2Yjo/Ta,s/~1/ABrT3/~0/~0/ruunv/h/ymiD+r" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/iNxeT/IRNA/frXYn-k3fM/~1/NI2pq//~0/gmf4/lhWGO" } ], "migrationVersion": 67867999 }, "created": null, "edit": null, "success": true }, { "message": "in Ut est", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "est Lorem ullamco elit in", "provenance": "dolore ut" }, { "name": "eu cupidatat ex veniam", "provenance": "Excepteur" }, { "name": "Lorem", "provenance": "labore nostrud" }, { "name": "nulla sit commodo magna Excepteur", "provenance": "irure culpa" } ], "gridCoordinate": { "x": -81787357.11004114, "y": -85764503.27419001 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "voluptate anim velit minim", "provenance": "reprehenderit ut mollit" }, { "name": "eu ad culpa do", "provenance": "ea sunt" } ], "gridCoordinate": { "x": 63893048.42217451, "y": 4883968.82345587 } }, "error_handler": { "name": "childJob", "summary": "dolor", "description": "Lorem amet", "app": "in pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/GRenNUN/~0/jswDsN,/~0/tLZn72zD0T/~1/HthZ/~0/X9Mjnmp42N/Ht" }, { "type": "encryption", "pointer": "/~1/~0" } ] }, "groups": [ { "name": "aliquip ut exercitation incididunt", "provenance": "reprehenderit Lorem proident" }, { "name": "sit", "provenance": "dolore nostrud" } ], "type": "operation", "nodeLocation": { "x": -93866947.82552412, "y": -26538370.468080923 }, "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "tempor laborum aliqua eiusmod", "provenance": "deserunt sed qui" }, { "name": "nostrud quis amet anim", "provenance": "minim occaecat elit" }, { "name": "laborum", "provenance": "nulla Duis minim tempor" }, { "name": "aute occaecat culpa Duis", "provenance": "ex consectetur officia exercitation" }, { "name": "dolor fugiat non qui", "provenance": "veniam tempor id laboris incididunt" } ], "_id": "d3a59e6e-aab2-f115-d755-573ea7695e50", "namespace": { "type": "project", "name": "nisi", "accessControl": { "read": [ "irure veniam in minim aliqua", "do dolore", "laborum deserunt", "ad velit", "aliquip amet aliqua" ], "write": [ "nisi", "eu", "consequat proident eiusmod", "exercitation" ], "execute": [ "velit exercitation dolor aute", "velit consequat exercitation anim", "aliqua anim sunt sit" ], "manage": [ "reprehenderit incididunt cillum", "ex elit adipisicing", "in tempor consequat culpa proident" ] } }, "description": null, "preAutomationTime": 13354532.38865228, "sla": 13845853.94920212, "errorHandler": null, "font_size": 12, "created": "1993-01-17T01:41:20.67Z", "created_by": { "username": "qui Ut", "provenance": "amet" }, "createdVersion": "irure", "last_updated": "2024-07-04T14:37:32.731Z", "last_updated_by": null, "lastUpdatedVersion": "non esse deserunt", "tags": [ { "_id": "CFbFEBb9E9D176E95CF2998F", "name": "elit Ut dolor exercitation", "description": "Duis anim dolore Excepteur" } ], "canvasVersion": 2, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/NQ/LTv/xn2ANEXx/X56diu-/~0/wxVg,swr7/~1/Vn/QRM3geTz" }, { "type": "encryption", "pointer": "/ANz4zg+dTx/~1/~0/Oq54LAR3/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/wst-/Ze.368Qd/~0/~0/ckz12du1LwX/~1/~1/~0/oP/~1/~0" }, { "type": "encryption", "pointer": "/~0/gwO4d/~0/ySv7C" }, { "type": "encryption", "pointer": "/b0i/cam0,eU./KY6AsC/kUk8aiH1p/~0/~0/sp-oPA0" } ], "migrationVersion": 72943678 }, "created": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "3ada33ce447f3cdc51dfa8ca", "5e903b5e8ef3db4ded50f6cb", "31819169213e37574d769d6f", "269625d8c7f33abf567a4044" ], "nodeLocation": { "x": -89337531.75395606, "y": 69158490.47708645 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "aa10e4464428abf59e0b9c78", "62e5ace95e956465dfdbf27b" ], "nodeLocation": { "x": -45657833.67169352, "y": -48698941.23509235 } }, "error_handler": { "name": "childJob", "summary": "tempor officia ut", "description": "nulla fugiat proident aliqua tempor", "app": "sunt", "variables": { "error": "" }, "groups": [ "5d64d786acfdcbf1e37328ce", "577a3494b01c7e3e0b5d8844", "00d19ba563f5f71967fb7a30", "405862524d39756859badd2e" ], "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "784e5229dd9801b1481504a7" ], "canvasVersion": 3, "_id": "5cb7b531d06cceb89fd21b1c", "namespace": { "type": "project", "name": "eu sit aliqua dolor", "accessControl": { "read": [ "ex", "dolor cupidatat et", "consectetur", "amet" ], "write": [ "enim laboris", "proident voluptate do Duis non", "ea labore" ], "execute": [ "est mollit" ], "manage": [ "fugiat", "in enim Ut et nostrud", "ut consectetur", "est do dolor id", "aliqua sunt" ] } }, "description": "irure dolore ullamco deserunt adipisicing", "preAutomationTime": 5000, "font_size": 12, "created": "2011-12-27T12:50:43.04Z", "created_by": "5005680046d5ae0edac9761a", "last_updated": "1991-01-19T15:09:08.41Z", "last_updated_by": "b65db7ec38583ab5e43e1137", "lastUpdatedVersion": "velit dolore consequat consectetur", "tags": [ "aliquip nisi ea dolore adipisicing", "aute dolore ex ipsum", "cupidatat do cillum in ut" ], "encodingVersion": 1 }, "edit": "voluptate dolore", "success": false }, { "message": "esse", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "veniam velit enim adipisicing et", "provenance": "magna dolor eiusmod consectetur" }, { "name": "Duis nostrud ullamco laboris", "provenance": "dolor aute tempor" } ], "gridCoordinate": { "x": 13054984.614876062, "y": -83712179.6169634 } }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "proident", "provenance": "in consequat in" }, { "name": "nostrud in", "provenance": "magna nisi Duis" }, { "name": "Excepteur dolor aliqua", "provenance": "eu amet" }, { "name": "anim nisi", "provenance": "Ut sed dolor ullamco" } ], "gridCoordinate": { "x": -68464525.7328635, "y": 41337294.80633351 } }, "error_handler": { "name": "childJob", "summary": "amet consectetur", "description": "nisi est adipisicing magna", "app": "ea eiusmod esse", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/IHV/Az3lwvDu6/SlL6OcI/sbw/~0/~0/~1/~0/~0/~1/m" } ] }, "groups": [ { "name": "dolor Lorem", "provenance": "cillum sit dolore anim" }, { "name": "sunt ea Lorem voluptate sit", "provenance": "Lorem ad ex sunt qui" }, { "name": "in do magna", "provenance": "magna anim veniam non minim" } ], "type": "operation", "nodeLocation": { "x": -98310749.13038921, "y": 1136744.3692603856 }, "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "ut", "provenance": "ea elit" } ], "_id": "aab6d250-17ff-7260-6699-6ff8ed010bec", "namespace": null, "description": "nostrud", "preAutomationTime": 84601656.21307042, "sla": 79377081.95068783, "errorHandler": { "type": "exercitation Lorem qui labore", "name": "esse dolore incididunt ad in" }, "font_size": 12, "created": "2007-09-11T00:53:07.701Z", "created_by": { "username": "mollit laborum Excepteur pariatur", "provenance": "est consequat reprehenderit dolor" }, "createdVersion": "velit laboris", "last_updated": "1965-08-19T16:21:00.733Z", "last_updated_by": null, "lastUpdatedVersion": "consequat occaecat ea", "tags": [ { "_id": "AeBf1EeAdD8ABfEc0382405b", "name": "in irure aliqua", "description": "cillum amet Lorem" }, { "_id": "f46194169Baea2bafEAFa39B", "name": "incididunt fugiat ut labore dolore", "description": "tempor" }, { "_id": "cC16eD41bc643dEdBDE8f174", "name": "ad proident", "description": "cupidatat amet" } ], "canvasVersion": 1, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/QSka7r/x4IZhlSxlYR/EeEbCd3VlH/~1/PGFP/~1/~0/ARp7JI/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/qL/~0/~0/jrWbUdgsD/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/BJ/~1/IHAOtFb0I/~0" }, { "type": "encryption", "pointer": "/~0/~1/PHLrHsXO6+C/sc1wgdsN8/X1R4POdOB/XHoY0WEbi0H/kAZaNufkWnM/~0" }, { "type": "encryption", "pointer": "/QmLdkL7kV8a" } ], "migrationVersion": 84128704 }, "created": null, "edit": "exercitation cillum", "success": true } ] }
{ "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": "workflowDocumentAll" }, "created": { "description": "The imported workflow as it exists after being imported.", "oneOf": [ { "$ref": "workflowDocument" }, { "type": "null" } ] }, "edit": { "description": "URI to the edit page for the imported workflow.", "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "status", "message", "original", "created", "edit" ] } } } }