POST
/
workflows
/
get
Get workflow
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/get \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "isAuthenticationRequired": true,
  "autoSaveEnabled": true,
  "webhookUrls": [
    "<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>"
      },
      "isCacheable": false,
      "skipIfNotPresent": false,
      "data": {},
      "parentRelationship": {
        "blockDepth": 123,
        "positionInSequence": 123,
        "parentBlockId": "<string>",
        "parentSequenceId": "sequence"
      }
    }
  ]
}

Body

application/json

Response

200
application/json

Workflow retrieved successfully

The response is of type object.