Skip to main content
Human guide: work with your agent →
Build a small lead-enrichment pilot with separate company, person, and validation outcomes.
Use this recipe when you already have raw leads and want fast, structured company + person context.

Workflow

  1. Seed leads from a CSV.
  2. Normalize company data first.
  3. Enrich person/role fields with a second pass.
  4. Add quality gates (domain/email validation) before downstream automation.
Keep each block single-purpose so failures are obvious and reruns are cheap.

Claude Code Prompt

Why This Layout Is Reliable

  • Keeps each step single-purpose.
  • Allows quick pilot runs before running the full file.
  • Makes failures easy to diagnose because each block maps to a clear provider.

View source on GitHub | I Have X, I Want Y →

Verify this task

Reconcile input IDs and each stage’s output. Keep provider errors separate from missing or rejected fields. Inspect actual scoped usage. Ask your agent to explain a failed check before repeating work or expanding the scope.