Skip to main content

πŸš€ Quickstart

Connect to Google Sheets with Nango and see data flow in 2 minutes.
1

Create an integration

In Nango (free signup), go to Integrations -> Configure New Integration -> GSheet.
Nango has credentials you can use for testing. Activate them in the dashboard.
2

Authorize GSheet

Go to Connections -> Add Test Connection -> Authorize, then log in to GSheet. Later, you’ll let your users do the same directly from your app.
3

Call the Google Sheets API

Let’s make your first request to the Google Sheets API (fetch a specific spreadsheet). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/v4/spreadsheets/{sheetId}" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.
The {sheetId} in the URL represents the ID of the spreadsheet to retrieve.
βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Google Sheets Integration Guides

Nango maintained guides for common use cases. Official docs: Google Sheets API

🧩 Pre-built syncs & actions for Google Sheets

Enable them in your dashboard. Extend and customize to fit your needs.

Developer Metadata

Function nameDescriptionTypeSource code
search-developer-metadataSearch developer metadata by criteriaActionπŸ”— Github

Sheets

Function nameDescriptionTypeSource code
append-values-to-spreadsheetAppend values to the end of a spreadsheet tableActionπŸ”— Github
copy-sheetCopy a sheet to another spreadsheetActionπŸ”— Github
create-columnInsert a new column into a sheetActionπŸ”— Github
get-valuesGet values from a spreadsheet rangeActionπŸ”— Github
upsert-rowAppend or update a row of values in a Google SheetActionπŸ”— Github
sync-rowsSync worksheet rows from a Google SheetSyncπŸ”— Github

Spreadsheets

Function nameDescriptionTypeSource code
batch-get-valuesGet values from multiple rangesActionπŸ”— Github
batch-update-spreadsheetApply multiple updates to a spreadsheet in a single requestActionπŸ”— Github
create-spreadsheet-rowInsert a new row at a given index in a Google SheetActionπŸ”— Github
create-spreadsheetCreate a new spreadsheetActionπŸ”— Github
get-spreadsheet-by-data-filterGet spreadsheet data matching data filtersActionπŸ”— Github
update-conditional-format-ruleUpdate or move a conditional format ruleActionπŸ”— Github
update-valuesUpdate values in a spreadsheet rangeActionπŸ”— Github

Values

Function nameDescriptionTypeSource code
batch-clear-values-by-data-filterClear values from ranges matching data filters, preserving formattingActionπŸ”— Github
batch-clear-valuesClear values from one or more ranges in a spreadsheet, preserving formattingActionπŸ”— Github
batch-get-values-by-data-filterGet values from ranges matching data filtersActionπŸ”— Github
clear-valuesClear values from a range, preserving formattingActionπŸ”— Github

Worksheets

Function nameDescriptionTypeSource code
delete-worksheetDelete a worksheet by name from a Google SpreadsheetActionπŸ”— Github
sync-worksheetsSync worksheets from a Google Sheets spreadsheetSyncπŸ”— Github