Response
Generated blocks from chat message successfully
Sequence of workflow block summaries generated from chat
curl --request POST \
--url https://api.kaizenautomation.com/workflows/blocks/chat \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>",
"message": "<string>",
"instructorExecutionId": "<string>"
}'
{
"blocks": [
{
"id": "<string>",
"name": "<string>",
"blockReferenceId": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"isCacheable": true,
"skipIfNotPresent": true,
"data": {
"loginId": "<string>"
},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
]
}
curl --request POST \
--url https://api.kaizenautomation.com/workflows/blocks/chat \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "<string>",
"message": "<string>",
"instructorExecutionId": "<string>"
}'
{
"blocks": [
{
"id": "<string>",
"name": "<string>",
"blockReferenceId": "<string>",
"transformerFn": "<string>",
"type": "<string>",
"locator": {
"role": "<string>",
"text": "<string>",
"label": "<string>",
"placeholder": "<string>",
"altText": "<string>",
"title": "<string>",
"css": "<string>",
"xpath": "<string>"
},
"isCacheable": true,
"skipIfNotPresent": true,
"data": {
"loginId": "<string>"
},
"parentRelationship": {
"blockDepth": 123,
"positionInSequence": 123,
"parentBlockId": "<string>",
"parentSequenceId": "sequence"
}
}
]
}
Generated blocks from chat message successfully
Sequence of workflow block summaries generated from chat
Show child attributes