💬

Google Chat Integration

Connect OpenClaw to Google Chat and have your AI assistant help your workspace.

TL;DR

  • Create a Google Cloud project and enable Chat API
  • Create a Chat bot and configure credentials
  • Add credentials to openclaw.json
  • Time: ~15 minutes

Setup Steps

Step 1: Create Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project
  3. Enable "Google Chat API"
  4. Go to "Credentials" → "Create Credentials" → "Service Account"
  5. Create a key and download the JSON file

Step 2: Configure Chat Bot

  1. In Google Cloud Console, go to "Configuration" under Google Chat API
  2. Set App name, avatar, and description
  3. Under "Connection settings", select "Bot URL"
  4. Set the Bot URL to your OpenClaw server endpoint
  5. Under "Permissions", add users and groups who can use the bot

Step 3: Configure openclaw.json

{
  "channels": {
    "googlechat": {
      "enabled": true,
      "credentials": {
        "type": "service_account",
        "project_id": "your-project-id",
        "private_key": "-----BEGIN PRIVATE KEY-----
...",
        "client_email": "your-service-account@..."
      },
      "space": "spaces/your-space-id"
    }
  }
}

Step 4: Start OpenClaw

openclaw start

Your Google Chat bot is now active! Add it to spaces to start chatting.

Features

Space Integration

Add to direct messages and spaces.

Card Messages

Support for interactive cards and buttons.

File Handling

Process attachments from Google Chat.

Slash Commands

Respond to custom slash commands.