Visual Workflow Builder
Compose the 145 agents into one workflow.
Every change re-validates against the Cook 66 rules (cycle detection, dangling edges, branch arm shape). When the graph is clean, it compiles to a Cook 37 WorkflowStep tree runnable through runWorkflow().
Graph is valid
Compiled root kind: seq
Nodes
n-startn-qualifyn-routen-hotn-warmn-endEdges
e1→e2→e3→e4→e5→e6→JSON (copy + persist to your tenant)
{
"nodes": [
{
"id": "n-start",
"kind": "start",
"label": "Start"
},
{
"id": "n-qualify",
"kind": "agent",
"label": "Qualify lead",
"agentSlug": "lead-qualifier"
},
{
"id": "n-route",
"kind": "branch",
"label": "Tier?",
"predicate": "tier"
},
{
"id": "n-hot",
"kind": "agent",
"label": "Tier 1 support",
"agentSlug": "tier1-support"
},
{
"id": "n-warm",
"kind": "agent",
"label": "Sourcing sprint",
"agentSlug": "sourcing-sprint"
},
{
"id": "n-end",
"kind": "end",
"label": "End"
}
],
"edges": [
{
"id": "e1",
"from": "n-start",
"to": "n-qualify"
},
{
"id": "e2",
"from": "n-qualify",
"to": "n-route"
},
{
"id": "e3",
"from": "n-route",
"to": "n-hot",
"armLabel": "hot"
},
{
"id": "e4",
"from": "n-route",
"to": "n-warm",
"armLabel": "warm"
},
{
"id": "e5",
"from": "n-hot",
"to": "n-end"
},
{
"id": "e6",
"from": "n-warm",
"to": "n-end"
}
]
}