Go to example tasks

Export a dataset to Google Sheets

Write rows or any Apify dataset to your Google Sheet: append, replace or upsert by a key column, with nested fields flattened like Apify's CSV export. No Google login: share the sheet with our service account and add one tab. Change the sheet URL to yours.

Try for free
Google Sheets Import & Export – Datasets to Sheets and Back
Google Sheets Import & Export – Datasets to Sheets and Backextractlyspace/google-sheets-sync
Type
Sheet row
Tab (import)
Tab (export)
+6 fields
Text
Number
Boolean
List
Object

Input

Mode(required):export
Spreadsheet URL or id(required):https://docs.google.com/spreadsheets/d/1XIrxiVSWCaeSZOSyORrM8cbRkDEIjZmxvUjGlfz3VQA/edit
Tab name:Audit export
Rows (export)
id:1+2
name:Ada+2
city:London+2
Write mode (export):upsert
Key column (export):id
Max rows:10000

Output fields

Type
Sheet row
Tab (import)
Tab (export)
Written
Updated
Skipped
Sheet link
Status
Message

How it works

Sign up on Apify or log in

The Google Sheets Import & Export – Datasets to Sheets and Back Actor is ready to run with the inputs already set for "Export a dataset to Google Sheets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export a dataset to Google Sheets" task

The Google Sheets Import & Export – Datasets to Sheets and Back Actor will start running based on the input automatically. You can also change all the input fields, like mode, spreadsheet url or id, and more, to match your specific use case.

Receive the "Export a 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 type, sheet row, tab (import), and more.

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 a dataset to Google Sheets" task via API.

Image

Integrate "Export a dataset to Google Sheets" into your workflow

Connect "Export a dataset to Google Sheets" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay