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": [], "x": -60556506.19157391, "y": 3327606.718982205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": -24244393.467494607, "y": 63821949.95810053 }, "error_handler": { "name": "childJob", "summary": "culpa do elit", "description": "irure nisi proident", "app": "id dolore qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/ZSA0/L2-9hfcOjw/~1/u/~1" }, { "type": "encryption", "pointer": "/ymedM/~0/Bjr8gQtmUj/x4f5/~1/~1/XHlI1O/bMADpL/~1" }, { "type": "encryption", "pointer": "/jK/HmRn/XVgC-RiT,O/~1" } ] }, "groups": [ { "name": "esse do dolore", "provenance": "quis" }, { "name": "consectetur", "provenance": "ullamco" }, { "name": "laboris irure", "provenance": "fugiat" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "ad Ut officia consequat", "provenance": "ex in consectetur" }, { "name": "dolor nulla sint elit", "provenance": "ex Duis consectetur anim" }, { "name": "incididunt", "provenance": "sed ut" } ], "_id": "c6c5784b-927c-d8d3-dc36-4e1ce37cec4f", "description": null, "preAutomationTime": 61281857.47570747, "sla": 40401074.6902602, "errorHandler": null, "font_size": 12, "created": "1997-05-18T21:03:11.701Z", "created_by": null, "createdVersion": "nulla et qui", "last_updated": "1947-09-12T05:38:18.372Z", "last_updated_by": null, "lastUpdatedVersion": "non sint deserunt voluptate in", "tags": [ { "_id": "Bb16d0bB52e7e15d658Fbe6e", "name": "dolor mollit dolore", "description": "fugiat dolor Ut consequat do" }, { "_id": "a0A7d117726a451f43fDCC0b", "name": "labore tempor laborum", "description": "qui ut adipisicing ad" }, { "_id": "d9eA83BD9E491c1dF3aDf0e5", "name": "anim esse", "description": "in ea" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/j-s/Vhrz/Wfhbe/~1/~1/BxdYfxY4w/~1/~0" }, { "type": "encryption", "pointer": "/XiTzv/~1/~0/~0" } ] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": -89911489.03807704, "y": -46039720.5337026 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": -74463685.92814356, "y": -96036575.12887383 }, "error_handler": { "name": "childJob", "summary": "aute", "description": "ea", "app": "sunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/qfouD0/~1/~1/~1/~0/REtmtTA1PI" }, { "type": "encryption", "pointer": "/~1/~1/~0/yE9TEQV/LR5qV+8/hRNP-li/JF4enc/PfVTaw5bsJ3/IF/5,fET//d1GnmDPR" }, { "type": "encryption", "pointer": "/~0/TIj3iiXZ+Ii/TitHps/OCKS2" } ] }, "groups": [ { "name": "irure veniam Ut tempor anim", "provenance": "eu" }, { "name": "in qui est", "provenance": "aliquip nostrud" }, { "name": "dolor", "provenance": "ipsum et exercitation laboris" }, { "name": "ut", "provenance": "aliquip" }, { "name": "cillum Duis in amet incididunt", "provenance": "magna in officia" } ], "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "officia dolore", "provenance": "esse proident exercitation" }, { "name": "irure ad reprehenderit et", "provenance": "ut id officia aute" }, { "name": "laboris et eu", "provenance": "ex officia proident" }, { "name": "Excepteur Lorem laboris", "provenance": "cupidatat cillum fugiat" } ], "_id": "6a8104bb-2336-7f03-659d-84e82640abb9", "description": "ipsum", "preAutomationTime": -76269815.07824193, "sla": 99798996.99568743, "errorHandler": null, "font_size": 12, "created": "1975-10-30T05:05:24.451Z", "created_by": { "username": "Lorem veniam ipsum", "provenance": "consectetur aliquip et aute pariatur" }, "createdVersion": "eiusmod Lorem tempor", "last_updated": "1963-05-22T20:53:38.344Z", "last_updated_by": { "username": "pariatur", "provenance": "culpa quis" }, "lastUpdatedVersion": "Lorem eu dolor", "tags": [ { "_id": "C99B5FDacf6C4bCd6EEae737", "name": "esse et labore", "description": "occaecat nostrud" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/IgMu6/HyLV" }, { "type": "encryption", "pointer": "/~1/l+J/~1/o/~1/~1/dQWfdL/D3sK/GPdIgV/OjNU0NkSudH" }, { "type": "encryption", "pointer": "/~0/h2LnQOSV" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0/miDFebVZBMS/~0/~1/~1" } ] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 86117979.98795208, "y": 99881425.10266766 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": -82331508.8930947, "y": -85453990.11909644 }, "error_handler": { "name": "childJob", "summary": "in mollit veniam", "description": "fugiat irure", "app": "amet ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" } ] }, "groups": [ { "name": "ut cupidatat", "provenance": "consequat incididunt sit" }, { "name": "Excepteur cupidatat ut commodo", "provenance": "nulla mollit veniam" }, { "name": "deserunt voluptate aliquip Ut", "provenance": "occaecat ex aliqua labore" }, { "name": "in in", "provenance": "nostrud" } ], "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "dolore consequat eiusmod", "provenance": "elit sit" }, { "name": "in ullamco dolore veniam", "provenance": "mollit Duis Lorem ea deserunt" }, { "name": "et ad veniam magna", "provenance": "sint id" }, { "name": "veniam", "provenance": "eu" }, { "name": "dolore", "provenance": "sint anim deserunt magna" } ], "_id": "bb8e1b3c-49f1-e852-4d7a-f5a8cba4cbc6", "description": "non Lorem", "preAutomationTime": -26651988.360779867, "sla": -3420204.679923162, "errorHandler": { "type": "do Ut", "name": "in dolor irure veniam" }, "font_size": 12, "created": "1942-02-02T19:48:57.665Z", "created_by": { "username": "mollit ullamco", "provenance": "elit" }, "createdVersion": "sunt incididunt", "last_updated": "1956-01-21T17:31:34.78Z", "last_updated_by": null, "lastUpdatedVersion": "amet anim laboris pariatur", "tags": [ { "_id": "D50cd335A3818F2F1C76Da8a", "name": "sed quis", "description": "Lorem culpa do" }, { "_id": "c35D44F83B8EfbCda9C6b3Be", "name": "ad dolor est", "description": "veniam" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~1/CLa8I6+R/~0/~1/~1/mmy,upeH/H8J/~0" }, { "type": "encryption", "pointer": "/~1/~0/Feh1NpJcA9/IyWKTP,I4s/~1/~0/~0/F46,m93Kt/NQ/~0" }, { "type": "encryption", "pointer": "/or,p1r/~0/nQPj6yL/~1/NX/K8/~0/~1" } ] } ] }
{ "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": "Duis qui adipisicing", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": -90463391.94010513, "y": 18715663.098281562 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": -45268737.702484116, "y": -20201727.266823873 }, "error_handler": { "name": "childJob", "summary": "veniam", "description": "ullamco eiusmod officia", "app": "Excepteur voluptate culpa deserunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/r,/~1/~0/gr+qk6bqjeH/Y/~1/zxQ+J0p/~1" }, { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/bborTUxbJF/~0/wZg-Zb/~0/Aebi/l.,3NFFKE/~0/~1" }, { "type": "encryption", "pointer": "/~1/~1/~1/~0/dMF9LyDF/E1rsFf1XDP7/~0/AuEUXZPhX/D4eiWIm/lJ24s9Kb./+/QOhBJXL" }, { "type": "encryption", "pointer": "/~0/OeS9.2,7" } ] }, "groups": [ { "name": "esse ut exercitation", "provenance": "cupidatat velit nulla" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "consequat in reprehenderit magna", "provenance": "aliqua in" }, { "name": "exercitation sit pariatur voluptate", "provenance": "laborum ipsum" }, { "name": "elit", "provenance": "aliquip magna est nisi" }, { "name": "minim esse quis", "provenance": "voluptate irure" } ], "_id": "f6f0d6e5-df13-9076-7d5c-f4b92ca1fee9", "description": null, "preAutomationTime": -69197452.27606957, "sla": 97047081.09555703, "errorHandler": null, "font_size": 12, "created": "1978-05-12T04:51:32.056Z", "created_by": { "username": "ipsum", "provenance": "irure Lorem do dolor in" }, "createdVersion": "ea eu labore aute Duis", "last_updated": "1978-11-15T12:43:38.575Z", "last_updated_by": null, "lastUpdatedVersion": "nulla incididunt quis laboris", "tags": [ { "_id": "aB2Bdb0BBCaeCF4fBa0DAbA1", "name": "nostrud aliqua", "description": "non nulla culpa sint" }, { "_id": "F726BEffF7BEFbdEa0bfF948", "name": "minim", "description": "cupidatat esse proident amet" }, { "_id": "30ea59Fdc8EFaA4313485969", "name": "Duis occaecat ut mollit enim", "description": "elit cupidatat id ex" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/oMgnbM/~0" }, { "type": "encryption", "pointer": "/~0/k/YJ+fm" }, { "type": "encryption", "pointer": "/F/Ywcb/Npqf2MB7E/~0/~1/~0/~1/~1/~0/VHJp67+" }, { "type": "encryption", "pointer": "/~0/VWfuJC/~1/D-Toa/kAvTNw7t20/~0" } ] }, "edit": null, "success": false }, { "message": "Duis enim irure", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 74678905.61885247, "y": 77380088.32839593 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 31449868.26066129, "y": 47824769.77606264 }, "error_handler": { "name": "childJob", "summary": "in ea", "description": "nulla", "app": "cupidatat elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/yEPqO8/gBnyP/~1/~1/~1/PWgd/~1/~1/MM/OPzS6" } ] }, "groups": [ { "name": "tempor ex", "provenance": "in quis in irure ullamco" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "adipisicing", "provenance": "est in occaecat do ad" } ], "_id": "160a9a02-c9b5-e326-d0b4-145c486aae7f", "description": null, "preAutomationTime": 48189815.02466154, "sla": -74806888.77502958, "errorHandler": null, "font_size": 12, "created": "1984-10-22T10:20:51.943Z", "created_by": null, "createdVersion": "enim aliqua commodo tempor", "last_updated": "1944-02-10T00:15:41.192Z", "last_updated_by": { "username": "sunt", "provenance": "ipsum" }, "lastUpdatedVersion": "mollit eiusmod non id dolore", "tags": [ { "_id": "AfA3a3CAcb6beA8B7D5Cac61", "name": "non culpa dolor deserunt eiusmod", "description": "Ut minim labore laborum" }, { "_id": "cfD2DdAdCbB95D1e4dc3c3D5", "name": "sed esse sunt officia anim", "description": "ea magna" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/~0/Hm+L/m2A/~0/lWvMuu9m/E/~1/GAw9i/ODP1+52s.2" }, { "type": "encryption", "pointer": "/~0/~0/~1/bdKG/Xw/~1" }, { "type": "encryption", "pointer": "/u/ZAg9bzJ/~0/ohy0q/~0/t/Va9bC/~1/r7ZySij," } ] }, "edit": null, "success": true }, { "message": "velit laborum in eiusmod", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": -16012434.062080726, "y": 14532811.956724778 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 91182939.69130975, "y": 73476671.08824688 }, "error_handler": { "name": "childJob", "summary": "consectetur", "description": "sunt aute ut", "app": "dolor irure", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/EVe/~0/VKbZUVEERb/~0/i/~0/~1/CJYq" }, { "type": "encryption", "pointer": "/~0/~1/z3s" }, { "type": "encryption", "pointer": "/bVP7p6jYm/l10Ca" } ] }, "groups": [ { "name": "exercitation", "provenance": "aliqua fugiat" }, { "name": "est mollit", "provenance": "nisi" }, { "name": "eu commodo sit laboris ut", "provenance": "tempor pariatur ullamco cillum occaecat" }, { "name": "aliqua ullamco ut", "provenance": "ullamco incididunt Excepteur enim nulla" } ], "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "non Excepteur aute eu", "provenance": "voluptate nisi nostrud" }, { "name": "aliquip adipisicing consectetur elit", "provenance": "sit commodo eiusmod cillum" } ], "_id": "7e38e3f0-9e99-330f-3794-d0523d12be20", "description": null, "preAutomationTime": -43058896.22030094, "sla": 77796958.53067797, "errorHandler": { "type": "amet anim Excepteur laboris minim", "name": "in voluptate minim" }, "font_size": 12, "created": "1988-11-27T11:06:40.753Z", "created_by": { "username": "aliqua consectetur dolor nulla in", "provenance": "consequat mollit dolor esse dolore" }, "createdVersion": "nulla", "last_updated": "1961-01-09T08:45:22.042Z", "last_updated_by": null, "lastUpdatedVersion": "sunt", "tags": [ { "_id": "3f3eC0caA8a265f63f9F543e", "name": "sit aute sed sint", "description": "irure commodo" }, { "_id": "fb581D4eabd64cEDBFDB1AFd", "name": "quis reprehenderit id", "description": "consequat laboris" }, { "_id": "D92D2A260eEA639fdacB1AD3", "name": "ex deserunt adipisicing", "description": "commodo qui ex" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/GjHSXk" }, { "type": "encryption", "pointer": "/U-Cn,f3/~1/~1/~1/~0/fe/~1/~0/~0/bBUn8/~1" }, { "type": "encryption", "pointer": "/~1/G3Vj4y7Ji/~0/Gho1P/HO-XnX/He" }, { "type": "encryption", "pointer": "/AW7tcm6Lm/W2FD/zX/I3O0A+/fw-pc/mHwn5qW/~0/~1/MOjz/~0" } ] }, "edit": null, "success": false }, { "message": "sint magna Duis", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 50257528.65762997, "y": 15273168.602249458 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 58158773.22214079, "y": 21261743.795108095 }, "error_handler": { "name": "childJob", "summary": "laboris eiusmod ut dolore sed", "description": "dolor", "app": "commodo irure nostrud fugiat ipsum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/EhCrTJJk/I+dUu/~1" }, { "type": "encryption", "pointer": "/~0/ROm/z+.maTr" }, { "type": "encryption", "pointer": "/m/~0/Ho/Mu-jB7/nBD/ls/~1/~1" }, { "type": "encryption", "pointer": "/~0/FoF/~1/~0/~1/~0/~0/~1/Y/~0/AdTfCeo5Ui" } ] }, "groups": [ { "name": "in ut", "provenance": "deserunt incididunt" }, { "name": "aute in", "provenance": "in laboris sed" } ], "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "dolore sunt", "provenance": "irure ex ut enim ad" }, { "name": "Excepteur in eiusmod Lorem", "provenance": "commodo in magna" }, { "name": "cillum incididunt", "provenance": "laborum" } ], "_id": "ebb211fa-65cb-6266-203c-84f9ac665994", "description": null, "preAutomationTime": -72060998.68013775, "sla": 81786805.77525929, "errorHandler": null, "font_size": 12, "created": "1963-09-09T17:51:01.168Z", "created_by": { "username": "dolore in est", "provenance": "velit nisi fugiat dolor" }, "createdVersion": "ut est", "last_updated": "1942-06-29T04:22:24.586Z", "last_updated_by": null, "lastUpdatedVersion": "adipisicing", "tags": [ { "_id": "0AffCC0C68DeBB6dB21E09fF", "name": "incididunt dolore", "description": "magna ipsum do aliquip ad" }, { "_id": "B01fAd3Eb5E1D0Feb9ABFc0F", "name": "minim nisi esse", "description": "sit" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~1/~1/ba9/~0/Xp/x+SByc3U/OKgHP/~0/yNaopN/~1" }, { "type": "encryption", "pointer": "/oSzn/~1/hye.qF5Sn/~0/OubO-qBwjVj/d/D/Rb/~0" }, { "type": "encryption", "pointer": "/~1/~1/THiL/C2R/~0/~0/naVH0t/XP/~1/W/uxr" }, { "type": "encryption", "pointer": "/dW/Uklx1it" } ] }, "edit": null, "success": false }, { "message": "adipisicing ea", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 50638340.80123305, "y": 31913962.416655913 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 57241932.42543915, "y": -15354944.235177785 }, "error_handler": { "name": "childJob", "summary": "amet reprehenderit", "description": "magna enim aute amet consectetur", "app": "eu ad consectetur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/ntFx/~0/~0/~1/~1/t" }, { "type": "encryption", "pointer": "/~1/~1/~0/~1/~1/~1/rSBipe+SM/~1/Q" }, { "type": "encryption", "pointer": "/~1/az/AZGDEV6UQ/j5XeP3+mK/W,/~1/H/zGj-/pEtKBdNNV" }, { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1/vxa-/CsjR.XgH5/hqp+/~0/YP/~1/jXh/l+X/" } ] }, "groups": [ { "name": "quis sunt in ut velit", "provenance": "velit dolor ipsum incididunt ut" }, { "name": "ullamco", "provenance": "non" }, { "name": "sunt", "provenance": "qui aute magna pariatur" }, { "name": "sed", "provenance": "incididunt in consequat sunt" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "ex", "provenance": "cupidatat aliquip Duis labore minim" }, { "name": "proident anim Lorem quis", "provenance": "in" }, { "name": "dolore labore adipisicing", "provenance": "dolore" }, { "name": "fugiat veniam aute tempor nisi", "provenance": "Duis eu" } ], "_id": "b00332ed-164b-7eb2-9a35-9cb2c137a5ce", "description": null, "preAutomationTime": -50124312.44689015, "sla": 63164711.85360238, "errorHandler": { "type": "ipsum irure mollit", "name": "Ut ad in Duis sunt" }, "font_size": 12, "created": "2000-11-16T06:24:26.7Z", "created_by": { "username": "magna enim deserunt laborum", "provenance": "commodo proident est labore" }, "createdVersion": "adipisicing consequat voluptate in", "last_updated": "2009-10-30T18:27:23.313Z", "last_updated_by": null, "lastUpdatedVersion": "incididunt", "tags": [ { "_id": "0fFAd803DfDf7FdAbeeB5A1B", "name": "cupidatat", "description": "id" }, { "_id": "eb2082B96414Fffadd7C8AE6", "name": "quis labore occaecat elit nisi", "description": "nulla" }, { "_id": "3cCA20cfAF9bCA91Ed54DcB4", "name": "id ad elit quis", "description": "veniam est velit" }, { "_id": "53BA276d5dC5f0Fff1ef5D46", "name": "esse", "description": "incididunt do dolor ea" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/dkFUP.8YwwW/~1/Dne/7/~0/~1/~1/~0/iPvOh.u/bQOq,t" } ] }, "created": null, "edit": "dolor incididunt eu laborum", "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.", "type": [ "string", "null" ] } }, "required": [ "status", "message", "original", "created", "edit" ] } } } }