Dataset to Google Sheets (no OAuth)
Pricing
from $0.02 / 1,000 row writtens
Dataset to Google Sheets (no OAuth)
Send any Apify dataset into your Google Sheet. Share the sheet once with our service account: no Google sign-in, no expiring tokens. True append, replace or upsert by key, stable columns, automatic grid growth, retries on Google rate limits. Works after every scraper run as an integration.
Pricing
from $0.02 / 1,000 row writtens
Rating
0.0
(0)
Developer
Rivetfinch
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Send any Apify dataset into your own Google Sheet. You share the sheet once with our service account, and from then on every run lands its rows in the same tab: no Google sign-in, no "this app is blocked" screen, no tokens that expire after a week.
What you get
Your dataset's items become rows in your sheet, one row per item, under a header row that stays put.
| title | price | url | tags | seller.name |
|---|---|---|---|---|
| Blue kettle 1.7 l | 24.99 | shop.example/kettle-blue | kitchen, sale | Acme |
| Steel toaster | 39.00 | shop.example/toaster | kitchen | Acme |
- Columns stay where they are. Fields are matched to the header row by name. A field that is new today becomes a new column at the end; columns you already have, including your own extra columns, never move.
- Append really appends. Only the new rows are sent, and Google adds them right after your existing rows. Old rows are never rewritten. Several runs appending to the same tab at the same time don't overwrite each other.
- No doubled rows when Google hiccups or the run restarts. If Google fails in the middle of adding rows, the Actor checks the sheet before sending them again. If Apify moves or restarts the run, it carries on from the last confirmed chunk, without writing or charging rows twice.
- Nested data is flattened into columns such as
seller.name, and lists become one cell (kitchen, sale), JSON text or numbered columns. - The sheet grows by itself. Rows and columns are added before they are needed, so "range exceeds grid limits" never happens.
- Reliable on schedules and integrations. An empty dataset is a success, not an error, and never touches your sheet. Google's "too many requests" answers are waited out (up to about 10 minutes) and server errors are retried. Problems you can fix get a plain message that says what to do.
- A result row per run in the run's own dataset (and a
SUMMARYrecord): rows appended, updated and skipped, columns added, and a link to the tab.
Setup in 3 steps
- Share your sheet with
sheets-export@rivetfinch-sheets.iam.gserviceaccount.comas an Editor: in Google Sheets click Share, paste the address, choose Editor, untick "Notify people", and click Share. - Add your link code. Run this Actor once with nothing filled in: the result shows your link code, for example
apify-3f9c2a71b0. Put it anywhere in the spreadsheet's name ("Leads apify-3f9c2a71b0") or add a tab named exactly that code. You do this once per spreadsheet. - Pick the dataset and paste the sheet's address (the one in your browser bar), then run.
Why the link code? Everyone shares their sheets with the same service account. The code is tied to your Apify account, so nobody else can use this Actor to write into your sheet, even if they learn its address.
Good to know about access
- Our service account keeps Editor access to the sheet until you remove it: Share, find the service-account address, and choose Remove access.
- It only opens your sheet while one of your runs is exporting to it.
- Some Google Workspace organisations block sharing with addresses outside the organisation. If Share refuses the address, ask your admin, or use your own service account (below).
Your own service account. Paste a Google service-account JSON key under Your own service account key (stored encrypted) and share the sheet with that account's address instead. No link code is needed, and your runs use your own Google quota. This is the better choice for heavy volume, and for AI agents and automated tools.
Modes
| Mode | What it does |
|---|---|
| Append (default) | Adds the dataset's rows after the rows already in the tab. Turn on skip rows whose key is already in the sheet to add only new items (for example by url). |
| Replace | Writes the dataset over the tab from the top, then clears whatever is left below and to the right, so the tab is never blank while the run works. By default the tab's existing column order is kept (charts and formulas keep working) and new fields go at the end; turn off keep the existing column order for a fresh header. |
| Upsert | Rows whose key columns match an item are updated in place; the rest are appended. Fields missing from an item leave those cells as they are; fields that are empty in the item clear their cells. |
Other options: the tab name (created if missing), which columns to write and in what order, how arrays are flattened, and whether Google should read values raw (exact text, the default) or as typed (numbers and dates are recognised). With "as typed", text starting with = is still stored as text unless you turn on allow formulas, so scraped data can't run formulas in your sheet.
Use it after every scraper run
Add this Actor as an integration on your scraper or task (Integrations tab, run this Actor when the run succeeds). Fill in the spreadsheet and tab; the Dataset field is filled in for you with the dataset of the run that triggered it. If that field ends up empty, the Actor tries the dataset named in the integration's payload, but Apify may refuse that read under this Actor's limited permissions, so keep the Dataset field set.
It also works from schedules and the API: everything is plain input fields, with no account connection step. Input names used by other Sheets Actors (datasetId, spreadsheetId) are accepted too.
Pricing
$0.02 per 1,000 rows written (appended or updated). Skipped rows, empty items, header cells and the result row are free. Your run's maximum cost is respected: the export stops cleanly at that limit and charges only rows that were written.
Limits
- Google's size limit: a spreadsheet holds up to 20 million cells, counting every tab and empty cells too. Close to that limit the Actor fills the tab's empty rows first; then it stops cleanly, keeps what it wrote, and tells you. Filling empty rows assumes only one run writes to the tab at that point.
- Cells over 50,000 characters are cut to Google's limit and marked
…[truncated]; the result counts them. - Google's rate limits: Google caps how many requests a minute one service account may make, and our service account is shared by everyone using this Actor. When Google says "too many requests", the Actor waits and retries for up to about 10 minutes, so large exports can be slow at busy times. Heavy users should bring their own service-account key.
- Header row: row 1 of the tab is the header. New rows go right after the block of rows under the header; if you leave a completely empty row inside your data, new rows are added at that point and the rows below move down (nothing is overwritten).
- Runs at the same time: appends from several runs into one tab are safe. If those runs bring different new columns, run them one after another the first time so the header settles. Replace and Upsert assume one run at a time on a tab.
- Empty items (every field empty) are left out, and not charged.
- Memory: the default 256 MB handles 100,000-row exports and upserts. An upsert into a sheet with about 1 million rows needs 512 MB.
- Excel files stored in Google Drive must be saved as Google Sheets first (File > Save as Google Sheets).
- The Actor writes into sheets you own and share; it doesn't create new spreadsheet files.
- If a run fails part-way, rows it already wrote stay in the sheet; for the re-run use Upsert or "skip rows whose key is already in the sheet" so they aren't added twice.
Result status
| Status | Meaning, and what to do |
|---|---|
ok | Done. |
partial | Some rows were written, then the spreadsheet filled up or the run reached its maximum cost. The message says which. |
empty | The dataset had no items. Nothing was written; not an error. |
dryRun | No dataset and no spreadsheet given. Shows the service-account address and your link code. |
setupOk | Spreadsheet given but no dataset: sharing and the link code were checked, nothing was written. |
notShared | Share the sheet with the service-account address in the message, as Editor. |
readOnly | The service account is a Viewer or Commenter. Change it to Editor. |
notLinked | Add the link code from the message to the spreadsheet's name, or add a tab with that name. |
notFound | No spreadsheet with that address. Copy it again from the browser bar. |
notASheet | The file is an Excel file in Drive. Save it as a Google Sheet first. |
sheetFull | No room left (20-million-cell limit). Delete unused tabs, rows or columns, or use a new spreadsheet. |
badTab | Google couldn't use the tab name. Check Sheet name. |
datasetAccess | The run may not read the dataset. Pick it in the Dataset field. |
invalidInput | An input can't be used, or an input name is misspelled; the message names it. |
invalidKey | Your service-account key isn't a valid JSON key. Download a new one. |
notConfigured | The shared service account can't be used for this run. Run again, or use your own key. |
apiDisabled | The Google Sheets API is off in your service account's Google Cloud project. Turn it on. |
quota | Google kept saying "too many requests" for about 10 minutes. Run later, or use your own key. |
googleError | Google kept failing. Run again later. |
internalError | Something unexpected went wrong; the message and run log say what. |
Not affiliated with Google. Google Sheets is a trademark of Google LLC.