Ventes · intermediate

Qualification des leads

Séparer les opportunités commerciales du support, des partenariats, du spam et de l’incertain.

choicenoulscore

Quand l’utiliser

  • Inbound sales
  • CRM triage
  • Sales alerts

Exemple de state

{
  "message": "We have 35 support agents and need SSO. Can we get a security review and pricing call this week?",
  "source": "contact_form"
}

Questions de décision

choiceinbound_type

Choose the route for this inbound message.

  • sales — A potential customer evaluating a purchase
  • partnership — A proposed business collaboration
  • support — An existing customer seeking help
  • spam — Unsolicited generic promotion
  • unclear — Purpose is unclear
noulqualified

Does the message contain concrete evidence of a sales opportunity worth human follow-up?

scorepriority

Score follow-up priority from 0 to 3.

  1. 0 — no sales follow-up
  2. 1 — weak or early interest
  3. 2 — concrete need or evaluation
  4. 3 — concrete need plus near-term procurement action

Sortie attendue

An inbound route, qualification probability, and ordered follow-up priority score.

TypeScript

import { choice, noul, score, TypeSafeClient } from "@typesafe-ai/sdk";

const client = new TypeSafeClient();

const result = await client.systemOne({
  state: {
    message:
      "We have 35 support agents and need SSO. Can we get a security review and pricing call this week?",
    source: "contact_form",
  },
  questions: {
    inbound_type: choice("Choose the route for this inbound message.", {
      sales: "A potential customer evaluating a purchase",
      partnership: "A proposed business collaboration",
      support: "An existing customer seeking help",
      spam: "Unsolicited generic promotion",
      unclear: "Purpose is unclear",
    }),
    qualified: noul(
      "Does the message contain concrete evidence of a sales opportunity worth human follow-up?"
    ),
    priority: score("Score follow-up priority.", [
      "No sales follow-up",
      "Weak or early interest",
      "Concrete need or evaluation",
      "Concrete need plus near-term procurement action",
    ]),
  },
});

Pourquoi ce modèle fonctionne

  • The route distinguishes sales from other common contact-form traffic.
  • Qualification is tied to evidence in the message rather than company-looking language alone.
  • Priority is decomposed from qualification so teams can set different follow-up thresholds.

Limites

  • Do not infer budget, authority, or company size unless the state supplies evidence.
  • A high model score should not automatically enroll or contact a person without your normal consent rules.

Source officielle

2026-09-21

Étape suivante: Jev PlaygroundModèles