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"
}
}
]
}
Retrieves a workflow by ID with its blocks
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"
}
}
]
}
Workflow retrieved successfully
The response is of type object
.