Google Sheets Export - No Google Cloud, Append Only New Rows avatar

Google Sheets Export - No Google Cloud, Append Only New Rows

Pricing

from $0.20 / 1,000 row writtens

Go to Apify Store
Google Sheets Export - No Google Cloud, Append Only New Rows

Google Sheets Export - No Google Cloud, Append Only New Rows

Send any dataset to a Google Sheet with a 2-minute Apps Script (no Google Cloud, no OAuth that expires) or a service account. Replace, append, or append only new rows; flattens nested data; formula-safe; retries rate limits.

Pricing

from $0.20 / 1,000 row writtens

Rating

0.0

(0)

Developer

Riccardo Bonadio

Riccardo Bonadio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

Google Sheets Export: reliable dataset to sheet

Send the results of any Apify Actor straight into a Google Sheet, without creating a Google Cloud project: replace the sheet, append rows, or append only the new rows so a weekly run never creates duplicates.

Why this exporter

  • No login that expires. Connect with a 2-minute Apps Script (no Google Cloud at all) or a Google service account. Neither depends on a personal sign-in, so scheduled runs keep working for months. Most export failures come from expired Google sign-ins.
  • Append only new rows. Choose a key column (url, id, email…) and rows already in the sheet are skipped.
  • Keep the sheet in sync. Update existing rows refreshes each row in place (same key, new price, rating or stock) and adds new ones: one living sheet instead of a growing pile of duplicates.
  • Your sheet stays yours. Append modes keep your column order. New fields become new columns at the end. A missing tab is created for you.
  • Nested data becomes columns. address.city, address.zip. Lists of text become cafe, bar.
  • Safe by default. Values are written as plain text/numbers, so scraped text like =IMPORTXML(...) can never run as a formula in your sheet.
  • Big datasets. Rows are streamed in batches. Google rate limits (HTTP 429) are retried automatically with back-off.
  • Clear errors. "Share the sheet with robot@project.iam.gserviceaccount.com", not a stack trace.
  1. Open your Google Sheet → Extensions → Apps Script.
  2. Delete the sample code and paste the script from this Actor's source (apps_script/Code.gs, also shown in the Source tab).
  3. In the script, replace CHANGE-ME-to-a-long-random-password with your own long password.
  4. Deploy → New deployment → type Web app, Execute as: Me, Who has access: Anyone → Deploy, and approve the permissions.
  5. Copy the Web app URL (ends with /exec) into Apps Script web app URL, and your password into Apps Script secret.

The script only accepts requests carrying your password, and can only touch the spreadsheet it lives in.

Setup option B: Google service account (advanced, for teams and many sheets)

  1. Go to https://console.cloud.google.com/ and create (or pick) a project.
  2. Open APIs & Services → Library, search for Google Sheets API and press Enable.
  3. Open IAM & Admin → Service accounts → Create service account. Any name works. Skip the optional steps.
  4. Open the new service account → Keys → Add key → Create new key → JSON. A .json file downloads.
  5. Open your Google Sheet → Share → paste the service account's email (…@….iam.gserviceaccount.com) → Editor.
  6. Paste the content of the JSON file into Google service-account key (stored encrypted) and the sheet URL into Google Sheet URL.

Run it automatically after a scraper

In your scraper's Integrations tab add this Actor ("Run Actor after the run succeeds"). Leave Dataset ID empty: it picks up the scraper's dataset automatically. Use mode Append only new rows for a sheet that grows without duplicates.

Output

The sheet itself, plus an OUTPUT record with rows written, duplicates skipped, column count and the sheet URL.

Limits

Google Sheets allows up to 10 million cells per spreadsheet and 50,000 characters per cell (longer text is truncated with "…").

Pricing

Pay per row written (see the Pricing tab). Skipped duplicates are free.

Try it

Type demo as Dataset ID to send built-in sample data to your sheet.