google-chat-api
This skill implements Google Chat bots and webhooks with Cards v2 and Cloudflare Worker templates. It makes outbound requests to https://chat.googleapis.com and https://www.googleapis.com/service_accounts/v1/jwk/chat@system.gserviceaccount.com, and instructs running wrangler secret put CHAT_BOT_TOKEN to manage secrets.
Google Chat API
Status: Production Ready ✅ Last Updated: 2026-01-03
Auto-Trigger Keywords
- google chat, google chat api, google spaces
- chat bot, google chat bot, chat webhooks
- cards v2, chat cards, interactive cards
- chat forms, google chat forms
- bearer token, webhook handler
- spaces api, members api, reactions api
- chat rate limits, quota exceeded, 429 error
What This Skill Does
Build Google Chat bots and webhooks with Cards v2, interactive forms, Spaces/Members/Reactions APIs, and Cloudflare Workers integration.
Core Capabilities
✅ Webhook handlers for notifications ✅ Interactive bot with Cards v2 ✅ Form validation patterns ✅ Bearer token verification (Web Crypto API) ✅ Dialog/modal patterns ✅ Spaces API - Create, list, search, manage spaces ✅ Members API - Add/remove members, update roles ✅ Reactions API - Add/list emoji reactions ✅ Rate Limits - Quotas and exponential backoff ✅ 6 documented errors prevented
Quick Start
npm install google-chat-cards # Optional type-safe builder
See SKILL.md for complete documentation.
Token Savings
- Manual: ~8k tokens, 3-5 errors
- With Skill: ~2.5k tokens, 0 errors
- Savings: ~70%
Production Tested
Community examples (translatebot), official Google samples