# Clean Messy B2B Leads Before Cold Outreach

**Use case:** 

Normalize a messy sample into 5 CRM-ready ACCEPT leads, route 1 role inbox to REVIEW, and block 1 duplicate with exact scores and domain-level evidence.

## Input

```json
{
  "rows": [
    {
      "full_name": "Maya Chen",
      "job_title": "VP Marketing",
      "work_email": "maya.chen@hubspot.com",
      "phone_number": "+1 617 555 0142",
      "country_code": "US",
      "contact_city": "Boston",
      "company_name": "HubSpot",
      "company_website": "https://www.hubspot.com",
      "company_industry": "SaaS Software",
      "verified_at": "2026-07-12T10:00:00Z",
      "sample_record": true
    },
    {
      "fullName": "Lucas Meyer",
      "title": "Head of Growth",
      "email": "lucas.meyer@stripe.com",
      "country": "Germany",
      "city": "Berlin",
      "companyName": "Stripe",
      "companyDomain": "stripe.com",
      "industry": "Payments Software",
      "updatedAt": "2026-07-09T08:30:00.000Z",
      "sample_record": true
    },
    {
      "contact": {
        "name": "Priya Nair",
        "jobTitle": "Demand Generation Director",
        "email": "priya.nair@asana.com",
        "phone": "+44 20 7946 0213"
      },
      "location": {
        "country": "UK",
        "city": "London"
      },
      "organization": {
        "name": "Asana",
        "industry": "Work Management Software"
      },
      "verified_at": "2026-07-15T13:45:00Z",
      "sample_record": true
    },
    {
      "person": {
        "fullName": "Noah Bennett",
        "jobTitle": "CMO",
        "email": "  NOAH.BENNETT@INTERCOM.COM  ",
        "country": "United States",
        "city": "San Francisco"
      },
      "employment": {
        "company": "Intercom"
      },
      "organization": {
        "domain": "intercom.com",
        "industry": "Customer Messaging Software"
      },
      "timestamp": "2026-07-17T09:15:00Z",
      "sample_record": true
    },
    {
      "name": "Outreach Team",
      "position": "Marketing Operations",
      "business_email": "hello@typeform.com",
      "country_name": "Spain",
      "city": "Barcelona",
      "organization_name": "Typeform",
      "website_url": "https://typeform.com/",
      "category": "SaaS Software",
      "scraped_at": "2026-07-14T11:20:00Z",
      "sample_record": true
    },
    {
      "first_name": "Anna",
      "last_name": "Keller",
      "current_title": "VP Demand Generation",
      "email_address": "anna.keller@personio.de",
      "country": "DE",
      "city": "Munich",
      "company": "Personio",
      "domain": "personio.de",
      "industry": "HR Software",
      "sample_record": true
    },
    {
      "full_name": "Lucas Meyer duplicate",
      "job_title": "Head of Growth",
      "work_email": "lucas.meyer@stripe.com",
      "country_code": "DE",
      "contact_city": "Berlin",
      "company_name": "Stripe",
      "company_website": "https://stripe.com",
      "company_industry": "Payments Software",
      "verified_at": "2026-07-09T08:30:00Z",
      "sample_record": true
    }
  ],
  "qualityMode": "BALANCED",
  "offset": 0,
  "maxItems": 7,
  "rules": {
    "acceptScore": 90
  },
  "maxConcurrency": 10
}
```

## Output

```json
{
  "sourceIndex": {
    "label": "Source row",
    "format": "integer"
  },
  "decision": {
    "label": "Decision",
    "format": "string"
  },
  "qualityScore": {
    "label": "Quality score",
    "format": "integer"
  },
  "primaryReason": {
    "label": "Primary reason",
    "format": "string"
  },
  "fullName": {
    "label": "Full name",
    "format": "string"
  },
  "title": {
    "label": "Job title",
    "format": "string"
  },
  "companyName": {
    "label": "Company",
    "format": "string"
  },
  "email": {
    "label": "Email",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "duplicate": {
    "label": "Batch duplicate",
    "format": "boolean"
  },
  "historicalDuplicate": {
    "label": "Historical duplicate",
    "format": "boolean"
  },
  "reasonCodes": {
    "label": "Reason codes",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [B2B Lead List Cleaner - Bulk Email Verification & Validator](https://apify.com/kamerozkan/b2b-lead-cleaner) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kamerozkan/b2b-lead-cleaner) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kamerozkan/b2b-lead-cleaner.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
