# Merge Google Maps lead exports

**Use case:** 

Combine overlapping local business leads from multiple Google Maps scraper runs into canonical company records for CRM import or outreach.

## Input

```json
{
  "records": [
    {
      "id": "maps-a-1",
      "company": "Bay Area Solar Co",
      "website": "bayareasolar.example",
      "phone": "(650) 555-0188"
    },
    {
      "id": "maps-b-1",
      "name": "Bay Area Solar Company",
      "domain": "https://bayareasolar.example/",
      "email": "contact@bayareasolar.example"
    },
    {
      "id": "maps-a-2",
      "company": "Green Ridge Roofing",
      "website": "https://greenridgeroofing.example"
    },
    {
      "id": "maps-b-2",
      "businessName": "Greenridge Roofing LLC",
      "domain": "greenridgeroofing.example",
      "phone": "650-555-0133"
    }
  ],
  "dedupMode": "balanced",
  "companyFields": [
    "company",
    "companyName",
    "organization",
    "organizationName",
    "businessName",
    "name"
  ],
  "domainFields": [
    "domain",
    "website",
    "url",
    "companyWebsite",
    "organizationDomain"
  ],
  "emailFields": [
    "email",
    "businessEmail",
    "workEmail",
    "contactEmail"
  ],
  "phoneFields": [
    "phone",
    "phoneNumber",
    "mobile",
    "businessPhone"
  ],
  "includeOriginalRecord": false,
  "maxRecords": 5000
}
```

## Output

```json
{
  "mergeDecision": {
    "label": "Merge decision",
    "format": "string"
  },
  "mergeConfidence": {
    "label": "Merge confidence",
    "format": "number"
  },
  "clusterSize": {
    "label": "Cluster size",
    "format": "integer"
  },
  "canonicalCompanyName": {
    "label": "Company",
    "format": "string"
  },
  "normalizedDomain": {
    "label": "Domain",
    "format": "string"
  },
  "normalizedEmail": {
    "label": "Email",
    "format": "string"
  },
  "normalizedPhone": {
    "label": "Phone",
    "format": "string"
  },
  "matchReasons": {
    "label": "Match reasons",
    "format": "array"
  },
  "warnings": {
    "label": "Warnings",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Lead List Deduplicator & Normalizer](https://apify.com/webdata_labs/lead-list-deduplicator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webdata_labs/lead-list-deduplicator) to learn more, explore other use cases, and run it yourself.