Node reference
Decision node: typed judgments with TypeSafe Jev
The Decision node sends its state and a set of narrow questions to TypeSafe Jev in one call. Each answer comes back as probabilities with a confidence, not prose, so branching stays predictable.
When to use it
Triage, moderation, sentiment and lead scoring: anywhere an Agent would only classify or rate. Wire the uncertain port to an Agent or a review step for low-confidence cases.
Ports
- Inputs
in- Outputs
outuncertainerrorone port per case- Tool
attachable to an agent's tools port
Configuration
- Credential
credential_idrequired - credential
- Model
model - string · default "jev-latest"
- State
state - template · default "{{ input }}"The facts Jev judges. Text, or JSON with named fields.
- Questions
questionsrequired - list
- Branch on
route_mode - none | noul | choice | bands | rules · default "none"
- Question to branch on
route_question - string
- Yes threshold
threshold - number · default 0.5
- Score bands
bands - listPorts by minimum normalised score (0 to 1); the highest band reached fires.
- Rules
rules - listFirst match fires, e.g. answers.urgent.value > 0.8 and composite >= 0.5
- Scorecard
scorecard - listWeights combining answers into one 0 to 1 composite score.
- Minimum confidence
min_confidence - number · default 0Below this, Uncertain fires instead of a branch. 0 turns it off.
- Tool description
tool_description - string
Output
Always fires out with answers, composite, branch and confidence. With branching on, it also fires one branch port, or uncertain when confidence is below the minimum.
Example
[
{ "key": "is_bug", "type": "noul", "instructions": "Does the message report a defect?" },
{ "key": "area", "type": "choice", "instructions": "Which area?",
"criteria": [{ "option": "billing" }, { "option": "technical" }] },
{ "key": "priority", "type": "score", "instructions": "How urgent?",
"criteria": ["Next week", "Today", "Immediately"] }
]Good to know
Keep each question to one judgment, and send only the fields it needs. Rules read answers as answers.priority.value >= 1.5.
Keep reading
- Switch node: multi-way branchingThe Switch node routes a workflow down one of many branches: each case has its own port and expression, with a default port when none match.
- Agent node: Claude with tools and structured outputThe Agent node calls Claude with your prompt, uses attached HTTP, app, API and MCP tools in a loop, and returns text plus structured output to branch on.
- AI content moderation workflowModerate user-generated content with a Claude agent that returns a structured verdict, then allow, queue for review, or block it in a visual workflow.
Build it on the canvas
Create a free account, describe the workflow or wire it yourself, and run it in the browser.