Skip to main content

Gmail, Drive, Calendar, and More

The Google Workspace integration connects Wolffish to Gmail, Google Drive, Calendar, Contacts, Tasks, and Sheets. It supports multiple Google accounts and uses OAuth 2.0 for authentication.

Setup

1

Open Settings

Navigate to Settings > Integrations > Google.
2

Authorize

Click “Authorize” to start the OAuth flow. Your default browser opens to Google’s consent screen.
3

Grant Permissions

Approve the requested scopes. Wolffish requests read/write access to Gmail, Drive, Calendar, Contacts, Tasks, and Sheets.
4

Complete

The browser redirects back to a local callback URL. Your tokens are stored in config.json and the account appears in Settings.
The OAuth tokens are stored locally in ~/.wolffish/workspace/config.json. Wolffish uses a refresh token to silently renew access tokens when they expire — no re-authorization needed.

Multi-Account Support

You can authorize multiple Google accounts. The google_accounts tool lists all connected accounts, and every other Google tool requires an explicit account parameter to specify which account to use.
If you only have one account, Wolffish still requires the account parameter for consistency and to avoid ambiguity if you add more accounts later.

Available Tools

Gmail

Google Drive

Google Calendar

Google Contacts

Google Tasks

Google Sheets

Triggers

The Google capability activates when your message matches any of these patterns:

Example Workflows

Configuration Reference

The Google integration stores its data in config.json:
Do not manually edit tokens in config.json unless you know what you’re doing. Use the Settings UI to add or remove accounts. Malformed tokens will cause silent auth failures.
If Google API calls start failing with 401 errors, go to Settings > Google and click “Re-authorize” to refresh your tokens. This typically happens if you revoke access from your Google Account security settings.