# Google Maps Leads to Google Sheets Without Duplicates

**Use case:** 

Send Google Maps Scraper results (business names, phones, websites, ratings, addresses) straight to Google Sheets after every run. New places are added, places already in the sheet are skipped by their place ID, so your lead list grows without duplicates. Use it after any Google Maps scraper. No OAuth: share the sheet once. Try it on our demo sheet, then paste your own sheet link.

## Input

```json
{
  "spreadsheetId": "https://docs.google.com/spreadsheets/d/1XEl1x1BNcQrfP1ZdDyBtvshMn7Pa50-I6eWy6etH9wk/edit",
  "mode": "append",
  "sheetName": "Leads",
  "rawData": [
    {
      "title": "Sample Dental Clinic",
      "categoryName": "Dentist",
      "phone": "+1 555 0100",
      "website": "https://example.com/dental",
      "city": "Austin",
      "totalScore": 4.8,
      "placeId": "sample-place-1"
    },
    {
      "title": "Sample Family Dentistry",
      "categoryName": "Dentist",
      "phone": "+1 555 0101",
      "website": "https://example.com/family",
      "city": "Austin",
      "totalScore": 4.6,
      "placeId": "sample-place-2"
    }
  ],
  "offset": 0,
  "deduplicateByField": "placeId",
  "columnsOrder": [
    "title",
    "categoryName",
    "phone",
    "website",
    "city",
    "totalScore",
    "placeId"
  ],
  "onlyListedColumns": false,
  "arrayMode": "join",
  "addTimestamp": false,
  "formatHeader": true,
  "parseValues": false,
  "headerRow": 1
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "text"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  },
  "sheetName": {
    "label": "Tab",
    "format": "text"
  },
  "rowsAppended": {
    "label": "Rows added",
    "format": "number"
  },
  "rowsUpdated": {
    "label": "Rows updated",
    "format": "number"
  },
  "duplicatesSkipped": {
    "label": "Duplicates skipped",
    "format": "number"
  },
  "columns": {
    "label": "Columns",
    "format": "number"
  },
  "sheetCreated": {
    "label": "New tab",
    "format": "boolean"
  },
  "spreadsheetUrl": {
    "label": "Sheet",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Sheets Import & Export: Sync Datasets, Update Rows](https://apify.com/s_actors/google-sheets-import-export.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/s_actors/google-sheets-import-export.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/s_actors/google-sheets-import-export.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
