Access Google Chat via the Google Chat API with OAuth authentication. Manage spaces, members, messages, attachments, and threaded conversations.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Chat API access yourself.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Google Chat |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Google Chat |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Google Chat API │
│ (User Chat) │ │ (OAuth) │ │ (REST) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Google Chat │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Google │
│ File │ │ Auth │ │ Chat │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Chat again."
# List spaces the user is member of
clawlink_call_tool --tool "google_chat_list_spaces" --params '{}'
# List members in a space
clawlink_call_tool --tool "google_chat_list_members" --params '{"parent": "spaces/space-id"}'
# Send a message to a space
clawlink_call_tool --tool "google_chat_create_message" --params '{"parent": "spaces/space-id", "text": "Hello from OpenClaw!"}'
All Google Chat tool calls are authenticated automatically by ClawLink using the user's connected Google account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Google Chat API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for google-chat in the list.
clawlink_list_tools --integration google-chat
Response: Returns the live tool catalog for Google Chat.
If Google Chat tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration google-chat| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_list_spaces | List spaces the authenticated user is a member of | Read |
google_chat_get_space | Get details for a specific space | Read |
google_chat_create_space | Create a new space | Write |
google_chat_update_space | Update space name, description, or settings | Write |
google_chat_delete_space | Delete a space | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_list_members | List all members in a space | Read |
google_chat_get_member | Get details for a specific member | Read |
google_chat_create_membership | Add a user or group to a space | Write |
google_chat_delete_membership | Remove a member from a space | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_list_messages | List messages in a space | Read |
google_chat_get_message | Get a specific message | Read |
google_chat_create_message | Send a message to a space (supports threading) | Write |
google_chat_update_message | Update a message's text or content | Write |
google_chat_delete_message | Delete a message | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_list_reactions | List reactions to a message | Read |
google_chat_create_reaction | Add an emoji reaction to a message | Write |
google_chat_delete_reaction | Remove an emoji reaction | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_list_attachments | List attachments in a space | Read |
google_chat_create_custom_emoji | Create a custom emoji for the organization | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
google_chat_create_section | Create a custom section in a space | Write |
clawlink_call_tool --tool "google_chat_list_spaces" \
--params '{}'
clawlink_call_tool --tool "google_chat_create_message" \
--params '{
"parent": "spaces/space-id",
"text": "Hello team! Just wanted to share an update on the project status."
}'
clawlink_call_tool --tool "google_chat_create_message" \
--params '{
"parent": "spaces/space-id",
"text": "Thanks for the update!",
"thread": {
"thread_key": "original-message-id"
}
}'
clawlink_call_tool --tool "google_chat_create_reaction" \
--params '{
"parent": "spaces/space-id/messages/message-id",
"emoji_unicode": "👍"
}'
clawlink_list_integrations to confirm Google Chat is connected.clawlink_list_tools --integration google-chat to see the live catalog.clawlink_search_tools with a short query and integration google-chat.┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: List spaces → Get space → Show members │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Preview message → User confirms → Execute send │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.spaces/space-id in API calls.thread_key to reply to existing threads.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-chat. |
| Missing connection | Google Chat is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-chat. |
404 Not Found | Space, message, or member does not exist. Verify the IDs. |
403 Forbidden | Insufficient permissions or the space requires bot authentication. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.google-chat.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本