89 lines
1.7 KiB
Markdown
89 lines
1.7 KiB
Markdown
---
|
|
pageType: source
|
|
id: source.google-workspace-setup
|
|
title: Google-Workspace-Setup
|
|
sourceType: local-file
|
|
sourcePath: /home/topher/.openclaw/workspace-2890-bot/docs/Google-Workspace-Setup.md
|
|
ingestedAt: 2026-05-02T21:23:26.580Z
|
|
updatedAt: 2026-05-02T21:23:26.580Z
|
|
status: active
|
|
growth: seed
|
|
---
|
|
|
|
# Google-Workspace-Setup
|
|
|
|
## Source
|
|
- Type: `local-file`
|
|
- Path: `/home/topher/.openclaw/workspace-2890-bot/docs/Google-Workspace-Setup.md`
|
|
- Bytes: 1032
|
|
- Updated: 2026-05-02T21:23:26.580Z
|
|
|
|
## Content
|
|
````text
|
|
# Google Workspace (gog) Setup
|
|
|
|
## Binary Location
|
|
```
|
|
/usr/local/bin/g
|
|
```
|
|
|
|
## Account
|
|
**hawkcollective@gmail.com** (Team 2890)
|
|
|
|
## Setup Commands (run manually)
|
|
|
|
```bash
|
|
# 1. Check version
|
|
g --version
|
|
|
|
# 2. Configure OAuth credentials (need client_secret.json from Google Cloud)
|
|
g auth credentials /path/to/client_secret.json
|
|
|
|
# 3. Add account with all services
|
|
g auth add hawkcollective@gmail.com --services gmail,calendar,drive,contacts,sheets,docs
|
|
|
|
# 4. Verify auth
|
|
g auth list
|
|
|
|
# 5. Test Drive access
|
|
g drive ls
|
|
|
|
# 6. Test Calendar
|
|
g calendar list
|
|
```
|
|
|
|
## Usage Examples
|
|
|
|
```bash
|
|
# Drive: List files
|
|
g drive ls --max 20
|
|
|
|
# Drive: Search
|
|
g drive search "team2890" --max 10
|
|
|
|
# Calendar: List events
|
|
g calendar events <calendarId> --from 2026-03-14 --to 2026-03-21
|
|
|
|
# Gmail: Search
|
|
g gmail search 'newer_than:7d' --max 10
|
|
|
|
# Sheets: Get data
|
|
g sheets get <sheetId> "Tab!A1:D10" --json
|
|
```
|
|
|
|
## Notes
|
|
- Binary is at `/usr/local/bin/g` (not `g`)
|
|
- Account: hawkcollective@gmail.com
|
|
- Need OAuth setup via Google Cloud Console first
|
|
|
|
````
|
|
|
|
## Notes
|
|
<!-- openclaw:human:start -->
|
|
<!-- openclaw:human:end -->
|
|
|
|
## Related
|
|
<!-- openclaw:wiki:related:start -->
|
|
- No related pages yet.
|
|
<!-- openclaw:wiki:related:end -->
|