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": 94741430.00279415,
      "y": 15856900.545582592
    },
    "workflow_end": {
      "name": "workflow_end",
      "summary": "workflow_end",
      "groups": [],
      "x": 97117329.96699509,
      "y": -52352009.36580524
    },
    "error_handler": {
      "name": "childJob",
      "summary": "aute tempor laboris",
      "description": "consequat",
      "app": "magna officia non",
      "variables": {
        "error": "",
        "decorators": [
          {
            "type": "encryption",
            "pointer": "/Hwid-/~1/p77AVt4/~1/gbH/zHHF/~1/wt/V2cACN2nO4/eq/~1/~1"
          },
          {
            "type": "encryption",
            "pointer": "/j/GknR/Bue9V"
          },
          {
            "type": "encryption",
            "pointer": "/F1b"
          }
        ]
      },
      "groups": [
        {
          "name": "Duis",
          "provenance": "sint consequat et dolore"
        }
      ],
      "type": "operation",
      "deprecated": true,
      "scheduled": true
    }
  },
  "transitions": {},
  "groups": [
    {
      "name": "anim quis in Excepteur",
      "provenance": "ut veniam nisi ipsum eu"
    }
  ],
  "_id": "bdecc31e-9539-7b0e-eb04-2bc5a0f4a4d1",
  "description": "quis cupidatat sed est sit",
  "errorHandler": null,
  "font_size": 12,
  "created": "2021-10-12T06:39:47.514Z",
  "created_by": null,
  "createdVersion": "enim Ut laboris commodo esse",
  "last_updated": "1996-06-12T02:16:53.363Z",
  "last_updated_by": {
    "username": "pariatur consectetur nisi magna",
    "provenance": "fugiat labore ea"
  },
  "lastUpdatedVersion": "mollit Ut in officia sit",
  "tags": [
    {
      "_id": "c0Bc248e3Dc95ac70fe1b8Ad",
      "name": "eu magna Excepteur proident cupidatat",
      "description": "enim nisi aliquip"
    },
    {
      "_id": "3a5fC47CD2aA5f505E9CC8ea",
      "name": "laboris Ut",
      "description": "dolore deserunt esse magna"
    },
    {
      "_id": "ad5D797e3EcC249f9CD04f5f",
      "name": "dolore do",
      "description": "ad et in laboris"
    },
    {
      "_id": "Fc22630D9ec05eA978EA9F48",
      "name": "laboris",
      "description": "mollit ipsum"
    },
    {
      "_id": "F8461eF8B1C78e4C54ddDcCe",
      "name": "ut aute cillum labore esse",
      "description": "in mollit"
    }
  ],
  "canvasVersion": 1,
  "decorators": [
    {
      "type": "encryption",
      "pointer": "/Pnl6J4.+/~0/jh/HTFxTAo0dt/~1/~1"
    },
    {
      "type": "encryption",
      "pointer": "/~1/M9sUIPwtkO/~0"
    }
  ],
  "migrationVersion": 46702624
}