Google Sheets Export ($0.30/1K) - Any Dataset to Sheets
Pricing
from $0.18 / 1,000 exported rows
Google Sheets Export ($0.30/1K) - Any Dataset to Sheets
Export any Apify dataset to a Google Sheet: replace the tab, append rows, or append only new items by a key field. Works as an integration after any Actor run, on a schedule or through the API.
Pricing
from $0.18 / 1,000 exported rows
Rating
0.0
(0)
Developer
Carabain Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
What is Google Sheets Export?
Google Sheets Export copies any Apify dataset into a Google Sheet: the results of a scraper run, a saved dataset, or the output of any other Actor. It was built because the most used Google Sheets Actor on the Store fails about half of its runs. This one writes with a Google service account in chunks with automatic retries on Google's rate limits, so big exports finish. Choose Replace (a fresh copy every run), Append (add below) or Append new (only rows whose key is not in the sheet yet, ideal for scheduled runs). Nested data is flattened into columns, and you pick the columns and their order. Built for scheduled scrapers, lead lists, price monitors and reports your team reads in Sheets. Costs $0.30 per 1,000 rows.
- 📊 Any dataset: pick it in the input or pass its ID, from any Actor or task
- 🔁 Three modes: replace the tab, append, or append only new items by a key field
- 🧱 Flattened columns:
address.city, lists asa, b, the rest as JSON text - 🎯 Choose your columns: only the fields you list, in your order, dot paths for nested data
- 🛡️ Safe values: stored as raw text by default, so scraped text can never run as a formula
- 🔌 Plug in anywhere: Actor integration, schedule, API, webhooks, MCP / AI agents
- ♻️ Reliable: retries on Google quota and server errors, 5,000-row write chunks, tab created when missing
Use it from AI agents
This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read SKILL.md: it tells the agent when to use the Actor, every input field and the output. Install it with:
$npx skills add carabain-digital/apify-agent-skills --skill google-sheets-export
Or read the skill on GitHub: carabain-digital/apify-agent-skills/skills/google-sheets-export.
What data can I get?
| 📄 One sheet row per dataset item | 🏷️ A header row with the field names |
| 🧱 Nested fields as dot-path columns | 📋 Lists as comma-separated text |
| ➕ New fields as new columns (append) | 🧾 A copy of the exported rows in the run's dataset |
How do I export a dataset to Google Sheets?
- Create a free Apify account and open this Actor.
- Create a Google spreadsheet and share it as Editor with our service account:
sheets-export@apify-514417.iam.gserviceaccount.com. Or bring your own: paste your service account's JSON key into Your own service account key. - Pick the dataset (or paste its ID) and paste the spreadsheet URL. Pick the tab name and the mode.
- Click Start. The rows appear in your sheet and the status message tells you how many were exported.
To export automatically after another Actor, open that Actor's Integrations tab, add Google Sheets Export and set Dataset to {{resource.defaultDatasetId}}.
How much does it cost?
You pay per row written to your sheet: $0.30 per 1,000 rows, no subscription. Rows that were not written are not charged, and a run stops at the maximum cost you set. Example: exporting 50,000 rows costs about $15. The monthly credit of Apify's Free plan ($5) covers about 16,000 rows. Paid plans get volume discounts. Set Max rows to cap a run.
⬇️ Input
| Field | Description |
|---|---|
Dataset (datasetId) | Dataset to export (picker or ID). As an integration: {{resource.defaultDatasetId}} |
Google spreadsheet (spreadsheet) | Spreadsheet URL or ID |
Sheet (tab) name (sheetName) | Tab to write to, created when missing. Default Sheet1 |
Mode (mode) | replace, append or appendNew |
Key field (keyField) | Required for appendNew: the field that identifies a row, e.g. url |
Fields (fields) | Only these columns, in this order. Dot paths for nested fields. Empty = all |
Flatten nested data (flatten) | On by default |
Max rows (maxRows) | Export at most this many items |
Cell values (valueInputOption) | RAW (default, safe) or USER_ENTERED (Google parses numbers, dates, formulas) |
Your own service account key (serviceAccountJson) | Optional, stored encrypted. Empty = built-in account |
{"datasetId": "WkzbQMuFYuamGv3YF","spreadsheet": "https://docs.google.com/spreadsheets/d/1AbCdEfGhIjKlMnOpQrStUvWxYz0123456789/edit","sheetName": "Leads","mode": "appendNew","keyField": "url","fields": ["name", "url", "rating", "address.city"]}
⬆️ Output
The result is your Google Sheet. The run's dataset holds a receipt for every row that was written, and the status message names the sheet, for example Exported 1250 rows to Leads / Sheet1.
{"sheet": "Leads / Sheet1","mode": "appendNew","row": {"name": "Hotel Aurora", "url": "https://example.com/aurora", "rating": 4.5, "address.city": "Lisbon"},"exportedAt": "2026-11-11T14:00:00+00:00"}
What can I do with exported data?
- 📅 Scheduled lead lists: a scraper runs daily, Append new adds only today's new leads
- 💲 Price monitoring sheet: a fresh copy of the dataset every run, ready for charts and formulas
- 🧹 Deduplicated scrape logs: append by a key field such as
urlso rows never repeat - 👥 Team reports: share results with people who live in Sheets, not in JSON
- 🔗 Looker Studio dashboards: use the sheet as a source for Looker Studio, Zapier, Make or Apps Script
- 🧠 AI agents: let an agent save research results to a sheet through MCP
⚠️ Good to know
- Sharing: the spreadsheet must be shared with the service account as Editor. A 403 error in the status message names the email to share with.
- Replace clears the tab first and writes it again, so edits you made in that tab are lost. Use a separate tab for your own formulas.
- Append takes the header from the first row of the tab and adds fields it lacks as new columns at the end. Append new compares the Key field with the same column in the sheet as text.
- Limits: Google allows 10 million cells per spreadsheet and 50,000 characters per cell. The Actor stops early with a clear message when an export would not fit, and cuts longer text (the log counts them). Google allows about 60 write requests per minute; the Actor waits and retries when it is reached.
- Flatten: lists of plain values become
a, b. Lists of objects and anything left over become one JSON text per cell.
Frequently asked questions
Can I use it with the Apify API?
Yes. Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("carabain-digital/google-sheets-export").call(run_input={"datasetId": "<DATASET_ID>","spreadsheet": "https://docs.google.com/spreadsheets/d/<SPREADSHEET_ID>/edit","mode": "replace"})print(run["statusMessage"])
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('carabain-digital/google-sheets-export').call({datasetId: '<DATASET_ID>',spreadsheet: 'https://docs.google.com/spreadsheets/d/<SPREADSHEET_ID>/edit',mode: 'appendNew',keyField: 'url',});console.log(run.statusMessage);
Can I use it through an MCP server or with AI agents?
Yes. Add it to an AI agent through the Apify MCP server (https://mcp.apify.com?tools=carabain-digital/google-sheets-export). Example prompt: "Use Google Sheets Export to append the new items of dataset
Do I have to share my spreadsheet with someone else's account?
With the built-in service account, yes: you share the sheet with its email (shown in the run log) as Editor, and the Actor only touches the spreadsheet you name. If you prefer not to, create your own service account in Google Cloud, enable the Google Sheets API, download its JSON key and paste it into Your own service account key. Then share the sheet with your own service account instead.
Is it legal to export data to Google Sheets?
The Actor only copies a dataset you own to a spreadsheet you own. If the data holds personal information (names, emails), GDPR and similar laws apply to how you store and share the sheet, so share it with the people who need it only. More background: Is web scraping legal?
Not working? Feedback
Open an issue on the Issues tab with the run link and we will look at it. Ideas are welcome there too.
Other tools by us
| Actor | Covers |
|---|---|
| G2 Scraper | Software products per category with ratings, pros, cons, prices and reviews |
| Google Trends Scraper | Search interest over time, by region, related queries, Trending now |
| Reddit Scraper | Posts, comments, subreddits and search |
⭐ Does it work well for you? A review on the Store page helps others find this Actor and helps us keep it maintained.