Render a tree of the structure of the workflow. Run in API Explorer
Ask AI
GET
/api/v1/workflow/{workflow_uuid}/tree
curl \
--request GET 'https://api.plannrcrm.com/api/v1/workflow/6ff8f7f6-1eb3-3525-be4a-3932c805afed/tree' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"uuid": "d5a9fb3f-3169-4e24-a55d-2c3278d9c1d2",
"name": "Task With Children",
"sub_tasks": [
{
"uuid": "bd2cdc1d-22aa-4407-8abf-ebae2b365189",
"name": "Task With Children",
"sub_tasks": {
"uuid": "9f72509f-6da7-43f3-ae5d-33feb0b160cc",
"name": "Task With Children",
"trigger_tasks_count": 5
},
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}