Skip to main content
POST
/
workflows
/
blocks
/
update
cURL
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/blocks/update \
  --header 'Content-Type: application/json' \
  --data '
{
  "workflowId": "<string>",
  "operations": [
    {
      "type": "<string>",
      "block": {
        "name": "<string>",
        "blockReferenceId": "<string>",
        "type": "<string>",
        "isCacheable": true,
        "skipIfNotPresent": true,
        "useWorkflowRecoveryAgent": true,
        "data": {
          "loginId": "<string>",
          "isParameter": true,
          "forceLoginEveryTime": true
        },
        "locator": {
          "role": "<string>",
          "text": "<string>",
          "label": "<string>",
          "placeholder": "<string>",
          "altText": "<string>",
          "title": "<string>",
          "css": "<string>",
          "xpath": "<string>"
        }
      },
      "target": {
        "type": "<string>",
        "previousBlockId": "<string>"
      }
    }
  ]
}
'
{
  "blocks": [
    {
      "id": "<string>",
      "name": "<string>",
      "blockReferenceId": "<string>",
      "type": "<string>",
      "isCacheable": true,
      "skipIfNotPresent": true,
      "useWorkflowRecoveryAgent": true,
      "data": {
        "loginId": "<string>",
        "isParameter": true,
        "forceLoginEveryTime": true
      },
      "parentRelationship": {
        "blockDepth": 123,
        "positionInSequence": 123,
        "parentBlockId": "<string>",
        "parentSequenceId": "sequence"
      },
      "locator": {
        "role": "<string>",
        "text": "<string>",
        "label": "<string>",
        "placeholder": "<string>",
        "altText": "<string>",
        "title": "<string>",
        "css": "<string>",
        "xpath": "<string>"
      }
    }
  ]
}

Body

application/json
workflowId
string
required
operations
object[]
required

Response

Applied block operations successfully

blocks
Login · object · Form Block · object · FillDocument · object · Fill Spreadsheet · object · Mouse Block · object · Hover Block · object · Search · object · Input · object · Date Input · object · Dropdown · object · Extract · object · ParseDocument · object · Generate · object · Extract Images · object · QueryKnowledgeBase · object · FindDocument · object · API · object · Navigate · object · Close Page · object · Close Popup · object · Multistep · object · object · Wait · object · WaitForCondition · object · Wait For Captcha Solve · object · FailOnCondition · object · object · object · object · object · object · Download File Block · object · Save As PDF Block · object · CodeV2 · object · Transform · object · Parse to CSV · object · RemovePagesFromPdf · object · Exit From Loop · object · Next · object · SendEmail · object · Search and Navigate · object · UnzipFile · object · Loop · object · If · object[]

Sequence of workflow block summaries