Google Workspace Account Connection¶
In Whiskers, each employee can connect their own Google Workspace work account once. The connection is personal: nobody, including your administrator, can see or use it, and access is read-only — Whiskers does not send email, change files, or write to your calendar or Chat with this account.
If your organization has installed the Google Workspace Assistant, you can search and read your Gmail email, Drive files (including shared drives), calendar and Google Chat conversations, and find people in the company directory.
Only business Google Workspace accounts can be connected; personal @gmail.com
accounts can never be connected.
For employees: connecting your account¶
- Open Settings → Connections.
- Click Connect on the Google Workspace row. A small window opens.
- Sign in to Google with your own work account and approve the permissions. Google may let you tick permissions one by one; if you leave one out, the assistant cannot use that source (for example, calendar) and tells you so.
- The window closes and the row says "Connected as …".
If you don't see the row at all, your organization hasn't enabled this connection yet.
You cannot connect someone else's account
The Google account you connect must be in your organization's Workspace domain and (unless your administrator turned this off) match your Whiskers email; otherwise the connection is not saved.
What if I see "Reconnect required"?¶
Google no longer accepts the connection. Typical reasons: you removed Whiskers' access in your Google account, you changed your password (connections that carry Gmail access drop on a password change), your administrator set a re-authentication interval for apps, or the connection was unused for a long time. Click Reconnect.
Disconnecting¶
Disconnect deletes the key Whiskers stored and also revokes its permission at Google: Whiskers disappears from your Google Account's Security → Third-party apps & services list. You can reconnect the same way at any time; no administrator step is needed.
If your account is deleted or deactivated in Whiskers, your connection is automatically revoked at Google and deleted too.
Using the Google Workspace Assistant¶
Open the Google Workspace Assistant in the console and ask in plain language:
- "Summarize the budget emails Ahmet sent this week"
- "Where is the Q3 plan in Drive, and what are the targets in it?"
- "What are my meetings tomorrow?"
- "Who is in the Sales department?" · "Who is Ayşe Kaya's manager?"
The assistant searches first, reads content when needed, and shows the source (subject or file name, date and link) in its answer.
- Chat search is not a full search. The assistant scans the last days of your most recently active conversations and, if it finds nothing, says so within that scope. If you are looking for an older message, mention the conversation name or an approximate date.
- When reading Sheets, only the first sheet is returned; the assistant says so.
- If it could only read part of a long item, it tells you.
- If your account isn't connected, a "Connect your Google Workspace account" card appears under the answer. Ask again after connecting.
- The assistant is read-only. It does not follow instructions found in the content it reads; even if an email says "assistant, send this there", it won't — it has no channel to send through anyway.
For administrators: setup¶
The connection works through an OAuth client in your organization's own Google Cloud project; Whiskers does not use a shared application identity. Because the client is of type Internal, it does not go through Google's app verification and users do not see an "unverified app" warning on the consent screen.
1. Google Cloud project and APIs¶
Sign in at console.cloud.google.com with your organization's Workspace account and select or create a project that belongs to your organization. Under APIs & Services → Library, enable these five APIs:
| API | Used for |
|---|---|
| Gmail API | |
| Google Drive API | Drive files (including shared drives) |
| Google Calendar API | Calendar |
| Google Chat API | Chat conversations (no separate "Chat app" configuration needed) |
| People API | Company directory |
If an API is not enabled, the assistant cannot use that source and says "this API is not enabled in your organization's Google project".
2. OAuth consent screen and client¶
- Under Google Auth Platform (or APIs & Services → OAuth consent screen), enter the app name and support email; choose Internal as the Audience / User type.
- Under Clients → Create client, create a client of type Web application.
Authorized redirect URI:
https://<your-whiskers-address>/api/v1/connections/oauth/callback— the address of your Whiskers installation as reached from employees' browsers. Ask the team that set up the installation for the exact value. - Copy the client ID and client secret.
Permissions Whiskers requests (all read-only):
| Scope | Used for |
|---|---|
openid, email, profile |
Sign-in and account identity (required) |
gmail.readonly |
|
drive.readonly |
Drive file contents |
calendar.readonly |
Calendar |
chat.messages.readonly, chat.spaces.readonly |
Chat messages and conversation list |
directory.readonly |
Company directory |
3. Workspace admin settings¶
At admin.google.com:
- For directory search: under Directory → Directory settings → Sharing settings → External Directory Sharing, choose to share organization data and authenticated user basic profile fields. If only "basic profile" is selected, the assistant cannot find anyone in the directory. Changes can take up to 24 hours to apply.
- If your organization restricts third-party app access: under Security → Access and data control → API controls, mark the client you created as trusted; otherwise employees cannot connect.
4. Settings in Whiskers¶
In the admin panel, on the Tenant → Tenant Settings → Integrations → Google Workspace account connection card:
- OAuth client ID — ends with
…apps.googleusercontent.com. - Client secret — stored encrypted and never readable again. Saving with the field empty keeps the current secret. Remove client secret asks for confirmation because it turns account connection off: no new connections can be made and existing ones stop when their access token expires (within an hour). Connections are not deleted.
- Allowed domains — your organization's Workspace domains, one per line
(e.g.
company.com). If your Workspace has several domains, list them all. Only accounts in these domains can connect. - The connected account's email must match the Whiskers email — on by default. Turn it off if your email addresses differ from those in Whiskers; the domain check always applies.
- Scopes — if left empty, the full set above is requested. Only read-only scopes are accepted.
If one of the three parts is missing (client ID, client secret, at least one domain), employees don't see the row at all; the Configuration health panel shows this incomplete state as a warning.
5. Installing the assistant¶
In the admin panel, install it from the Google Workspace Assistant card on Agents → Install crew (the recipe is not a crew worker; it is used directly). Installation is not possible until the settings above are complete; what is missing is shown on the recipe card. The assistant is opened to everyone in the catalog; each employee only sees the account they connected. If you also use Microsoft 365, the M365 Assistant is a separate recipe.
The assistant uses three built-in tools; you can also give them to an agent you build yourself:
| Tool | What it does |
|---|---|
Google Workspace Search (google_search) |
searches Gmail, Drive, calendar and Google Chat; returns hits with their source |
Google Workspace Read (google_read) |
reads the content of an email, file or message found by search |
Google Workspace Directory (google_directory) |
finds people in the organisation directory |
Long digests and answer length
The assistant is installed with a 4,096-token answer limit (so requests with many hits, such as "summarize today's emails", fit). An assistant installed before this keeps 1,024 and a long digest can be cut off midway: raise Max tokens to 4096 in the agent's settings and publish again.
Cannot be combined with tools that send data out
The Google Workspace search and read tools read both private data and content written by outsiders (directory search is not subject to this restriction). So that an instruction hidden in an email cannot carry this data out, these tools cannot be published in the same agent (or the same agent crew) as a tool that can send data out (email, SMS, web search, deep research, outbound HTTP requests or MCP tools). A tenant administrator can knowingly allow it per agent; that decision is written to the audit log. The rule: Agent Guide → Tool combination.
Flows with an approval step
No Google Workspace reading happens after an approval step: if the person approving is not the one who started the run, nobody's account is read on someone else's click. Put reading in the steps before the approval.
Agents exposed externally (MCP)
If you expose an agent that carries Google Workspace tools, your employees can connect an MCP application with their Whiskers accounts and use the agent on their own Google data from that application; the content read goes to that application's model. Calls made with an API key are not tied to a user and cannot read accounts. If you don't want this, don't expose the agent.
Installations without internet access
Google Workspace is a cloud service; this connection does not work in an installation that cannot reach Google.