# Export an Apify dataset to Google Sheets

**Use case:** 

Appends the rows of any Apify dataset to a Google Sheet with no Google login: share your sheet with one service account email as Editor, paste the link and pick the dataset. Runs as it is with two sample rows, so you can see it work first. $0.002 per sync plus $0.02 per 1,000 rows.

## Input

```json
{
  "spreadsheetUrl": "https://docs.google.com/spreadsheets/d/1hMzcbQkpgNhX9x9hSZp2EAW-yvIbuuhUDt2l745XBKk/edit",
  "mode": "append",
  "deleteMissing": false,
  "rows": [
    {
      "id": 1,
      "product": "Sample widget",
      "price": 9.99,
      "inStock": true,
      "tags": [
        "demo",
        "sample"
      ]
    },
    {
      "id": 2,
      "product": "Sample gadget",
      "price": 24.5,
      "inStock": false,
      "tags": [
        "demo"
      ]
    }
  ],
  "limit": 250000,
  "offset": 0,
  "flattenDepth": 2,
  "maxColumns": 200,
  "parseValues": false,
  "createSheet": true,
  "resetSheetBinding": false
}
```

## Output

```json
{
  "sheetName": {
    "label": "Tab",
    "format": "text"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  },
  "rowsRead": {
    "label": "Read",
    "format": "number"
  },
  "rowsWritten": {
    "label": "Written",
    "format": "number"
  },
  "rowsUpdated": {
    "label": "Updated",
    "format": "number"
  },
  "rowsDeleted": {
    "label": "Deleted",
    "format": "number"
  },
  "rowsDeduplicated": {
    "label": "Duplicates removed",
    "format": "number"
  },
  "rowsSkipped": {
    "label": "Skipped",
    "format": "number"
  },
  "columns": {
    "label": "Columns",
    "format": "number"
  },
  "apiReads": {
    "label": "Google reads",
    "format": "number"
  },
  "apiWrites": {
    "label": "Google writes",
    "format": "number"
  },
  "apiRetries": {
    "label": "Retries",
    "format": "number"
  },
  "stoppedEarly": {
    "label": "Stopped early",
    "format": "boolean"
  },
  "durationSeconds": {
    "label": "Seconds",
    "format": "number"
  },
  "spreadsheetUrl": {
    "label": "Sheet",
    "format": "link"
  },
  "warnings": {
    "label": "Warnings",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Dataset to Google Sheets Sync – No Google Login Actor is ready to run with the inputs already set for "Export an Apify dataset to Google Sheets". [Sign up or log in](https://console.apify.com/create-task-from-example/GQxLbcleKNeQVjvhM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export an Apify dataset to Google Sheets" task

The Dataset to Google Sheets Sync – No Google Login Actor will start running based on the input automatically. You can also change all the input fields, like google sheet link, mode, and more, to match your specific use case.

### 3. Receive the "Export an Apify dataset to Google Sheets" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as tab, mode, read, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export an Apify dataset to Google Sheets" task via API](https://apify.com/osel_house/dataset-to-google-sheets.md).

## FAQ

### Do I need to sign in with Google to export an Apify dataset to Google Sheets?

No. To export an Apify dataset to Google Sheets with this task, share your sheet with the service account email shown in the Actor README as an Editor and paste the link. There is no Google login, so nothing expires on scheduled runs.

### How much does it cost to export an Apify dataset to Google Sheets?

Exporting an Apify dataset to Google Sheets with this task costs $0.002 per sync plus $0.02 per 1,000 rows written. A sync of 10,000 rows is about $0.20. There is no subscription.

### Can the task update existing rows instead of adding duplicates?

Yes. Set the mode to upsert and name a key column such as url or id in the Actor behind this task: matching rows are updated and new ones are appended. Replace mode clears the tab and writes everything fresh.

## About this Actor

This example demonstrates how to use [Dataset to Google Sheets Sync – No Google Login](https://apify.com/osel_house/dataset-to-google-sheets.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/osel_house/dataset-to-google-sheets.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/osel_house/dataset-to-google-sheets.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`).
