Lead enrichment

Normalize factual person and company evidence for one confidently matched lead, preserving provenance, freshness, missing fields and conflicts.

You’re reading version sha-21e7f893bf8b. Go to the current version

Overview

Build factual context for one person or company. Enrichment answers what is known about the subject. lead-qualify decides whether those facts meet an ICP; cold-outreach prepares copy only after contact eligibility is supplied.

The default enrich runner reuses supplied structured evidence. It makes no provider request and spends no enrichment credits. An upstream declared connector operation can supply evidence; Apollo is the planned first lookup provider, whose credential presentation remains a native connector dependency. Do not claim that running this skill performs an Apollo lookup.

In the manual

Runner

  • enrich

Declared by its execution profile. Read the profile

SKILL.md

Lead Enrichment

Build factual context for one person or company. Enrichment answers what is known about the subject. lead-qualify decides whether those facts meet an ICP; cold-outreach prepares copy only after contact eligibility is supplied.

The default enrich runner reuses supplied structured evidence. It makes no provider request and spends no enrichment credits. An upstream declared connector operation can supply evidence; Apollo is the planned first lookup provider, whose credential presentation remains a native connector dependency. Do not claim that running this skill performs an Apollo lookup.

Procedure

  1. Bind one subject reference and the professional fields actually needed.
  2. Supply source references, native or upstream digests, observation times, explicit subject matches, and factual field/value pairs. A caller-supplied digest is provenance, not independent provider verification.
  3. Reuse only fresh sources confidently matched to that exact subject. A weak name match, stale observation or mismatched identity does not fill a field.
  4. Preserve conflicting values with their separate sources. Do not silently choose the latest value or invent a merged person from several matches.
  5. Return enriched, partial or needs_more_evidence, supported facts, missing fields, conflicts and the admitted source index.

The runner performs deterministic normalization rather than an extra model turn. Evidence acquisition and entity matching belong to the selected provider; commercial fit belongs to qualification. It does not infer buying intent, budget, consent, sensitive traits or private personal details.

Composition

Pass lead_enrichment_packet into lead-qualify#qualify together with the actual ICP criteria. Preserve the native artifact digest. For another lookup, request only missing professional fields with a bounded credit allowance and the same subject identity. Never enable personal-email/phone reveal or a waterfall merely to make an incomplete packet look complete.

The skill neither updates CRM records nor authorizes messages. The calling application owns refresh schedules and continuing work; connectors own exact provider requests, credential custody and billing evidence.

Published execution profile

The execution profile published with sha-21e7f893bf8b, shown as its exact bytes.

Runner
  • enrich
Profile digestsha256:f0f7b4015ed03bde2c58355ff73b2f7664e99d1385adb6ec7e8c39b66ffbed50
skill: lead-enrichment
version: "0.4.3"
catalog:
  kind: graph
  audience: operator
  visibility: public
  role: context
  execution: read
  completion: runtime_receipt
  approval: none
  category: growth
runners:
  enrich:
    default: true
    inputs:
      subject:
        type: object
        required: true
        description: One exact person or company reference; provider matches must refer to it.
        schema:
          additionalProperties: false
          required: [ref, kind]
          properties:
            ref: {type: string, minLength: 1, maxLength: 1000}
            kind: {enum: [person, company]}
      sources:
        type: array
        required: true
        description: Bounded factual observations with explicit entity matches and upstream source digests.
        schema:
          minItems: 1
          maxItems: 100
          items:
            type: object
            additionalProperties: false
            required: [source_ref, source_digest, subject_ref, observed_at, match_confidence, facts]
            properties:
              source_ref: {type: string, minLength: 1, maxLength: 1000}
              source_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
              subject_ref: {type: string, minLength: 1, maxLength: 1000}
              observed_at: {type: string, format: date-time}
              match_confidence: {enum: [high, medium, low, unknown]}
              facts:
                type: array
                minItems: 1
                maxItems: 30
                items:
                  type: object
                  additionalProperties: false
                  required: [field, value]
                  properties:
                    field:
                      enum:
                      - person.name
                      - person.email
                      - person.title
                      - person.linkedin_url
                      - company.name
                      - company.domain
                      - company.industry
                      - company.employee_count
                      - company.country
                      - company.website
                    value:
                      oneOf:
                      - {type: string, minLength: 1, maxLength: 2000}
                      - {type: integer, minimum: 0, maximum: 1000000000}
                  allOf:
                  - if:
                      properties:
                        field: {const: company.employee_count}
                      required: [field]
                    then:
                      properties:
                        value: {type: integer, minimum: 0, maximum: 1000000000}
                    else:
                      properties:
                        value: {type: string, minLength: 1, maxLength: 2000}
      requested_fields:
        type: array
        required: true
        description: Professional fields needed by this task; unrelated fields are omitted.
        schema:
          minItems: 1
          maxItems: 30
          items:
            enum:
            - person.name
            - person.email
            - person.title
            - person.linkedin_url
            - company.name
            - company.domain
            - company.industry
            - company.employee_count
            - company.country
            - company.website
          uniqueItems: true
      as_of:
        type: string
        required: true
        description: Explicit evaluation time; no host clock is read.
        schema: {format: date-time}
      max_age_days:
        type: integer
        required: false
        description: Maximum observation age in days.
        schema: {minimum: 1, maximum: 3650}
        default: 90
    result_from: [enrich]
    steps:
    - id: enrich
      inputs:
        subject: $input.subject
        sources: $input.sources
        requested_fields: $input.requested_fields
        as_of: $input.as_of
        max_age_days: $input.max_age_days
      tool: {module: lead-enrichment.mjs, export: enrichFacts}
      outputs:
        lead_enrichment_packet:
          type: object
          schema:
            additionalProperties: false
            required: [decision, subject, as_of, facts, missing_fields, conflicts, sources, blockers, acquisition]
            properties:
              decision: {enum: [enriched, partial, needs_more_evidence]}
              subject:
                type: object
                additionalProperties: false
                required: [ref, kind]
                properties:
                  ref: {type: string, minLength: 1, maxLength: 1000}
                  kind: {enum: [person, company]}
              as_of: {type: string, format: date-time}
              facts:
                type: array
                minItems: 0
                maxItems: 30
                items:
                  type: object
                  additionalProperties: false
                  required: [field, value, source_refs]
                  properties:
                    field:
                      enum:
                      - person.name
                      - person.email
                      - person.title
                      - person.linkedin_url
                      - company.name
                      - company.domain
                      - company.industry
                      - company.employee_count
                      - company.country
                      - company.website
                    value:
                      oneOf:
                      - {type: string, minLength: 1, maxLength: 2000}
                      - {type: integer, minimum: 0, maximum: 1000000000}
                    source_refs:
                      type: array
                      minItems: 1
                      maxItems: 100
                      items: {type: string, minLength: 1, maxLength: 1000}
                      uniqueItems: true
                  allOf:
                  - if:
                      properties:
                        field: {const: company.employee_count}
                      required: [field]
                    then:
                      properties:
                        value: {type: integer, minimum: 0, maximum: 1000000000}
                    else:
                      properties:
                        value: {type: string, minLength: 1, maxLength: 2000}
              missing_fields:
                type: array
                minItems: 0
                maxItems: 30
                items:
                  enum:
                  - person.name
                  - person.email
                  - person.title
                  - person.linkedin_url
                  - company.name
                  - company.domain
                  - company.industry
                  - company.employee_count
                  - company.country
                  - company.website
                uniqueItems: true
              conflicts:
                type: array
                minItems: 0
                maxItems: 30
                items:
                  type: object
                  additionalProperties: false
                  required: [field, candidates]
                  properties:
                    field:
                      enum:
                      - person.name
                      - person.email
                      - person.title
                      - person.linkedin_url
                      - company.name
                      - company.domain
                      - company.industry
                      - company.employee_count
                      - company.country
                      - company.website
                    candidates:
                      type: array
                      minItems: 2
                      maxItems: 100
                      items:
                        type: object
                        additionalProperties: false
                        required: [value, source_refs]
                        properties:
                          value:
                            oneOf:
                            - {type: string, minLength: 1, maxLength: 2000}
                            - {type: integer, minimum: 0, maximum: 1000000000}
                          source_refs:
                            type: array
                            minItems: 1
                            maxItems: 100
                            items: {type: string, minLength: 1, maxLength: 1000}
                            uniqueItems: true
              sources:
                type: array
                minItems: 0
                maxItems: 100
                items:
                  type: object
                  additionalProperties: false
                  required: [source_ref, source_digest, observed_at, match_confidence, provenance]
                  properties:
                    source_ref: {type: string, minLength: 1, maxLength: 1000}
                    source_digest: {type: string, pattern: '^sha256:[0-9a-f]{64}$'}
                    observed_at: {type: string, format: date-time}
                    match_confidence: {const: high}
                    provenance: {const: caller_supplied_source_digest}
              blockers:
                type: array
                minItems: 0
                maxItems: 100
                items: {type: string, minLength: 1, maxLength: 2000}
              acquisition: {const: supplied_evidence}
      artifacts:
        named_emits: {lead_enrichment_packet: lead_enrichment_packet}
        packets: {lead_enrichment_packet: runx.growth.lead_enrichment.v1}

Published package and test evidence.

The latest recorded test covers an earlier version, 0.4.7. It does not establish a result for this version.

Test result

Harness resultAn earlier version was tested
Tested version0.4.7Not this page’s version, sha-21e7f893bf8b
Recorded result3 checks passed · 0 failed
Result sourceRun by the Runx registry at publication
Suiterunx-harness
Test recorded

Package identity

Published revisionsha-21e7f893bf8b
Content digestsha256:d7700274a54bdf4be4d59e41619e8588411c493d85a8cfa37b17de84c176fe67
SKILL.md digestsha256:3d416234839b02cdda3aed3d5ca295bee05917ddf87dc51d953cba968cdac6f6
Execution profile digestsha256:f0f7b4015ed03bde2c58355ff73b2f7664e99d1385adb6ec7e8c39b66ffbed50
Publisher identityVerified publisher · runx
Trust tierVerified publisherRunx has verified this publisher. This tier is not a code assessment.
Attestations
  • Publisher · Verifiedrunx · 16 Oct 2026
Source provenanceNot published with this version

Version history

  1. 0.4.7Content digest sha256:77358f536ac7d02da14d3a982fed59d4b8be6bf8ffe63af7d982f622805113bf
  2. sha-8e6d04d0b5a2Content digest sha256:8e6d04d0b5a25895cb8545eec6935784e77e629782c3476607f2f1e4f5e8e43c
  3. sha-64b58ead7ff9Content digest sha256:64b58ead7ff98893568bbeb5d75bd2b2c54f9beae573715b8604518aa4bae5f7
  4. sha-5784006451efContent digest sha256:5784006451efc76264cd3ea389d36da9258e2caa33415b0a36fa04e65d203a16
  5. sha-d194208d42d4Content digest sha256:d194208d42d44c45127c6d672bcd1bfb82d4bba67d65b248daeed7a6bfc44799
  6. sha-21e7f893bf8bViewingContent digest sha256:d7700274a54bdf4be4d59e41619e8588411c493d85a8cfa37b17de84c176fe67
  7. sha-090abf564751Content digest sha256:72f0dfca5cf722bbb2a6b4c36ef988800f66ad9a2f6fb5d4b9b6ed3c6b31031f