본문으로 건너뛰기
cccskills
무료GitHub에 공개

googlesheets-automation

Automate Google Sheets tasks such as reading and writing data, finding rows, formatting cells, and managing tabs. Match records by a unique field, such as an email address or product code, to update existing rows or add new ones.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Automate Google Sheets operations (read, write, format, filter, manage spreadsheets) via Rube MCP (Composio). Read/write data, manage tabs, apply formatting, and search rows programmatically.

연동 도구Google Sheets
설치 방법 보기

이럴 때 유용합니다

  • Add new records to a shared spreadsheet
  • Update customer or inventory records by a unique field
  • Find rows and apply filters
  • Format headers and organize tabs

포함된 파일(1)

  • SKILL.md9.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Google Sheets Automation via Rube MCP

Automate Google Sheets workflows including reading/writing data, managing spreadsheets and tabs, formatting cells, filtering rows, and upserting records through Composio's Google Sheets toolkit.

Toolkit docs: composio.dev/toolkits/googlesheets

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Google Sheets connection via RUBE_MANAGE_CONNECTIONS with toolkit googlesheets
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit googlesheets
  3. If connection is not ACTIVE, follow the returned auth link to complete Google OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Read and Write Data

When to use: User wants to read data from or write data to a Google Sheet

Tool sequence:

  1. GOOGLESHEETS_SEARCH_SPREADSHEETS - Find spreadsheet by name if ID unknown [Prerequisite]
  2. GOOGLESHEETS_GET_SHEET_NAMES - Enumerate tab names to target the right sheet [Prerequisite]
  3. GOOGLESHEETS_BATCH_GET - Read data from one or more ranges [Required]
  4. GOOGLESHEETS_BATCH_UPDATE - Write data to a range or append rows [Required]
  5. GOOGLESHEETS_VALUES_UPDATE - Update a single specific range [Alternative]
  6. GOOGLESHEETS_SPREADSHEETS_VALUES_APPEND - Append rows to end of table [Alternative]

Key parameters:

  • spreadsheet_id: Alphanumeric ID from the spreadsheet URL (between '/d/' and '/edit')
  • ranges: A1 notation array (e.g., 'Sheet1!A1:Z1000'); always use bounded ranges
  • sheet_name: Tab name (case-insensitive matching supported)
  • values: 2D array where each inner array is a row
  • first_cell_location: Starting cell in A1 notation (omit to append)
  • valueInputOption: 'USER_ENTERED' (parsed) or 'RAW' (literal)

Pitfalls:

  • Mis-cased or non-existent tab names error "Sheet 'X' not found"
  • Empty ranges may omit valueRanges[i].values; treat missing as empty array
  • GOOGLESHEETS_BATCH_UPDATE values must be a 2D array (list of lists), even for a single row
  • Unbounded ranges like 'A:Z' on sheets with >10,000 rows may cause timeouts; always bound with row limits
  • Append follows the detected tableRange; use returned updatedRange to verify placement

2. Create and Manage Spreadsheets

When to use: User wants to create a new spreadsheet or manage tabs within one

Tool sequence:

  1. GOOGLESHEETS_CREATE_GOOGLE_SHEET1 - Create a new spreadsheet [Required]
  2. GOOGLESHEETS_ADD_SHEET - Add a new tab/worksheet [Required]
  3. GOOGLESHEETS_UPDATE_SHEET_PROPERTIES - Rename, hide, reorder, or color tabs [Optional]
  4. GOOGLESHEETS_GET_SPREADSHEET_INFO - Get full spreadsheet metadata [Optional]
  5. GOOGLESHEETS_FIND_WORKSHEET_BY_TITLE - Check if a specific tab exists [Optional]

Key parameters:

  • title: Spreadsheet or sheet tab name
  • spreadsheetId: Target spreadsheet ID
  • forceUnique: Auto-append suffix if tab name exists (default true)
  • properties.gridProperties: Set row/column counts, frozen rows

Pitfalls:

  • Sheet names must be unique within a spreadsheet
  • Default sheet names are locale-dependent ('Sheet1' in English, 'Hoja 1' in Spanish)
  • Don't use index when creating multiple sheets in parallel (causes 'index too high' errors)
  • GOOGLESHEETS_GET_SPREADSHEET_INFO can return 403 if account lacks access

3. Search and Filter Rows

When to use: User wants to find specific rows or apply filters to sheet data

Tool sequence:

  1. GOOGLESHEETS_LOOKUP_SPREADSHEET_ROW - Find first row matching exact cell value [Required]
  2. GOOGLESHEETS_SET_BASIC_FILTER - Apply filter/sort to a range [Alternative]
  3. GOOGLESHEETS_CLEAR_BASIC_FILTER - Remove existing filter [Optional]
  4. GOOGLESHEETS_BATCH_GET - Read filtered results [Optional]

Key parameters:

  • query: Exact text value to match (matches entire cell content)
  • range: A1 notation range to search within
  • case_sensitive: Boolean for case-sensitive matching (default false)
  • filter.range: Grid range with sheet_id for basic filter
  • filter.criteria: Column-based filter conditions
  • filter.sortSpecs: Sort specifications

Pitfalls:

  • GOOGLESHEETS_LOOKUP_SPREADSHEET_ROW matches entire cell content, not substrings
  • Sheet names with spaces must be single-quoted in ranges (e.g., "'My Sheet'!A:Z")
  • Bare sheet names without ranges are not supported for lookup; always specify a range

4. Upsert Rows by Key

When to use: User wants to update existing rows or insert new ones based on a unique key column

Tool sequence:

  1. GOOGLESHEETS_UPSERT_ROWS - Update matching rows or append new ones [Required]

Key parameters:

  • spreadsheetId: Target spreadsheet ID
  • sheetName: Tab name
  • keyColumn: Column header name used as unique identifier (e.g., 'Email', 'SKU')
  • headers: List of column names for the data
  • rows: 2D array of data rows
  • strictMode: Error on mismatched column counts (default true)

Pitfalls:

  • keyColumn must be an actual header name, NOT a column letter (e.g., 'Email' not 'A')
  • If headers is NOT provided, first row of rows is treated as headers
  • With strictMode=true, rows with more values than headers cause an error
  • Auto-adds missing columns to the sheet

5. Format Cells

When to use: User wants to apply formatting (bold, colors, font size) to cells

Tool sequence:

  1. GOOGLESHEETS_GET_SPREADSHEET_INFO - Get numeric sheetId for target tab [Prerequisite]
  2. GOOGLESHEETS_FORMAT_CELL - Apply formatting to a range [Required]
  3. GOOGLESHEETS_UPDATE_SHEET_PROPERTIES - Change frozen rows, column widths [Optional]

Key parameters:

  • spreadsheet_id: Spreadsheet ID
  • worksheet_id: Numeric sheetId (NOT tab name); get from GET_SPREADSHEET_INFO
  • range: A1 notation (e.g., 'A1:F1') - preferred over index fields
  • bold, italic, underline, strikethrough: Boolean formatting options
  • red, green, blue: Background color as 0.0-1.0 floats (NOT 0-255 ints)
  • fontSize: Font size in points

Pitfalls:

  • Requires numeric worksheet_id, not tab title; get from spreadsheet metadata
  • Color channels are 0-1 floats (e.g., 1.0 for full red), NOT 0-255 integers
  • Responses may return empty reply objects ([{}]); verify formatting via readback
  • Format one range per call; batch formatting requires separate calls

Common Patterns

ID Resolution

  • Spreadsheet name -> ID: GOOGLESHEETS_SEARCH_SPREADSHEETS with query
  • Tab name -> sheetId: GOOGLESHEETS_GET_SPREADSHEET_INFO, extract from sheets metadata
  • Tab existence check: GOOGLESHEETS_FIND_WORKSHEET_BY_TITLE

Rate Limits

Google Sheets enforces strict rate limits:

  • Max 60 reads/minute and 60 writes/minute
  • Exceeding limits causes errors; batch operations where possible
  • Use GOOGLESHEETS_BATCH_GET and GOOGLESHEETS_BATCH_UPDATE for efficiency

Data Patterns

  • Always read before writing to understand existing layout
  • Use GOOGLESHEETS_UPSERT_ROWS for CRM syncs, inventory updates, and dedup scenarios
  • Append mode (omit first_cell_location) is safest for adding new records
  • Use GOOGLESHEETS_CLEAR_VALUES to clear content while preserving formatting

Known Pitfalls

  • Tab names: Locale-dependent defaults; 'Sheet1' may not exist in non-English accounts
  • Range notation: Sheet names with spaces need single quotes in A1 notation
  • Unbounded ranges: Can timeout on large sheets; always specify row bounds (e.g., 'A1:Z10000')
  • 2D arrays: All value parameters must be list-of-lists, even for single rows
  • Color values: Floats 0.0-1.0, not integers 0-255
  • Formatting IDs: FORMAT_CELL needs numeric sheetId, not tab title
  • Rate limits: 60 reads/min and 60 writes/min; batch to stay within limits
  • Delete dimension: GOOGLESHEETS_DELETE_DIMENSION is irreversible; double-check bounds

Quick Reference

TaskTool SlugKey Params
Search spreadsheetsGOOGLESHEETS_SEARCH_SPREADSHEETSquery, search_type
Create spreadsheetGOOGLESHEETS_CREATE_GOOGLE_SHEET1title
List tabsGOOGLESHEETS_GET_SHEET_NAMESspreadsheet_id
Add tabGOOGLESHEETS_ADD_SHEETspreadsheetId, title
Read dataGOOGLESHEETS_BATCH_GETspreadsheet_id, ranges
Read single rangeGOOGLESHEETS_VALUES_GETspreadsheet_id, range
Write dataGOOGLESHEETS_BATCH_UPDATEspreadsheet_id, sheet_name, values
Update rangeGOOGLESHEETS_VALUES_UPDATEspreadsheet_id, range, values
Append rowsGOOGLESHEETS_SPREADSHEETS_VALUES_APPENDspreadsheetId, range, values
Upsert rowsGOOGLESHEETS_UPSERT_ROWSspreadsheetId, sheetName, keyColumn, rows
Lookup rowGOOGLESHEETS_LOOKUP_SPREADSHEET_ROWspreadsheet_id, query
Format cellsGOOGLESHEETS_FORMAT_CELLspreadsheet_id, worksheet_id, range
Set filterGOOGLESHEETS_SET_BASIC_FILTERspreadsheetId, filter
Clear valuesGOOGLESHEETS_CLEAR_VALUESspreadsheet_id, range
Delete rows/colsGOOGLESHEETS_DELETE_DIMENSIONspreadsheet_id, sheet_name, dimension
Spreadsheet infoGOOGLESHEETS_GET_SPREADSHEET_INFOspreadsheet_id
Update tab propsGOOGLESHEETS_UPDATE_SHEET_PROPERTIESspreadsheetId, properties

Powered by Composio

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Handle ActiveCampaign contact and marketing tasks through Rube MCP, a connection for agent tools. Find or create contacts, manage tags and subscriptions, enroll contacts in existing automated workflows, and create follow-up tasks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Finding or registering contacts
  • Adding or removing contact tags
  • Subscribing contacts to lists or unsubscribing them
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

Research competitors’ live Meta and Google ads to identify opening hooks, offers, calls to action, and landing pages. Receive a sourced creative brief and up to three test ideas adapted to your product.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find angles for new ad copy
  • Plan creative tests using competitor ads
  • Choose a landing page message
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

Add website or app tracking, then use command-line tools to review traffic, signups, drop-off, and returning users across projects. Run A/B tests, which compare alternative headlines or buttons, and inspect results to guide changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding page-view and key-action tracking
  • Reviewing traffic and referral sources across projects
  • Finding where visitors drop out before signup or purchase
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

Establish rules for when an AI agent should recall past context and save lasting decisions, corrections, preferences, and failures. Works with Markdown files or memory services, preserving decision history and surfacing conflicting records.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Carry project conventions into the next session
  • Save user corrections and lasting preferences
  • Record failed approaches and their causes
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

Audit local AI coding-agent sessions with agenttrace to identify spending, token use, tool failures, and operational problems. Produce readable or structured reports and define pass-or-fail thresholds for automated continuous integration checks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Investigating session costs and token waste
  • Finding repeated tool failures and retries
  • Exporting session reports as Markdown or JSON
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

Audit saved agent sessions for access to private files and evidence that secret values entered an agent's context. Get findings without displaying secrets, identify keys needing rotation, and inspect Claude Code or Codex sessions in a local report.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check whether an agent accessed .env files
  • Identify keys that may need rotation
  • Audit private-file access by subagents
davepoon/buildwithclaude3.7천2026년 10월 20일 업데이트

davepoon의 스킬 모두 보기

이 스킬의 문제 신고