🦞OpenClaw Guide
← All Integrations
📊

Google Sheets

Medium⏱️ 15-20 minutes

Talk to your spreadsheets

OpenClaw Google Sheets Integration

Spreadsheets are powerful but tedious. Finding data, updating rows, running summaries — all manual. The OpenClaw Google Sheets integration puts a conversational AI layer on top of your spreadsheets. Query data, add entries, and get automated reports without touching a formula.

What You Can Do

Query Data

bash
You: What's the total revenue in the Sales tracker for March?Assistant: March revenue total: $47,230 across 23 deals. Best deal: Acme Corp at $12,000.

Add Rows

bash
You: Add to expenses: $150 office supplies, today, category AdminAssistant: Row added to Expenses sheet: 2026-03-22 | Office Supplies | Admin | $150

Data Analysis

bash
You: Which sales rep had the most deals closed this quarter?Assistant: Top performer this quarter: Sarah K. with 14 deals closed totaling $89,400. Runner-up: Mike L. with 11 deals at $72,100.

Automated Reports Set up weekly crons to receive spreadsheet summaries automatically:

bash
You: Every Monday morning, send me last week's sales numbers from the CRM sheet

Find Specific Data

bash
You: What's the status of the Acme Corp deal?Assistant: Acme Corp (Row 47): Stage — Negotiation | Value — $25,000 | Owner — Sarah | Last updated — Mar 18

Setup Guide

Step 1: Install the gog skill

bash
clawdhub install gog

Step 2: Enable Google Sheets API

  1. Go to console.cloud.google.com
  2. Enable the Google Sheets API and Google Drive API
  3. Create OAuth 2.0 credentials (Desktop app)
  4. Download credentials JSON

Step 3: Configure OpenClaw

yaml
skills:  gog:    enabled: true    credentials: ~/.openclaw/google-credentials.json    scopes:      - sheets      - drive.readonly  # needed to list and find spreadsheets

Step 4: Authenticate

bash
gog auth

Step 5: Reference Your Spreadsheets

You can refer to sheets by name in natural language. OpenClaw searches your Drive for matching spreadsheet names.

Automation Examples

Expense Logging via Voice

Send a voice note on your phone: "Uber to airport, $47, travel expense" — OpenClaw transcribes and logs it to your expenses sheet.

Weekly KPI Report

yaml
crons:  - schedule: "0 9 * * 1"    prompt: "Pull last week's numbers from the KPI dashboard sheet and give me a summary"    channel: telegram

CRM Updates on the Go

Out of a meeting? Text OpenClaw: "Update Acme Corp deal status to Closed Won, $25K" and it updates your CRM sheet immediately.

Privacy & Security

  • OAuth 2.0 — your Google password is never exposed
  • Only accesses spreadsheets you grant permission to
  • Revoke anytime at myaccount.google.com/permissions

Troubleshooting

Sheet not found

  • Ensure Google Drive API is enabled (needed to search for sheets by name)
  • Try using the spreadsheet ID directly from the URL

Permission denied on edit

  • Ensure you granted write permissions during OAuth
  • Check you own or have edit access to the sheet

Features

Natural Language Queries

Ask questions about your data in plain English. No formulas, no VLOOKUP.

Add Rows via Chat

Log expenses, add CRM entries, or update trackers just by messaging.

Data Summaries

Get totals, averages, top performers, and trends summarized in plain language.

Automated Reports

Schedule weekly or daily data pulls delivered to your Telegram or WhatsApp.

Multi-Sheet Support

Access any spreadsheet in your Google Drive by name.

Voice-to-Spreadsheet

Send a voice note to log data — OpenClaw transcribes and updates the sheet.

Use Cases

Expense Tracking

Log expenses on the go via voice or text. OpenClaw adds structured rows to your expense tracker.

Sales CRM Queries

Ask about deal status, pipeline totals, and top performers without opening your spreadsheet.

Weekly KPI Reports

Automated Monday morning briefings pulling key metrics from your dashboard sheets.

Inventory Checks

Ask 'How many units of X do we have?' and get an instant answer from your inventory sheet.

Setup Guide

Requirements

  • Google account with access to Google Sheets
  • OpenClaw installed (Cloud or self-hosted)
  • gog skill installed
  • Google Sheets API and Google Drive API enabled
1

Install gog skill

Run: clawdhub install gog

2

Enable APIs

In Google Cloud Console, enable both Google Sheets API and Google Drive API. Create OAuth 2.0 credentials.

3

Configure OpenClaw

Add gog config to ~/.openclaw/config.yaml with sheets and drive.readonly scopes.

4

Authenticate

Run 'gog auth' and grant spreadsheet permissions.

5

Test

Ask OpenClaw 'What sheets do I have in my Drive?' to confirm the connection works.

Configuration Example

skills:
  gog:
    enabled: true
    credentials: ~/.openclaw/google-credentials.json
    scopes:
      - sheets
      - drive.readonly

# Weekly report cron
crons:
  - schedule: "0 9 * * 1"
    prompt: "Pull last week's numbers from KPI sheet and summarize"
    channel: telegram

Limitations

  • ⚠️Very large spreadsheets (10,000+ rows) may be slow to query
  • ⚠️Complex formulas and pivot tables are read-only — OpenClaw can read results but not build them
  • ⚠️Workspace users may need admin approval for OAuth

Frequently Asked Questions

Can OpenClaw edit my spreadsheets or just read them?

Both, depending on permissions you grant. With read-only scope, it can query and summarize. With read-write, it can add rows and update cells.

How does it find the right spreadsheet?

OpenClaw searches your Google Drive for spreadsheets matching the name you describe. You can also provide a specific spreadsheet URL or ID for precision.

Does it work with large spreadsheets?

Yes, but very large sheets (10,000+ rows) may be slower. For best performance, specify the sheet tab and rough row range when querying large datasets.

🔥 Your AI should run your business, not just answer questions.

We'll show you how.Free to join.

Join Vibe Combinator →

🐙 Your AI should run your business.

Weekly live builds + template vault. We'll show you how to make AI actually work.Free to join.

Join Vibe Combinator →