Use case
AI lead scoring workflow
Updated October 13, 2026
Sales teams lose the best leads in a pile of tyre-kickers. This workflow scores every inbound form in under a second with the Decision node, alerts sales on hot leads, and only spends an agent call on the leads it is unsure about.
How the workflow runs
- A webhook receives the form: company, role, team size and message.
- The Decision node asks three questions in one call: fit and intent as scores, and whether the contact is a decision maker.
- A scorecard weights the answers into one score, and score bands fire hot, warm or cold.
- Hot leads post to Slack with a Connector node; warm and cold leads are tagged for nurture.
- When confidence is low,
uncertainfires instead and an Agent takes a closer look.
The questions
[
{ "key": "fit", "type": "score", "instructions": "How well does this lead fit our ideal customer?",
"criteria": ["Poor", "Partial", "Strong"] },
{ "key": "intent", "type": "score", "instructions": "How ready to buy does this lead seem?",
"criteria": ["Browsing", "Evaluating", "Ready"] },
{ "key": "decision_maker", "type": "noul", "instructions": "Is the contact a decision maker?" }
][
{ "port": "cold", "min": 0 },
{ "port": "warm", "min": 0.4 },
{ "port": "hot", "min": 0.7 }
]The Lead score preset fills all of this in. Set Minimum confidence to 0.5 so borderline leads go to review.
Why a Decision node, not an agent
An agent writing "8/10" in prose drifts from run to run and costs output tokens. Jev returns probabilities for each level, so the scorecard is plain arithmetic you can audit in the run, and output tokens are free.
Keep reading
- AI decisions: classify, score and branch with the Decision nodeUse the Decision node and TypeSafe Jev to answer yes/no, choice and score questions with calibrated probabilities, then branch, score and escalate on them.
- Decision node: typed judgments with TypeSafe JevThe Decision node asks TypeSafe Jev yes/no, choice and score questions, then branches on calibrated probabilities, a weighted scorecard or rules.
- AI support ticket triage workflowBuild an AI support ticket triage workflow: Claude classifies urgency and topic with structured output, escalates urgent tickets and drafts the rest.
Build it on the canvas
Create a free account, describe the workflow or wire it yourself, and run it in the browser.