# Clean B2B Leads Before CRM Import

**Use case:** 

Clean B2B lead lists before CRM import. Detect duplicates, risky emails, personal inboxes, and off-target contacts with explained decisions.

## Input

```json
{
  "rows": [
    {
      "full_name": "Ada Rivera",
      "job_title": "VP Marketing",
      "email": "ada@stripe.com",
      "country": "United States",
      "company_name": "Stripe",
      "company_domain": "stripe.com",
      "industry": "Software"
    },
    {
      "full_name": "Duplicate Ada",
      "job_title": "VP Marketing",
      "email": "ada@stripe.com",
      "country": "United States",
      "company_name": "Stripe",
      "company_domain": "stripe.com",
      "industry": "Software"
    },
    {
      "full_name": "Personal Inbox",
      "job_title": "Marketing Manager",
      "email": "someone@gmail.com",
      "country": "United States",
      "company_name": "Example Co",
      "company_domain": "example.com",
      "industry": "Software"
    }
  ],
  "qualityMode": "BALANCED",
  "maxItems": 1000
}
```

## Output

```json
{
  "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"
  },
  "reasonCodes": {
    "label": "Reason codes",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [B2B Lead Cleaner & Data Quality Firewall](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.