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": "5cb7b531d06cceb89fd21b1c",
    "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": 64656876.35999951,
      "y": -51218799.45356063
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": 18147619.291193485,
      "y": 10763707.664328098
    }
  },
  "transitions": {},
  "groups": [
    {
      "name": "ut incididunt in esse nulla",
      "provenance": "dolor Excepteur nulla minim"
    },
    {
      "name": "voluptate in eiusmod nisi",
      "provenance": "cupidatat consectetur enim"
    },
    {
      "name": "qui",
      "provenance": "incididunt sunt fugiat cupidatat"
    },
    {
      "name": "magna amet",
      "provenance": "proident laboris"
    }
  ],
  "_id": "cdc395ee-c65e-97cf-e0dd-edaccb8160bc",
  "description": "velit",
  "font_size": 12,
  "created": "1983-10-19T16:54:01.639Z",
  "created_by": {
    "username": "non sit laboris et dolore",
    "provenance": "consequat exercitation"
  },
  "createdVersion": "culpa nostrud",
  "last_updated": "1996-09-20T11:15:53.143Z",
  "last_updated_by": {
    "username": "in",
    "provenance": "ut"
  },
  "lastUpdatedVersion": "nulla aliqua in"
}