Waterfall enrichment skill

Design multi-provider enrichment waterfalls — provider ordering by cost-per-hit, 3 separate waterfalls for company, email, and phone data, always verify after finding.

by LeadMagic·MIT license·★ 62 Stars on the repo·GitHub ↗

Use now

Inside this skill

SKILL.md · the author's own words
# Waterfall Enrichment

## Overview

No single B2B data provider covers more than 60-75% of contacts. A multi-provider
waterfall chains providers in sequence, each firing only when the previous
returns empty. The result: 85-92% coverage at optimized cost.

This skill covers complete waterfall architecture: 3 separate waterfalls for
company data, email, and phone — each with independently optimized provider
ordering and verification integration.

## Authoritative Foundations
- **DAMA-DMBOK — Data quality dimensions** — Score each provider on accuracy, completeness, validity, and timeliness, not coverage alone.
- **Clay — Waterfall enrichment** — Query providers in sequence and stop at the first validated result to control cost.
- **Google and Yahoo — Bulk sender requirements (2024)** — Validate every email the waterfall returns; bounces and complaints from bad data…

Word-for-word excerpt, not a result. Read the full SKILL.md ↓

Files of Waterfall enrichment

LeadMagic/main1 file shown
SKILL.md
Show the full text137 lines

Waterfall Enrichment

Overview

No single B2B data provider covers more than 60-75% of contacts. A multi-provider waterfall chains providers in sequence, each firing only when the previous returns empty. The result: 85-92% coverage at optimized cost.

This skill covers complete waterfall architecture: 3 separate waterfalls for company data, email, and phone — each with independently optimized provider ordering and verification integration.

Authoritative Foundations

  • DAMA-DMBOK — Data quality dimensions — Score each provider on accuracy, completeness, validity, and timeliness, not coverage alone.
  • Clay — Waterfall enrichment — Query providers in sequence and stop at the first validated result to control cost.
  • Google and Yahoo — Bulk sender requirements (2024) — Validate every email the waterfall returns; bounces and complaints from bad data damage sender reputation.

When to Use

  • "Build an enrichment waterfall"
  • "Improve our data coverage"
  • "Chain multiple enrichment providers"
  • "Design a cost-optimized enrichment pipeline"
  • "Set up waterfall enrichment in Clay"

Step-by-Step Process

Phase 1: Three Separate Waterfalls

Build independent waterfalls for different data types:

Company Waterfall:

  1. Clay native / Clearbit (cheap, broad)
  2. Apollo Company (mid-cost, good SMB coverage)
  3. ZoomInfo (expensive, enterprise depth)
  4. Claygent AI research (unstructured, last resort)

Email Waterfall:

  1. LeadMagic Email Finder (verified results, pay-per-result)
  2. Apollo (270M+ contacts, subscription)
  3. Hunter.io (domain-pattern matching)
  4. People Data Labs (alternative sourcing)
  5. Claygent (AI web research)

Phone Waterfall:

  1. Apollo (mobile, included in subscription)
  2. Cognism (strong EU mobile coverage)
  3. ContactOut (alternative sourcing)
  4. People Data Labs (broad but thinner)
Phase 2: Provider Ordering

Sort by cost-per-hit, not cost-per-attempt. A cheap provider with 20% hit rate costs more per successful lookup than a moderate provider with 70% hit rate.

Formula: Cost-per-hit = Price per attempt ÷ Hit rate.

Phase 3: Conditional Fallback Logic
  • Each fallback only fires when the previous step returns empty or error
  • COALESCE logic: prefer high-confidence results even from later steps
  • Credit caps: max 5-6 credits per row per waterfall
  • Verification step after email waterfall — always
Phase 4: Provider Performance Monitoring

Track per provider: hit rate, cost per successful lookup, incremental coverage. Re-test provider ordering quarterly — provider performance changes over time. Drop providers contributing less than 5% incremental coverage.

Output Format

Waterfall architecture document with provider ordering, conditions, credit costs, expected coverage per stage, and verification integration.

Quality Check

Before delivering, verify:

  • All required sections are complete
  • Output matches the user's stated need
  • Named frameworks are cited for key recommendations
  • No vague claims — every recommendation has a specific action
  • Deliverable is ready for operational use, not just conceptual

Common Pitfalls

  1. One giant waterfall for everything. Different data types need different providers. Company data, email, and phone are separate waterfalls.

  2. Wrong provider order. Sort by cost-per-hit, not coverage percentage. A cheap provider with low hit rate is expensive per result.

  3. Skipping verification. Every waterfall returns 5-15% stale emails. Verification catches them before they damage sender reputation.

  4. No credit caps. Without caps, a single stubborn row can consume 15+ credits across the full chain. Cap at 5-6 per row.

  5. Not re-testing provider order. Provider performance changes quarterly. The waterfall that worked in January may be suboptimal by April.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand: Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
  • lead-enrichment: Execute enrichment on a specific list
  • clay-automation: Clay-specific waterfall configuration
  • email-finding: Email-specific waterfall patterns
  • contact-verification: Verification step after waterfall
1---
2name: waterfall-enrichment
3description: >-
4 Design multi-provider enrichment waterfalls — provider ordering by cost-per-hit,
5 3 separate waterfalls for company, email, and phone data, always verify after
6 finding. Use when building enrichment waterfalls or improving data coverage.
7license: MIT
8compatibility: Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
9metadata:
10 version: "1.0.0"
11 author: LeadMagic
12 category: automation
13 tags: [waterfall, enrichment, providers, coverage]
14 related_skills: [lead-enrichment, clay-automation, email-finding, contact-verification]
15 frameworks:
16 - "DAMA-DMBOK — Data quality dimensions"
17 - "Clay — Waterfall enrichment"
18 - "Google and Yahoo — Bulk sender requirements (2024)"
19---
20 
21# Waterfall Enrichment
22 
23## Overview
24 
25No single B2B data provider covers more than 60-75% of contacts. A multi-provider
26waterfall chains providers in sequence, each firing only when the previous
27returns empty. The result: 85-92% coverage at optimized cost.
28 
29This skill covers complete waterfall architecture: 3 separate waterfalls for
30company data, email, and phone — each with independently optimized provider
31ordering and verification integration.
32 
33## Authoritative Foundations
34- **DAMA-DMBOK — Data quality dimensions** — Score each provider on accuracy, completeness, validity, and timeliness, not coverage alone.
35- **Clay — Waterfall enrichment** — Query providers in sequence and stop at the first validated result to control cost.
36- **Google and Yahoo — Bulk sender requirements (2024)** — Validate every email the waterfall returns; bounces and complaints from bad data damage sender reputation.
37 
38## When to Use
39 
40- "Build an enrichment waterfall"
41- "Improve our data coverage"
42- "Chain multiple enrichment providers"
43- "Design a cost-optimized enrichment pipeline"
44- "Set up waterfall enrichment in Clay"
45 
46## Step-by-Step Process
47 
48### Phase 1: Three Separate Waterfalls
49 
50Build independent waterfalls for different data types:
51 
52**Company Waterfall**:
531. Clay native / Clearbit (cheap, broad)
542. Apollo Company (mid-cost, good SMB coverage)
553. ZoomInfo (expensive, enterprise depth)
564. Claygent AI research (unstructured, last resort)
57 
58**Email Waterfall**:
591. LeadMagic Email Finder (verified results, pay-per-result)
602. Apollo (270M+ contacts, subscription)
613. Hunter.io (domain-pattern matching)
624. People Data Labs (alternative sourcing)
635. Claygent (AI web research)
64 
65**Phone Waterfall**:
661. Apollo (mobile, included in subscription)
672. Cognism (strong EU mobile coverage)
683. ContactOut (alternative sourcing)
694. People Data Labs (broad but thinner)
70 
71### Phase 2: Provider Ordering
72 
73Sort by cost-per-hit, not cost-per-attempt. A cheap provider with 20% hit rate
74costs more per successful lookup than a moderate provider with 70% hit rate.
75 
76Formula: Cost-per-hit = Price per attempt ÷ Hit rate.
77 
78### Phase 3: Conditional Fallback Logic
79 
80- Each fallback only fires when the previous step returns empty or error
81- COALESCE logic: prefer high-confidence results even from later steps
82- Credit caps: max 5-6 credits per row per waterfall
83- Verification step after email waterfall — always
84 
85### Phase 4: Provider Performance Monitoring
86 
87Track per provider: hit rate, cost per successful lookup, incremental coverage.
88Re-test provider ordering quarterly — provider performance changes over time.
89Drop providers contributing less than 5% incremental coverage.
90 
91## Output Format
92 
93Waterfall architecture document with provider ordering, conditions, credit
94costs, expected coverage per stage, and verification integration.
95 
96 
97## Quality Check
98 
99Before delivering, verify:
100- [ ] All required sections are complete
101- [ ] Output matches the user's stated need
102- [ ] Named frameworks are cited for key recommendations
103- [ ] No vague claims — every recommendation has a specific action
104- [ ] Deliverable is ready for operational use, not just conceptual
105 
106## Common Pitfalls
107 
1081. **One giant waterfall for everything.** Different data types need
109 different providers. Company data, email, and phone are separate waterfalls.
110 
1112. **Wrong provider order.** Sort by cost-per-hit, not coverage percentage.
112 A cheap provider with low hit rate is expensive per result.
113 
1143. **Skipping verification.** Every waterfall returns 5-15% stale emails.
115 Verification catches them before they damage sender reputation.
116 
1174. **No credit caps.** Without caps, a single stubborn row can consume 15+
118 credits across the full chain. Cap at 5-6 per row.
119 
1205. **Not re-testing provider order.** Provider performance changes quarterly.
121 The waterfall that worked in January may be suboptimal by April.
122 
123## Execution Artifacts
124 
125- `references/framework-notes.md` — named frameworks, citation anchors, and operating assumptions
126- `templates/output-template.md` — copy-paste deliverable structure for the user
127- `scripts/check-output.py` — local checklist validator for required sections
128This skill includes lightweight artifacts the agent can load on demand:
129Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.
130 
131## Related Skills
132 
133- **lead-enrichment**: Execute enrichment on a specific list
134- **clay-automation**: Clay-specific waterfall configuration
135- **email-finding**: Email-specific waterfall patterns
136- **contact-verification**: Verification step after waterfall
137 

Discussion