Jev n8n routing classifies workflow items in a single node: Jev, the decision model from TypeSafe, returns probabilities for named outcomes instead of natural language. In n8n, the source-available automation platform, you define routes the way you would in an If or Switch node and filter on a confidence threshold.
What is Jev n8n routing?
Jev n8n routing is a single-node pattern where Jev, a decision-only model from TypeSafe, classifies each workflow item against routes you name and returns a probability for every outcome. It responds with probabilities rather than prose, which makes it behave like a context-aware If or Switch node in n8n, the source-available workflow automation platform that supports self-hosting.
The distinction matters. A general-purpose language model writes an answer you then have to parse; Jev scores the categories you defined in advance. In the video walkthrough, presenter Liam McGarrigle describes the result as a smart if statement: ask a typed question, get named outputs, branch on confidence.
How do you set up the Route Item by Typed Question node?
Setup takes three steps on the latest n8n version, provided you have a Jev API key from TypeSafe.
- Search for "Jev" in the n8n node panel and choose the Route Item by Typed Question operation.
- Enter instructions and the content to evaluate. You can drag in individual fields, or pass the entire incoming object with
toJsonString()so the model sees the full JSON. - Add named routes, the way you would add branches to an If node. Route one might be "yes" and route two "no".
Once saved, the node exposes those route names as outputs on the canvas, so downstream nodes wire up exactly like a native branch. The demonstration asked a trivial question ("Am I cool?") and got a 97% probability on the yes route, which shows the shape of the response: a number per named outcome.
How does confidence threshold filtering work?
Every Jev response carries a probability for each route, so you can require a minimum confidence before an item proceeds. If a use case only allows items through at 95% certainty or higher, you filter on that probability field after the node and send low-confidence items to a fallback path, such as human review.
This is the practical difference from a bare LLM answer. Because the score is structured output tied to a named route, thresholding is a numeric comparison in the workflow rather than prompt engineering against words like "probably" or "maybe".
Which production use cases fit Jev n8n routing?
Two worked examples in the video show the pattern where fixed rules cannot make the call.
- Deal review triage. A CRM deal record is passed as full JSON with
toJsonString(), the instruction asks whether the deal warrants executive review, and yes/no routes replace a separate If node. Low-confidence deals can route to a person instead of an executive queue. - Salesforce case sorting. A new Salesforce case arrives and is bucketed into routes such as critical, high, or low priority, replacing a Switch node whose buckets were previously decided by an upstream language model.
Both are semi-deterministic workflows: the routing logic is fixed, but the decision itself needs judgment. McGarrigle's stated rule is simple. If pure deterministic logic already answers the question, keep the If node. Use Jev when a human would otherwise eyeball the item, but when the surrounding workflow stays rule-based.
Is Jev cheaper and faster than an LLM plus If node?
The video's claim is architectural, not a published benchmark: because Jev makes only a decision, the presenter reports that it is faster and vastly cheaper than running a general-purpose language model and then branching on its answer in a second node. It also removes the parsing layer, since the output is already a route plus a probability.
That framing deserves caution. The speed and cost comparisons here come from the presenter's experience with his own workflows, not from a published independent measurement, and actual pricing depends on the TypeSafe API plan you use. What is verifiable from the walkthrough is the structural saving: one node instead of an LLM node plus a branch node, with structured probabilities instead of text to parse.
What do you need before you start?
Four things, per the video's resource list.
- A current n8n version, on cloud or self-hosted, so the Jev node appears in the node panel.
- A Jev API key created in TypeSafe's dashboard.
- An n8n gateway/credits setup on Cloud if you want to try it without a paid plan first; n8n offers a 14-day free trial.
- A workflow with a clear decision point and a defined set of outcomes, since Jev only scores the routes you name.
If your n8n instance is older, update it first; the node will not appear on outdated versions.
FAQ
- Does Jev write natural language responses? No. Jev returns probabilities for the outcomes you define. It is built for classification and routing decisions, not for generating text, which is why it slots into workflows where an If or Switch node would sit.
- Can Jev replace every If node in n8n? No. When the answer is already deterministic, such as a clear yes/no from existing fields, plain logic remains the better choice. Jev fits decisions that need judgment but feed rule-based branches.
- Do I need to map every input field manually? No. You can pass the complete incoming JSON object with
toJsonString()instead of dragging each field in, which is the approach used for both the deal-review and Salesforce triage examples.
- What happens when confidence is low? You decide. Because each route carries a probability, you can filter on it and send uncertain items to a fallback path such as human review rather than letting them proceed.
Fork this article
Start a new branch from the same video, shaped your way. You keep the credit; the original keeps the attribution.
A fork in another language is filed as a translation of this article, so the two pages point at each other. You can unlink it later from the editor.
0/240
You are creating
- Format
- For
- Language
- Source
- Your angle
You will be asked to sign in before it is generated.
Buy credits