Skip to main content
POST
/
workflows
/
blocks
/
setTemplate
cURL
curl --request POST \
  --url https://api.kaizenautomation.com/workflows/blocks/setTemplate \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>",
  "templateId": "<string>"
}'
{
  "blocks": [
    "<any>"
  ]
}

Body

application/json
workflowId
string
required
templateId
string
required

Response

Applied template blocks to workflow successfully

blocks
array

Sequence of workflow block summaries set from template

  • Login
  • Form Block
  • Mouse Block
  • Input
  • Date Input
  • Extract
  • ParseDocument
  • Extract from Input
  • QueryKnowledgeBase
  • API
  • Close Page
  • Close Popup
  • Multistep
  • Option 17
  • Network Request Block
  • Wait
  • WaitForCondition
  • Fail
  • Option 22
  • Option 23
  • Option 24
  • Option 25
  • Download File Block
  • Save As PDF Block
  • CodeV2
  • Transform
  • Exit From Loop
  • Loop
  • If
I