Summary
          Export Workflow
          Description
          Export a single Workflow
          Route
          POST /workflow_builder/export
          Roles
          
            admin
apiread
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | options | object | yes | match a workflow using _id or name or type | 
            
          
          
            Copied to Clipboard
            
            {
  "options": {
    "_id": "4321abcdef694aa79dae47ad",
    "name": "someWorkflowName",
    "type": "automation"
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "options": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string",
          "pattern": "^[0-9a-f]{24}$",
          "title": "MongoDB ObjectId",
          "description": "Id of Workflow document",
          "examples": [
            "4321abcdef694aa79dae47ad",
            "5cb7b531d06cceb89fd21b1c"
          ]
        },
        "name": {
          "type": "string",
          "description": "The name of the workflow",
          "examples": [
            "someWorkflowName"
          ]
        },
        "type": {
          "type": "string",
          "description": "The type of the workflow",
          "examples": [
            "automation"
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | workflow | object | Exported Workflow | 
            
          
          
            Copied to Clipboard
            
            {
  "name": "My Workflow",
  "type": "automation",
  "tasks": {
    "workflow_start": {
      "name": "workflow_start",
      "summary": "workflow_start",
      "groups": [],
      "x": -54265098.340891175,
      "y": -14847858.036350697
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": -32687111.299170375,
      "y": -83085854.89512375
    },
    "error_handler": {
      "name": "childJob",
      "summary": "dolor do ea proident",
      "description": "irure sunt",
      "app": "ex dolore veniam tempor dolore",
      "variables": {
        "error": "",
        "decorators": [
          {
            "type": "encryption",
            "pointer": "/D9L.Bhf,8VZ/~0/~0/~1/~1/Vh/a/aQdFddZt/q,1o,2d/m1abd-xG/mdngs"
          }
        ]
      },
      "groups": [
        {
          "name": "sunt elit sint quis",
          "provenance": "veniam laborum ad exercitation"
        },
        {
          "name": "sint",
          "provenance": "sint nisi irure"
        },
        {
          "name": "id adipisicing",
          "provenance": "labore ad culpa"
        },
        {
          "name": "nostrud Excepteur fugiat sint sit",
          "provenance": "elit"
        },
        {
          "name": "magna Excepteur elit velit ut",
          "provenance": "ut dolor quis incididunt"
        }
      ],
      "type": "operation",
      "deprecated": false,
      "scheduled": true
    }
  },
  "transitions": {},
  "groups": [
    {
      "name": "mollit dolor Duis",
      "provenance": "deserunt est esse dolore"
    },
    {
      "name": "eiusmod laboris enim magna cupidatat",
      "provenance": "aute aliquip"
    },
    {
      "name": "cupidatat do",
      "provenance": "esse laborum ad commodo"
    },
    {
      "name": "eiusmod laborum",
      "provenance": "laboris"
    }
  ],
  "_id": "9218b54c-c0ba-6f20-6850-f643bf4adf75",
  "description": null,
  "errorHandler": {
    "type": "Lorem",
    "name": "Excepteur culpa quis eiusmod in"
  },
  "font_size": 12,
  "created": "1944-09-23T03:28:51.172Z",
  "created_by": null,
  "createdVersion": "elit",
  "last_updated": "2021-04-11T12:23:15.844Z",
  "last_updated_by": null,
  "lastUpdatedVersion": "Ut pariatur reprehenderit est",
  "tags": [
    {
      "_id": "90c1a016a0AA07b7656dBcBA",
      "name": "Ut",
      "description": "amet laborum eu tempor deserunt"
    },
    {
      "_id": "9e30A45BAdECAfe0F70c035f",
      "name": "culpa et non cillum",
      "description": "sint"
    },
    {
      "_id": "3C3469EAfe343FC437Be6B81",
      "name": "cupidatat qui ut",
      "description": "exercitation"
    },
    {
      "_id": "9ccDc17249D27f798C23ca2d",
      "name": "culpa tempor Duis nostrud",
      "description": "tempor consequat dolor ut minim"
    },
    {
      "_id": "8bE7eE0e0B1aFAfFb74CC4FB",
      "name": "id exercitation cupidatat Duis",
      "description": "fugiat nostrud dolore dolore"
    }
  ],
  "canvasVersion": 1,
  "decorators": [
    {
      "type": "encryption",
      "pointer": "/~0/L10fqYS/~1/NHSD02l/XvTVDvz9aKP/~0/ADBbGNkqy"
    }
  ],
  "migrationVersion": 42282923
}