Google Workspace for Openclaw

A full-featured integration for managing Gmail, Calendar, Contacts, Sheets, Docs, and Drive via AI-driven commands.

hightower6eu
v1.0.0
Feb 2, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-workspace-ozgdc

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-workspace-ozgdc using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Workspace?

The Google Workspace skill provides a robust bridge between your AI agent and Google's suite of productivity tools. By utilizing Openclaw Skills, you can automate complex workflows such as drafting emails, organizing schedules, and synchronizing spreadsheet data. This integration allows the agent to act as a digital assistant with deep access to your professional environment.

This skill is built on top of the Google API Python Client and requires the openclaw-agent to handle secure local operations. It supports a wide range of services, including Gmail, Calendar, Sheets, Docs, and Drive, making it a versatile choice for any developer looking to expand their agent's capabilities.

Google Workspace Use Cases

  • Automating inbox management by searching for and reading specific Gmail messages.
  • Creating and managing complex calendar events with attendees and reminders.
  • Programmatically updating Google Sheets for data logging or financial tracking.
  • Generating documents in Google Docs by replacing placeholders with dynamic content.
  • Managing files on Google Drive, including automated uploads of generated reports.

How Google Workspace Works

  1. Ensure the openclaw-agent is running on your local machine to facilitate API communication.
  2. Configure a Google Cloud Project and obtain OAuth 2.0 credentials to authorize access.
  3. The skill uses a Python-based authentication helper to manage tokens and service builders.
  4. Execute specific commands through the AI agent to interact with the target Google API endpoint.
  5. The agent processes the API response to complete the requested task or inform the next action in a workflow.

Google Workspace Setup

1. Prerequisite

Ensure openclaw-agent is installed and running on your system. This is a critical requirement for all Google Workspace operations within the Openclaw Skills ecosystem.

2. Install Dependencies

pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

3. Google Cloud Configuration

  1. Create a project in the Google Cloud Console.
  2. Enable the Gmail, Calendar, Sheets, Docs, and People APIs.
  3. Create OAuth 2.0 Desktop credentials and download them as credentials.json to your working directory.

4. Authentication

Implement the google_auth.py helper and run it to generate a token.pickle file via a browser-based OAuth flow.

Google Workspace Data Schema & Taxonomy

Component Description
credentials.json OAuth 2.0 client secret file obtained from the Google Cloud Console.
token.pickle Persistent storage for user authentication tokens used for subsequent requests.
spreadsheet_id The unique identifier found in a Google Sheets URL structure.
document_id The unique identifier found in a Google Docs URL structure.
message_id The unique identifier for a specific Gmail email thread or message.

Google Workspace Advanced Features

  • Batch updates for Google Docs to perform multiple text replacements or insertions in a single API call.
  • Advanced Gmail filtering using complex query syntax (e.g., is:unread has:attachment).
  • Multi-service workflows, such as extracting data from an incoming email and automatically appending it to a spreadsheet.
  • Full media handling for Google Drive, supporting both chunked uploads and downloads of binary files.
  • Detailed contact synchronization and searching via the People API integration.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*