Google Sheets MCP - AI-Powered Spreadsheet Management
Go to WorkflowDescription
π Google Sheets MCP Workflow β AI Meets Spreadsheets! π
β¨ What It Does
This n8n workflow lets you chat with your spreadsheets using AI + MCP! From reading and updating data to creating sheets, itβs your smart assistant for Google Sheets ππ€
π Cool Features
π¬ Natural language commands (e.g. "Add a new lead: John Doe")
βοΈ Full CRUD (Create, Read, Update, Delete)
π§ AI-powered analysis & smart workflows
ποΈ Multi-sheet support
π Works with ChatGPT, Claude, and more (via MCP)
π‘ Use Cases
Data Tasks: βUpdate status to 'Done' in row 3β
Sheet Ops: βCreate a βMarketing 2024β sheetβ
Business Flows: βSummarize top sales from Q2β
π οΈ Quick Setup
Import Workflow into n8n
Copy the JSON
In n8n β Import JSON β Paste & Save β
Connect Google Sheets
Create a project in Google Cloud
Enable Sheets & Drive APIs
Create OAuth2 credentials
In n8n β Add Google Sheets OAuth2 credential β Connect π
Add Your Credentials
Get your credential ID
Open each Google Sheets node β Update with your new credential ID
Link to AI (Optional π)
MCP webhook is pre-set
Plug it into your AI tool (like ChatGPT)
Send test command β Watch the magic happen β¨
β
Test It Out
Try these fun commands:
π "Add entry: Jane Doe, [email protected]"
π "Read data from Sales 2024"
π§Ή "Clear data from A1:C5"
β "Create sheet 'Budget 2025'"
β "Delete sheet 'Test'"
π§ MCP Command List (AI-Callable Functions)
These are the tasks the AI can perform via MCP:
Add a new entry to a sheet
Read data from a sheet
Update a row in a sheet
Delete a row from a sheet
Create a new sheet
Delete an existing sheet
Clear data from a specific range
Summarize data from a sheet using AI
βοΈ Tips & Fixes
OAuth2 Errors?
Re-authenticate and check scopes
Confirm redirect URI is exact
Permissions?
Spreadsheet must be shared with edit access
Use service accounts for production
Webhook Not Firing?
Double-check the URL
Trigger it manually to test