Skip to main contentOverview
Phinite’s Google Sheets integration allows workspace assistants to read, write, and manipulate data in Google Sheets spreadsheets programmatically.
This document explains what credentials are required, how to obtain them from Google, and how to configure them inside Phinite.
What this integration enables
Once configured, Phinite assistants can:
- Read data from spreadsheet cells
- Write data to spreadsheets
- Create and manage sheets
- Format cells and ranges
- Create charts and formulas
- Share spreadsheets
- Access spreadsheet metadata
This integration is bidirectional and uses Google Sheets API.
Required credentials
Phinite uses 1 credential provided by Google:
- Service Account JSON (required)
These credentials are generated through Google Cloud Console. Phinite does not modify or replace Google’s authentication model.
Setup steps
Step 1: Create Google Cloud Project
- Go to Google Cloud Console
- Click Create Project or select existing project
- Enter project name and click Create
- Enable the Google Sheets API:
- Go to APIs & Services > Library
- Search for “Google Sheets API”
- Click Enable
Step 2: Create Service Account
- In Google Cloud Console, go to IAM & Admin > Service Accounts
- Click Create Service Account
- Enter service account name and description
- Click Create and Continue
- Skip role assignment (click Continue)
- Click Done
Step 3: Generate Service Account Key
- Click on the created service account
- Go to Keys tab
- Click Add Key > Create new key
- Select JSON format
- Click Create
- Download the JSON file and keep it secure
Step 4: Share Spreadsheet Access
- Open the Google Sheet you want to access
- Click Share button
- Enter the service account email (from JSON file)
- Grant Editor or Viewer permissions
- Click Send
- Log into your Phinite workspace at www.phinite.ai
- Navigate to Integrations
- Select Google Sheets
- Click + Add Configuration
- Enter the following:
- Name of the connection: Google Sheets Production
- Credentials: Upload the JSON file or paste JSON content
- Select the workspace assistants that should use this connection
- Click Save Configuration
Phinite provides these predefined actions for Google Sheets:
- Read Range: Get data from cell ranges
- Write Range: Update spreadsheet cells
- Append Row: Add data to the end of sheets
- Create Sheet: Add new sheets to spreadsheets
- Delete Sheet: Remove sheets from spreadsheets
- Clear Range: Remove data from cell ranges
- Create Spreadsheet: Set up new spreadsheets
- Get Spreadsheet Info: Access spreadsheet metadata
- Update Sheet Properties: Modify sheet settings
- Add Chart: Create charts and graphs
- Format Range: Apply formatting to cells
- Create Filter: Add data filters
- Sort Range: Sort data in ranges
- Find and Replace: Search and modify content
- Get Sheet Values: Retrieve all sheet data
- Batch Update: Perform multiple operations
Documentation & resources
- Official Sheets Documentation:
https://developers.google.com/sheets/api
- Sheets API Reference:
https://developers.google.com/sheets/api/reference/rest
Notes
- Spreadsheets must be shared with service account
- API has rate limits (100 requests/second per user)
- Large spreadsheets may require pagination
- Some operations need specific permissions
- Monitor API usage to avoid limits