Process Station · Sales

Lead qualification

Template

Lead qualification enriches and scores an incoming lead, then hands it to sales, across the CRM and an enrichment API.

Thanks to this station, AI agents can safely do all of that as well. No lead is routed without a score, and a personal address never leaves the CRM.

Opened to agents, through a station

Linked toolsCRMEnrichment

Source

API operations

crm

  • scoreLeadwritemapped
  • routeLeadwritemapped

enrichment

  • enrichLeadreadmapped

An operation the station does not map is out of every agent's reach.

Capabilities

MCP
Skills and playbooks agents can call
  • score-leadskill

    Score lead.

    Calls · scoreLead

  • route-leadskill

    Route lead.

    Calls · routeLead

  • enrich-leadskill

    Enrich lead.

    Calls · enrichLead

  • qualify-a-leadplaybook

    In order: enrich-lead, then score-lead, then route-lead.

    Steps · enrich-lead, score-lead, route-lead

Policies

Checked by the station

At each access

  • The sdr-assistant profile may call scoreLead, routeLead, enrichLead; nothing else.sdr-assistant

At each action

  • Personal addresses do not leave the CRM. Otherwise refused.mask-personal-email
  • A lead is routed only after being scored. Otherwise refused.score-before-route

Scenario Replays

An agent works through the station. Simulated scenarios, no real data, no key required.

Qualify a lead

What you will see: Three steps in order: enrichment never exposes personal data.

Agent connected to the station through MCP
  1. HumanQualify the lead that came from the website this morning.
  2. AgentI'll enrich, score, then route.
  3. MCP callenrichLead(company: "Acme")
  4. StationCompany of 200 people. The address is professional, enrichment allowed.OKRule applied: mask-personal-email
  5. MCP callscoreLead(lead: 4410)
  6. StationScore 78 out of 100.OKRule applied: playbook qualify-a-lead
  7. MCP callrouteLead(lead: 4410, team: "grands-comptes")
  8. StationLead routed to the Key accounts team.OKRule applied: score-before-route

The configuration in detail

station_config.yamlRead the docs →

Everything the station does fits in this file. The replay above applies it, and a copy starts from it. The values are examples to adapt, not a recommendation.

station:
  id: lead-qualification
  kind: process
  policies:
    - {policy: mask-personal-email, at: submit}
    - {policy: score-before-route, at: submit}

global:
  language: en
  timezone: Europe/Paris

apis:
  - id: crm
    operations:
      scoreLead:           {access: write, risk: low}
      routeLead:           {access: write, risk: medium}
  - id: enrichment
    operations:
      enrichLead:          {access: read}

profiles:
  sdr-assistant:
    allow: [scoreLead, routeLead, enrichLead]

policies:
  mask-personal-email:
    type: rule
    when: "action == enrichLead and email_is_personal"
    effect: deny
    reason: "Personal addresses do not leave the CRM."
  score-before-route:
    type: rule
    when: "action == routeLead and not scored"
    effect: deny
    reason: "A lead is routed only after being scored."

skills:
  - {id: score-lead, uses: scoreLead}
  - {id: route-lead, uses: routeLead}
  - {id: enrich-lead, uses: enrichLead}

playbooks:
  - id: qualify-a-lead
    tasks: [enrich-lead, score-lead, route-lead]