Overview
- Skill Key
- darconada/google-chat
- Author
- darconada
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/darconada/google-chat
- Latest Commit SHA
- 4afcf9f8e017515d2aadf76855ced6c02938f856
Send messages to Google Chat spaces and users via webhooks or OAuth. Use when you need to send notifications, alerts, or messages to Google Chat channels (spaces) or direct messages to specific users. Supports both incoming webhooks (for predefined channels) and OAuth 2.0 (for dynamic messaging to any space or user).
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 google-chat 技能。 若已安装,则直接安装 google-chat 技能。
# Google Chat Messaging
Send messages to Google Chat using two methods:
1. **Webhooks** - Fast, pre-configured channels (messages appear as a bot)
2. **OAuth** - Dynamic messaging to any space or user (requires authentication)
## Quick Start
### Method 1: Webhooks (Recommended for Known Channels)
Send to a pre-configured channel:
```bash
python3 scripts/send_webhook.py "$WEBHOOK_URL" "Your message here"
```
Example with threading:
```bash
python3 scripts/send_webhook.py "$WEBHOOK_URL" "Reply message" --thread_key "unique-thread-id"
```
**Configuration:** Store webhooks in `google-chat-config.json`:
```json
{
"webhooks": {
"acs_engineering_network": "https://chat.googleapis.com/v1/spaces/...",
"general": "https://chat.googleapis.com/v1/spaces/..."
}
}
```
Read config and send:
```bash
WEBHOOK_URL=$(jq -r '.webhooks.acs_engineering_network' google-chat-config.json)
python3 scripts/send_webhook.py "$WEBHOOK_URL" "Deploy completed ✅"
```
### Method 2: OAuth (For Dynamic Messaging)
**First-time setup:**
1. Save OAuth credentials to a file (e.g., `google-chat-oauth-credentials.json`)
2. Run initial authentication (opens browser, saves token):
```bash
python3 scripts/send_oauth.py \
--credentials google-chat-oauth-credentials.json \
--token google-chat-token.json \
--space "General" \
"Test message"
```
**Send to a space by name:**
```bash
python3 scripts/send_oauth.py \
--credentials google-chat-oauth-credentials.json \
--token google-chat-token.json \
--space "Engineering Network" \
"Deploy completed"
```
**Note:** OAuth messages automatically include `🤖` emoji prefix. Use `--no-emoji` to disable this:
```bash
python3 scripts/send_oauth.py \
--credentials google-chat-oauth-credentials.json \
--token google-chat-token.json \
--space "Engineering Network" \
"Message without emoji" \
--no-emoji
```
**List available spaces:**
```bash
python3 scripts/send_oauth.py \
--credentials google-chat-oauth-credentials.json \...
# Google Chat Skill Send messages to Google Chat spaces and users via webhooks or OAuth 2.0. ## Features ✅ **Webhook support** - Send to predefined channels (messages appear as configured bot) ✅ **OAuth support** - Send to any space dynamically (messages appear from your Google Chat App) ✅ **Space discovery** - List all available spaces and DMs ✅ **Automatic emoji prefix** - OAuth messages include 🤖 emoji (configurable) ✅ **Message threading** - Support for threaded conversations ## Quick Start ### Webhook (fastest) ```bash python3 scripts/send_webhook.py "$WEBHOOK_URL" "Your message" ``` ### OAuth (flexible) ```bash # First time: authenticate python3 scripts/send_oauth.py \ --credentials oauth-creds.json \ --token token.json \ --space "Channel Name" \ "Your message" # List spaces python3 scripts/send_oauth.py \ --credentials oauth-creds.json \ --token token.json \ --list-spaces ``` ## Setup Requirements **For webhooks:** - Create incoming webhook in Google Chat space settings **For OAuth:** 1. Google Cloud Console → Create OAuth 2.0 credentials (Desktop app) 2. Enable Google Chat API 3. Download credentials JSON 4. Run authentication flow (opens browser) ## Configuration Example See `references/config-example.json` for a config template with multiple webhooks. ## Limitations - **OAuth cannot create new DMs by email** - This is a Google Chat API limitation - To send DMs via OAuth, you need the space ID of an existing conversation - Use `--list-spaces` to discover available DM space IDs ## Full Documentation See `SKILL.md` for complete usage, examples, and troubleshooting. --- **Created:** 2026-01-25 **Tested with:** Google Workspace
human-pages-ai
Search and hire real humans for tasks — photography, delivery, research, and more
zseven-w
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
capt-marbles
Attio CRM integration for managing companies, people, deals, notes, tasks, and custom objects. Use when working with Attio CRM data, searching contacts, managing sales pipelines, adding notes to records, creating tasks, or syncing prospect information.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.
caqlayan
Tweet Processor Skill
carlosarturoleon
Connect to Windsor.ai MCP for natural language access to 325+ data sources including Facebook Ads, GA4, HubSpot, Shopify, and more.