POST
/
workflows
/
get
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/get \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "blocks": [
    {
      "id": "<string>",
      "name": "<string>",
      "transformerFn": "<string>",
      "type": "<string>",
      "locator": {
        "role": "<string>",
        "text": "<string>",
        "label": "<string>",
        "placeholder": "<string>",
        "altText": "<string>",
        "title": "<string>",
        "css": "<string>",
        "xpath": "<string>"
      },
      "data": {
        "loginId": "<string>"
      },
      "parentRelationship": {
        "blockDepth": 123,
        "positionInSequence": 123,
        "parentBlockId": "<string>",
        "parentSequenceId": "sequence"
      }
    }
  ],
  "parametersSchema": {},
  "parametersDefault": {}
}

Body

application/json

Response

200
application/json

Workflow retrieved successfully

The response is of type object.