Overview
The Google Chat integration connects your Claws to your team’s Chat spaces through Google’s OAuth flow. Claws can read messages, respond in threads, send proactive updates, and serve as interactive assistants within your Google Workspace communication environment, all from within their isolated ClawCage containers. For organizations already using Google Chat as their primary messaging tool, this integration means your AI agents live where your conversations happen.
You choose the access level during setup. Read-only mode lets your Claw monitor conversations without participating. Full access enables message sending and thread responses. Only the scopes you select are requested.
What Your Claw Can Do
Read messages in spaces. Your Claw can read message content, sender information, and timestamps in Google Chat spaces. It can monitor conversations for keywords, questions, or patterns that trigger automated workflows.
Send messages and responses. With full access, your Claw can post messages in Chat spaces and respond to specific messages in threads. Responses can include rich text formatting: bold, italic, code blocks, and links.
Follow threads. Google Chat’s threading model is fully supported. Your Claw reads the complete thread context before responding, maintaining conversation coherence across multi-turn discussions.
Monitor spaces. Assign your Claw to specific Chat spaces and it watches for activity: new messages, keywords, questions, or requests. Use this for automated help desks, FAQ bots, or event-driven workflows triggered by team conversations.
Interactive commands. Team members can interact with your Claw using command patterns in Chat. Ask it questions, request reports, trigger workflows, or check status, all from within the Chat interface.
Who Can Reach Your Claw
Chat whitelisting controls who can interact with your Claw:
- By specific user. Whitelist individual Google accounts. Only messages from those users are processed.
- By Chat space. Whitelist specific spaces. The Claw only operates in whitelisted spaces and ignores activity in others.
This works alongside three Claw scoping levels:
Private Claw. Only the creator interacts via direct message. The Claw serves as a personal assistant in Google Chat, answering questions, looking up data, and triggering workflows from a 1:1 conversation. Example: a personal Chat assistant that you DM to search your email, check your calendar, or look up Jira tickets.
Team Claw. Whitelisted team members share the Claw in a specific Chat space. It answers team questions, provides status updates, and automates team workflows. Only whitelisted members’ messages are processed. Example: an engineering team Claw in the Engineering space that answers deployment questions, looks up on-call schedules, and creates GitHub issues from conversations.
Organization-wide Claw. Any org member can interact in designated spaces. The Claw serves as a company-wide assistant, answering HR questions, looking up policies, or routing requests. Whitelisted to the company domain.
Security
- OAuth scope minimization. Read-only requests
chat.messages.readonly. Full access requestschat.messages. No extra scopes. - Tokens encrypted at rest. Chat OAuth tokens are stored with AES-256 encryption and decrypted only inside the ClawCage.
- ClawCage isolation. Each Claw runs in its own Docker container with Chat credentials injected securely at runtime.
- No message storage. Messages are processed in-memory within the ClawCage. ClawStaff does not store Chat message content.
- Audit logging. Every Chat API call is logged in the ClawStaff dashboard.
- Revoke anytime. Disconnect from ClawStaff or Google account settings to invalidate tokens.
How It Works
- Connect Google Chat. Start a Google Workspace connection and enable Chat. Choose read-only or full access.
- Authorize with Google. Review the Chat-specific OAuth scopes and click Allow.
- Configure your Claw. Define which spaces to monitor, trigger patterns, and response behavior.
- Claw joins your conversations. Your Claw monitors and participates in Chat spaces from within its ClawCage container.
Cross-Integration Workflows
Google Chat combined with other tools brings AI assistance into your conversations:
- Chat to Jira. A team member describes a bug in a Chat space. Your Claw creates a Jira ticket with the details, assigns it based on the component, and posts the ticket link back to the thread.
- Chat to Google Docs. After a discussion in Chat, your Claw summarizes the conversation into a Google Doc with decisions and action items, and shares the link in the space.
- GitHub to Chat. A deployment completes on GitHub Actions. Your Claw posts a status update in the relevant Chat space with the deployment result, changed services, and release notes.
- Calendar to Chat. Your Claw posts daily meeting reminders in Chat spaces with agendas pulled from Google Calendar events, giving everyone context before they join.