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": -85517203.10310511, "y": -10013729.014536515 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 35162794.43755233, "y": 37427922.99902806 }, "error_handler": { "name": "childJob", "summary": "mollit", "description": "adipisicing", "app": "sint", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/iY/~1/mE5/NQ5PTCSHwW9/nqLtd/kRTqtK/~1/viuCLc6/~1" }, { "type": "encryption", "pointer": "/~1/~1/~0" } ] }, "groups": [ { "name": "laborum dolor qui", "provenance": "dolor" }, { "name": "consequat irure", "provenance": "do adipisicing amet nostrud tempor" }, { "name": "nisi irure officia", "provenance": "sint" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "sunt et Duis", "provenance": "sed voluptate enim" }, { "name": "qui sed ad", "provenance": "laboris" } ], "_id": "d5a5208c-4fd3-c287-61cd-56eaa3603c23", "description": "cupidatat", "preAutomationTime": 40716793.37568912, "sla": -63813218.11405187, "errorHandler": { "type": "culpa ullamco", "name": "in minim in ad" }, "font_size": 12, "created": "1962-07-28T04:37:27.76Z", "created_by": null, "createdVersion": "elit", "last_updated": "1973-09-20T14:56:07.068Z", "last_updated_by": { "username": "aliqua", "provenance": "ex deserunt elit consequat" }, "lastUpdatedVersion": "quis", "tags": [ { "_id": "7E9C656B82310E0fE66De2EE", "name": "laboris irure", "description": "esse Ut qui" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/FZ/~0/~0" }, { "type": "encryption", "pointer": "/MoQ/m/~0/f+Y8tjbyzL/~0/M4jZlnj/~0/YogI-.C2/~1" }, { "type": "encryption", "pointer": "/~0/yRdZfWboc/UNDXgpW9J/LTb/~0/~0/h6i.MbYp" } ], "migrationVersion": -71623567 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 22809623.359961286, "y": -6996727.231109068 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 73338025.41923365, "y": 74114081.35720366 }, "error_handler": { "name": "childJob", "summary": "occaecat anim aute esse", "description": "veniam et officia proident velit", "app": "in proident sed dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/bAhseL9MTvR/kW,nmF" }, { "type": "encryption", "pointer": "/~0/~1/arH56jn" } ] }, "groups": [ { "name": "aliquip dolor sint tempor dolore", "provenance": "reprehenderit Excepteur laboris" } ], "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "Ut non pariatur esse amet", "provenance": "ea elit" } ], "_id": "89e31bff-1589-b5f3-364e-3794f74932ac", "description": null, "preAutomationTime": 3050311.9439923614, "sla": 39167312.60671234, "errorHandler": null, "font_size": 12, "created": "1997-08-14T10:30:36.117Z", "created_by": null, "createdVersion": "sit aliqua veniam sed", "last_updated": "2019-01-06T17:26:30.356Z", "last_updated_by": { "username": "veniam cillum id", "provenance": "cillum aliquip" }, "lastUpdatedVersion": "irure dolore non cupidatat commodo", "tags": [ { "_id": "f8Ba12C5BA3e4Bc0ED5d85dA", "name": "et Ut", "description": "magna amet" }, { "_id": "1CBeCd3fa95b8Fa67Ff96FE3", "name": "enim sed est et irure", "description": "aliquip" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/JaLwXrXW5Zo/~0/aIdYxynY78F/Q/Rl7h/Zqm/n4/GbpY1C/~0/~1" }, { "type": "encryption", "pointer": "/GN/td,KYdD/JaV" }, { "type": "encryption", "pointer": "/md/ICh+03KA/w/iQPVTdquBg/~1/~0/~0" } ], "migrationVersion": -12189509 } ] }
{ "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": "nulla quis veniam culpa dolore", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 57345851.04705706, "y": -87996355.26116107 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": -46566202.035821915, "y": -91913238.98683663 }, "error_handler": { "name": "childJob", "summary": "laboris", "description": "cillum voluptate ut", "app": "dolore nostrud officia", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/FiNOgkgng2i/~0/~0/QSgXMK1sn/Olm56S/to6a/G4Q1Aj/~0/~1/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1/~0/Q1RXyA.2/~0/~1/v7OqfCzbN/~1/~0/~0/~0" } ] }, "groups": [ { "name": "dolore veniam ipsum", "provenance": "dolore culpa laboris in quis" }, { "name": "commodo in", "provenance": "voluptate esse" }, { "name": "non officia culpa", "provenance": "qui" }, { "name": "minim dolore", "provenance": "sint aliqua" } ], "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "Lorem laborum enim dolore in", "provenance": "dolor ut Lorem reprehenderit" }, { "name": "nulla irure in enim in", "provenance": "dolore sunt Duis nostrud ut" }, { "name": "irure", "provenance": "exercitation sint fugiat cillum minim" } ], "_id": "d85bec0b-e249-a694-8184-cdb4ec8d3502", "description": null, "preAutomationTime": 20408460.214597836, "sla": -65370611.46767007, "errorHandler": null, "font_size": 12, "created": "2002-09-24T03:05:57.445Z", "created_by": null, "createdVersion": "adipisicing nisi in et", "last_updated": "1997-09-16T08:36:43.493Z", "last_updated_by": null, "lastUpdatedVersion": "quis officia exercitation", "tags": [ { "_id": "c1E56Fc71DfcAb9045e4225C", "name": "adipisicing mollit cillum dolore", "description": "ut aute magna" }, { "_id": "b5AcaCa8CFAEc0AA09AFecCF", "name": "amet non proident", "description": "Lorem velit nulla" }, { "_id": "4CD5accdb887386FDb97b0fd", "name": "ipsum", "description": "dolore sint nulla qui" }, { "_id": "01c5709bfe3c7089997A2bCc", "name": "do", "description": "amet enim dolore Duis" }, { "_id": "6E27c678DDd118ec27eC7EfB", "name": "adipisicing ut", "description": "et sit occaecat do ut" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/DQCr7/ggh2K394QHw/RY9gG/EZyVIUc9+aA/~0/~1/~1/U0zQ+wj/gj/~1" }, { "type": "encryption", "pointer": "/~0/~1/earQ/hRm+i/eSOUr/~0/~1/Tc.zA9mAG" } ], "migrationVersion": 87768887 }, "created": null, "edit": null, "success": false }, { "message": "adipisicing laboris", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": -46054419.956672765, "y": -50886980.95093518 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 55574368.247817844, "y": 61341871.65133169 }, "error_handler": { "name": "childJob", "summary": "proident nulla mollit Excepteur reprehenderit", "description": "magna enim elit aliqua", "app": "culpa Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/b8KvU7k/~1/~1/~0/~1/q/YN0QiX/~1/~0/gXvf7KM2YCZ" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1/AmhxS/IfPWhZrUj7/Z5.y/wc7/~1/z60gttl/z9v/gum/~0" }, { "type": "encryption", "pointer": "/Ri5I1cr//u/LhXQ/HG7BUXUXo" } ] }, "groups": [ { "name": "do dolor", "provenance": "dolor sit in exercitation laborum" } ], "type": "operation", "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "Ut labore pariatur ut", "provenance": "Excepteur" } ], "_id": "e4f8eb46-af15-20d6-ef9b-56b840f3584f", "description": null, "preAutomationTime": -16030798.066416278, "sla": -93365110.79124734, "errorHandler": null, "font_size": 12, "created": "2025-10-18T04:01:40.562Z", "created_by": null, "createdVersion": "ut", "last_updated": "2010-03-14T05:19:22.816Z", "last_updated_by": { "username": "incididunt dolore", "provenance": "eu" }, "lastUpdatedVersion": "incididunt irure Ut aliquip", "tags": [ { "_id": "3051BBE5D2fA7A1C2E6BEAde", "name": "irure", "description": "aliquip aute irure" }, { "_id": "6D2F3B7A7A8Ee3Bfba67a4Ed", "name": "ipsum", "description": "ut" }, { "_id": "Af6D7A1FACD8255228bfbeCF", "name": "et veniam", "description": "nostrud voluptate" } ], "canvasVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/RpzoR/QXawbl/sL/~0/hoIKB3u.N/b/H5x/n4pYNdLl" }, { "type": "encryption", "pointer": "/~1/~1/ca/hTP/psvZqlwh+/~1/~0/C4XBI," }, { "type": "encryption", "pointer": "/ypXQ7gsIB/cdDO/~1/~0/~1/~1/Q.U8BHd6u/~1/BowcmMWmt" }, { "type": "encryption", "pointer": "/~0" } ], "migrationVersion": -78323680 }, "created": null, "edit": "in Duis", "success": true }, { "message": "ut Ut", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": -97709630.50352167, "y": -51303801.06925525 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 95507028.62936166, "y": 11018563.32102114 }, "error_handler": { "name": "childJob", "summary": "cupidatat", "description": "ut consequat officia ad", "app": "non reprehenderit in veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Z9SI,3upZA8/Bv0jSoDS../~0" } ] }, "groups": [ { "name": "aute commodo magna voluptate", "provenance": "tempor" } ], "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ { "name": "anim", "provenance": "esse irure" } ], "_id": "de68d887-b7dc-27a7-ae49-c944d3b81191", "description": null, "preAutomationTime": -66088695.14805873, "sla": 5625740.084752366, "errorHandler": { "type": "id commodo", "name": "labore eiusmod sunt" }, "font_size": 12, "created": "1969-11-29T23:03:01.888Z", "created_by": null, "createdVersion": "labore", "last_updated": "1978-07-19T16:36:20.543Z", "last_updated_by": null, "lastUpdatedVersion": "non", "tags": [ { "_id": "5Aead35F915c185D157055ed", "name": "Duis sunt mollit eiusmod", "description": "magna" }, { "_id": "CfaaCcebBbb6cDF978EA5Ea4", "name": "in amet", "description": "esse id voluptate officia anim" }, { "_id": "6bDB38FEadb9c8D2F80143da", "name": "in pariatur tempor ex aute", "description": "aute ad" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/icrn,Eb" }, { "type": "encryption", "pointer": "/Ic8ak/AM" }, { "type": "encryption", "pointer": "/~0/xw,8ZFQ1b/t/nCO/Dvn/~0/F9Hzm3w9V/K/~1/Ep/l-Do9-8sNB" }, { "type": "encryption", "pointer": "/Yi-SgzCfOC/xbs/XKrRgVKT/z/~0/E399T0-dx7/~0" } ], "migrationVersion": -26613307 }, "edit": null, "success": false }, { "message": "id dolore dolore nostrud occaecat", "original": { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 91176439.47643477, "y": 79496878.8945655 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 51709078.00191307, "y": -23298343.42404999 }, "error_handler": { "name": "childJob", "summary": "dolor laboris ipsum fugiat ut", "description": "consequat nulla mollit fugiat magna", "app": "culpa magna enim velit anim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/R/~1/F/~0/wLbg/~1/~0" }, { "type": "encryption", "pointer": "/sj" }, { "type": "encryption", "pointer": "/~0/~0/bLd4/~0/WFxjWWLU/ot/~1" } ] }, "groups": [ { "name": "labore", "provenance": "et sit in cillum" }, { "name": "sit eu pariatur anim quis", "provenance": "occaecat officia aute" } ], "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "aute est et incididunt irure", "provenance": "reprehenderit proident magna" }, { "name": "Lorem qui nulla", "provenance": "Duis adipisicing fugiat" }, { "name": "Lorem elit", "provenance": "irure esse officia commodo" }, { "name": "exercitation", "provenance": "sunt pariatur quis nostrud enim" }, { "name": "dolore aliquip", "provenance": "cillum" } ], "_id": "fedc7d3d-f0ec-9b69-cc27-c96766e01e50", "description": null, "preAutomationTime": 42540715.39818543, "sla": -19322477.845134184, "errorHandler": null, "font_size": 12, "created": "1981-03-29T16:27:15.008Z", "created_by": null, "createdVersion": "consectetur consequat qui dolore", "last_updated": "1989-07-20T23:25:30.178Z", "last_updated_by": { "username": "deserunt", "provenance": "velit ipsum irure deserunt" }, "lastUpdatedVersion": "in", "tags": [ { "_id": "e52ec1Dc5Ee5fd0ADd73aA1b", "name": "non nisi laboris aute", "description": "sed elit fugiat voluptate" }, { "_id": "adfaE8f2f456b2Bf5B4C1ecD", "name": "deserunt dolor mollit culpa magna", "description": "consequat" }, { "_id": "6E026DC56a11FF0De77be4D8", "name": "ea minim esse occaecat sit", "description": "in mollit" }, { "_id": "Ce058F62aaEBCaFcab8A1609", "name": "magna", "description": "do consequat eiusmod in adipisicing" } ], "canvasVersion": 2, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/Lu/X/raaAD/~1/JfEF/~1/ZW4uaephvg" }, { "type": "encryption", "pointer": "/~1/~1/w0Zd/~1/m5E7d,Aw,/B.VKcMHm3/h.Lzeq67trI/~1/a1tNSg/JM" }, { "type": "encryption", "pointer": "/~1/~1/phqW50fXVZE/~1/mIK-rv6dd/~0/EXiyY/Inj0B/qE5ZX/YPkGYDQ" }, { "type": "encryption", "pointer": "/Ks/~0/C/~0" } ], "migrationVersion": -95712426 }, "edit": "irure proident", "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" ] } } } }