Skip to main content

Google Sheets MCP

In one line: Connect Google Sheets so your UnleashX agent can read rows, write updates, manage tabs, and track changes in your spreadsheets.
CategoryProductivity
AuthenticationOAuth (Google sign-in)
Setup time~2 minutes
DifficultyEasy
Best forLead tracking, data logging, and structured read/write automation over spreadsheets

1. Overview

Google Sheets is Google’s spreadsheet service for storing structured data in rows, columns, and tabs. Once connected, your UnleashX agent can create and delete spreadsheets and sheets (tabs), read and write rows and cells, append or update data, clear ranges, delete rows/columns, and detect updates for trigger-style flows. Connecting Google Sheets to UnleashX turns spreadsheets into a live data backend for your agent: log new leads, update a status cell, or pull the latest rows into a prompt — all from natural language, with no manual copy-paste.

2. What you’ll need

1

A Google account with Sheets

Any personal Google account or a Google Workspace account with Sheets enabled.
2

Permission to grant access

You must be able to complete the Google sign-in and approve the requested permissions.
3

An UnleashX agent

An agent in your UnleashX workspace where you’ll add the Sheets connector.
No admin access? On a managed Google Workspace account, your admin may need to allow UnleashX before authorization succeeds.

3. Get your credentials

Google Sheets uses Google OAuth 2.0. You do not create or paste an API key. UnleashX redirects you to Google, you sign in once, and Google issues an access token to UnleashX automatically.
1

Start the connection in UnleashX

In your agent’s Data Connectors, find Google Sheets and click Connect (see Section 4).
2

Sign in with Google

Choose the Google account whose spreadsheets you want to connect.
3

Review and approve the requested scopes

Click Allow to grant access and return to UnleashX.
There is no key to copy. Access is granted by your Google sign-in and can be revoked anytime at your Google Account permissions page.
Scopes UnleashX requests for Google Sheets:
ScopeWhy UnleashX needs it
https://www.googleapis.com/auth/spreadsheetsRead and write spreadsheet values, rows, cells, and sheets.
https://www.googleapis.com/auth/driveList spreadsheets and create/delete spreadsheet files in Drive.
https://www.googleapis.com/auth/drive.fileAccess the specific spreadsheet files you open or create.
https://www.googleapis.com/auth/drive.readonlyFind and list your spreadsheets.
https://www.googleapis.com/auth/userinfo.emailIdentify which account is connected.
https://www.googleapis.com/auth/userinfo.profileRead your basic profile (name, picture).
openidSign-in / identity verification.

4. Connect on UnleashX

1

Open your agent

Sign in at https://www.tryunleashx.com and open your agent.
2

Go to Data Connectors

In the agent, open Data Connectors.
3

Find Google Sheets and connect

Locate Google Sheets and click Connect / Add / Configure.
4

Authorize with Google

Click Authorize, sign in with Google, and approve the requested permissions.
5

Confirm success

You’ll return to UnleashX and the connector status will show a Connected badge.
01 sheets connector

5. Available tools

ToolWhat it doesChanges data?
Create SpreadsheetCreate a new spreadsheet.✏️ Yes
Delete SpreadsheetDelete a spreadsheet.⚠️ Yes
Append or Update RowAppend a row, or update it if it already exists.✏️ Yes
Append RowAppend a row to a sheet.✏️ Yes
Clear SheetClear values from a sheet/range.⚠️ Yes
Create SheetCreate a new sheet (tab).✏️ Yes
Delete SheetDelete a sheet (tab) by ID.⚠️ Yes
Delete Rows or ColumnsDelete rows or columns.⚠️ Yes
Delete RowDelete a single row.⚠️ Yes
Get Sheet ColumnsGet the columns of a sheet.No
Update Row in SheetUpdate a row by row number.✏️ Yes
Get SpreadsheetGet spreadsheet metadata.No
Get CellGet a cell value (or a default range).No
Update CellUpdate a single cell.✏️ Yes
List SpreadsheetsList available spreadsheets.No
List SheetsList sheets (tabs) in a spreadsheet.No
List WorksheetsList worksheets in a spreadsheet.No
Clear RowsClear a range of rows.⚠️ Yes
Update ColumnUpdate one or more columns.✏️ Yes
Get Sheet UpdatesGet sheet updates (trigger-style).No
Create RowCreate a row with key/value columns.✏️ Yes
Update RowUpdate a row by number with key/value columns.✏️ Yes
Get Rows in SheetGet rows from a sheet.No
Find RowFind a row matching criteria.No

6. Example usage

“Add a new lead to the Leads tab: name Alice, email alice@acme.com, status New.” Runs List Sheets to confirm the tab, then Append Row.
“What’s in cell B3 of the Budget sheet, and set it to 5000.” Runs Get Cell, then Update Cell.

7. Permissions & data access

UnleashX can:
  • Read spreadsheet values, rows, and cells.
  • Create and delete spreadsheets and sheets (tabs).
  • Append, update, and clear rows, columns, and cells.
  • Detect updates for trigger-style flows.
UnleashX cannot:
  • Access Gmail, Calendar, or other Google services unless connected separately.
  • Change your Google account settings or password.
  • Edit spreadsheets you don’t have access to.
To disconnect: In UnleashX, open Data Connectors → Google Sheets → Disconnect, or revoke at https://myaccount.google.com/permissions. Revoking takes effect immediately. The connection authenticates each request with your Google OAuth access token (resolved from an access-token header, a google_sheets_access_token header, or an Authorization: Bearer header, falling back to your UnleashX session), refreshed automatically when it expires.

8. Troubleshooting

ProblemWhat it meansHow to fix it
401 UnauthorizedThe access token is missing or expired.Reconnect Google Sheets in Data Connectors.
403 ForbiddenMissing scope, or you lack edit rights on the spreadsheet.Re-authorize all scopes; confirm you can edit the file.
404 Not FoundThe spreadsheet or sheet ID is wrong or not shared with you.Verify the spreadsheet_id (the segment between /d/ and /edit in the URL) and sheet_id.
Wrong cell updatedA1 notation or sheet name was ambiguous.Pass an explicit sheet_id/sheet_name and A1 cell reference.
For general connector issues, see /mcp/integrations.

9. Frequently asked questions

Does UnleashX store my spreadsheet data? No. It reads and writes through Google’s API in real time to fulfill your requests. Can multiple team members connect Sheets? Yes. Each person authorizes their own Google account. How do I find a spreadsheet ID? It’s the part of the URL between /d/ and /edit: https://docs.google.com/spreadsheets/d/{spreadsheet_id}/edit.

10. References