# Score and Enrich B2B Lead Lists

> A Claude skill that scores a CSV of B2B leads against plain-English rules using tech stack, homepage content, and company metadata, then finds contacts or blog authors for the leads that pass your threshold.

- URL: https://www.automongo.com/automations/score-enrich-b2b-leads/
- Summary: Turn a CSV of company URLs into a scored, contact-enriched pitch list with Claude.
- Tools: Claude
- Difficulty: Advanced
- Category: Sales
- Tags: apify, lead-scoring, lead-enrichment, cold-email, builtwith
- Published: 2026-11-27
- External resource: https://github.com/apify/awesome-skills/blob/main/skills/apify-lead-scoring-enrichment/SKILL.md

## How It Works

This Claude skill takes a CSV with a `company_url` column and turns it into a ready-to-pitch account list. It asks for scoring rules in plain English, one block per data source, runs Apify Actors to collect tech stack, homepage content, and company metadata, and sums the rule deltas into a score per lead. Only leads above a threshold you choose move on to enrichment, where the skill either finds named people in chosen departments or hunts down blog authors for guest-post outreach. The final CSV keeps every original row and adds scores, a qualified flag, contacts, and a one-sentence outreach hook.

### Setup Steps

1. **Prepare Apify Access**: Create an Apify account and put `APIFY_TOKEN=apify_api_...` in a `.env` file at the skill root.
2. **Install Dependencies**: Use Node.js 20.6 or later, then run `npm install` once inside the skill's `scripts/` folder.
3. **Add the Skill**: Copy the apify-lead-scoring-enrichment folder from the apify/awesome-skills repository into your Claude skills directory.
4. **Provide the CSV**: Give Claude the path to a CSV with a `company_url` column; `company_name`, `first_name`, `last_name`, `role`, and `department` pass through untouched.
5. **Write Scoring Rules**: Answer one question per source, such as "+10 if the company uses Shopify" for tech or "-5 if the homepage describes a services agency" for content.
6. **Pick an Enrichment Path**: Choose department contacts (with a list of departments and a max leads per domain) or the copywriter hunt.

### Skill Capabilities

- **Tech-Stack Scoring**: Runs `builtwith/builtwith-official-technology-scraper` on bare domains to detect CMS, analytics, and hosting tools.
- **Content Classification**: Uses `apify/website-content-crawler` on the homepage by default, with a configurable crawl depth for deeper reads.
- **Company Metadata**: Pulls industry, size, and social presence from About and Contact pages with `vdrmota/contact-info-scraper`.
- **Per-Source Scores**: Writes `tech_score`, `content_score`, and `metadata_score` separately, keeping a source that was not fetched blank instead of zero, so every score stays auditable.
- **Qualification Gate**: Computes the theoretical and observed score range, suggests the 75th percentile as a starting threshold, and filters leads before any paid enrichment.
- **Department Contacts**: Turns on the Business leads enrichment add-on in Contact Info Scraper to return names, titles, work emails, and LinkedIn URLs, with `scalelist/email-finder` as a fallback for missing emails.
- **Copywriter Hunt**: Chains `apify/google-search-scraper` (`site:domain blog`), `apify/ai-web-scraper` for author names, and `scalelist/email-finder` for their emails.
- **Outreach Hooks**: Adds one sentence per lead built on the most personal signal found, such as "uses Shopify, send the Shopify install guide".

### Benefits

- **Rules in Plain English**: Scoring criteria are written as sentences, not formulas, and filed under the source they test.
- **Lower Enrichment Spend**: The threshold gate keeps paid contact lookups to the leads worth pitching.
- **Full Audit Trail**: Unqualified leads stay in the final CSV with `qualified=false`, so it is clear why each one was skipped.
- **Batch Actor Calls**: Each enabled Actor runs once for the whole list instead of once per lead.

### Advanced Features

- Cost warning when max leads per domain times domain count goes above 500.
- Optional `--verify-emails` flag to validate every returned address.
- Automatic re-filing of rules placed under the wrong source block.
- Skipping of any data source that has no scoring rules, so no credits go to unused signals.
- Works through helper scripts, the Apify CLI, or the Apify MCP connector.

### Common Pitfalls to Avoid

- Feeding full URLs to BuiltWith; it expects bare domains such as `acme.com`.
- Expecting contacts from large chains or social platforms, which Contact Info Scraper excludes by default.
- Running the copywriter path on domains without a blog or author bylines.
- Starting a large list without enough credits; the scoring script has no partial recovery, so split big CSVs into slices.

### Use Cases

- Qualify a raw domain list against an ideal customer profile before an outbound campaign.
- Find marketing and sales contacts at Shopify or WooCommerce stores for an integration pitch.
- Build a guest-post outreach list of blog authors and their emails.
- Personalize the first line of cold emails at scale with a tech-stack or industry hook.
- Rank inbound sign-ups by company fit before handing them to SDRs.
