Google Sheets Connection
Connect to Google Sheets to use Google Sheets Read, Append, Update, and Clear nodes in your workflows.
Configuration
| Field | Description | Required |
|---|---|---|
| Client ID | Your Google OAuth 2.0 Client ID | Yes |
| Client Secret | Your Google OAuth 2.0 Client Secret | Yes |
| Refresh Token | A long-lived refresh token for offline access | Yes |
Setting Up Google OAuth Credentials
To connect to Google Sheets, you need to create OAuth 2.0 credentials in the Google Cloud Console and obtain a refresh token.
Step 1: Create a Google Cloud Project
- Go to the Google Cloud Console
- Create a new project (or select an existing one)
- Navigate to APIs & Services > Library
- Search for and enable the Google Sheets API
- Also enable the Google Drive API (used for connection testing)
Step 2: Create OAuth 2.0 Credentials
- Go to APIs & Services > Credentials
- Click Create Credentials > OAuth client ID
- If prompted, configure the OAuth consent screen first:
- Choose External for testing or Internal for Google Workspace
- Fill in the required fields (app name, user support email, developer email)
- Under Test users, add the Google account email you will use to authorize — without this, you will get a 403 "access_denied" error during authorization
- Select Web application as the application type
- Add
https://developers.google.com/oauthplaygroundas an authorized redirect URI - Copy the Client ID and Client Secret
Step 3: Obtain a Refresh Token
- Go to the OAuth 2.0 Playground
- Click the gear icon (settings) in the top right
- Check Use your own OAuth credentials
- Enter your Client ID and Client Secret
- In the left panel, select the following scopes:
- Google Sheets API v4 →
https://www.googleapis.com/auth/spreadsheets - Google Drive API v3 →
https://www.googleapis.com/auth/drive.readonly(required for connection testing)
- Google Sheets API v4 →
- Click Authorize APIs and sign in with your Google account
- Click Exchange authorization code for tokens
- Copy the Refresh Token
Step 4: Create the Connection
- In the workflow automation platform, go to Connections
- Click Add Connection
- Select Google Sheets as the type
- Enter your Client ID, Client Secret, and Refresh Token
- Click Test Connection to verify
WARNING
Refresh tokens can expire if the OAuth consent screen is in "Testing" mode and the token has not been used for 7 days. To avoid this, either publish your OAuth app or use a Google Workspace account with the consent screen set to "Internal".
Usage
Once created, this connection becomes available in all Google Sheets nodes:
- Google Sheets Read
- Google Sheets Append
- Google Sheets Update
- Google Sheets Clear