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-d194208d42d4. 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-d194208d42d4, 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.

This exact version passed its recorded harness run: 3 checks passed · 0 failed.

Test result

Harness resultPassed
Tested versionsha-d194208d42d4
Recorded result3 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Test recordOpen the recorded run
Inspect receipt referencessha256:955537aa7e0a7880d4b2e7d2b9ae73cf5687653ef74a75613d79d2e3137eeecasha256:60343e9751becee11a05d13cf514e21da2d8b4a937967c51285c66665382d2f8sha256:e093d7c55145cd6e5143d278bd698cd2d4f2a4613b03a593432a0d152e87ab45

Package identity

Published revisionsha-d194208d42d4
Content digestsha256:d194208d42d44c45127c6d672bcd1bfb82d4bba67d65b248daeed7a6bfc44799
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 · 17 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-d194208d42d4ViewingContent digest sha256:d194208d42d44c45127c6d672bcd1bfb82d4bba67d65b248daeed7a6bfc44799
  6. sha-21e7f893bf8bContent digest sha256:d7700274a54bdf4be4d59e41619e8588411c493d85a8cfa37b17de84c176fe67
  7. sha-090abf564751Content digest sha256:72f0dfca5cf722bbb2a6b4c36ef988800f66ad9a2f6fb5d4b9b6ed3c6b31031f