📝

Gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs — manage your entire Google workspace from the command line.

Peter Steinbergerv1.0.0
Productivity & TasksProductivityAutomationAPICLIDeveloper Tool
Conectando a la VM...
Conectando a la VM...
npx clawhub@latest install gog
27Instalaciones actuales
v1.0.0Versión

Requisitos

gogDefault Google Account(optional)

Plataformas

macoslinux

gog is a command-line interface for Google Workspace that lets Clawdbot interact with Gmail, Google Calendar, Google Drive, Contacts, Sheets, and Docs. Once OAuth is configured, you can search and send emails, query calendar events, browse Drive files, list contacts, read and update spreadsheet ranges, and export or read Google Docs — all through natural language prompts.

Cómo funciona

1

Step 1

OAuth Setup
Provide a Google OAuth client secret JSON file and authorize one or more Google accounts using gog auth. This is a one-time configuration step.
2

Step 2

Account Selection
Set GOG_ACCOUNT to your Gmail address so every command targets the right account without repeating the --account flag.
3

Step 3

Natural Language Invocation
Clawdbot translates your requests into the appropriate gog subcommand (gmail, calendar, drive, contacts, sheets, or docs) and runs it on your behalf.
4

Step 4

Structured Output
Commands return JSON when passed --json, making it easy for Clawdbot to parse results and summarize them in conversation.

Características principales

Gmail
Search messages with Gmail query syntax, send emails with subject and body.
Google Calendar
List events for any calendar within a date/time range.
Google Drive
Search files across your Drive with flexible queries.
Google Contacts
List and browse your contact directory.
Google Sheets
Read, write, append, clear ranges, and fetch spreadsheet metadata.
Google Docs
Export documents to plain text or other formats, or cat their content directly.
Multi-account Support
Authenticate multiple Google accounts and switch between them.
Script-friendly
--json and --no-input flags make it safe and predictable for automation.

Requisitos

Google OAuth Credentials
A client_secret.json file from a Google Cloud project with the appropriate APIs enabled (Gmail, Calendar, Drive, Contacts, Sheets, Docs). Required for initial auth setup.
Authorized Google Account
At least one Google account authenticated via gog auth add with the desired service scopes.
Environment Variable (optional)
GOG_ACCOUNT — Set to your Gmail address to avoid specifying --account on every command. Optional but recommended for scripting.

Casos de uso

Ask Clawdbot to find unread emails from a specific sender in the last week.
Have Clawdbot create a summary of today's calendar events.
Search Google Drive for documents matching a topic and retrieve their contents.
Let Clawdbot update a Google Sheets tracker with new data after completing a task.
Export a Google Doc to plain text and summarize it in chat.
Send a follow-up email after a meeting directly from a Clawdbot conversation.

Cómo instalar

1
Run in your terminal
npx clawhub@latest install gog
or
2
Click the Install button at the top of this page for one-click setup

Preguntas frecuentes

Reseñas

0 reseñas

Inicia sesión para escribir una reseña

Aún no hay reseñas. ¡Sé el primero en compartir tu experiencia!