Connect Google Workspace
Read and manage your Google Workspace data.
Google Workspace
Read and manage your Google Workspace data.
Connect through OAuth
The client approves access on the provider's authorization screen. CybrLink stores the resulting credential through Nango and exposes only scoped, auditable agent access.
Google Workspace connection guideStep 1
Open OAuth connect
Step 2
Approve provider access
Step 3
Create a scoped MCP/API key
Sample request
// 1. Mint a session token for the end user
const session = await link.connect.session({
integrationKey: "google-workspace",
userId: "u_42",
});
// 2. After the user completes OAuth, proxy a request
const res = await link.proxy("google-workspace", "u_42", {
method: "GET",
endpoint: "/v1/me", // replace with the provider's resource
});More in this category
Available agent tools
Typed, scoped actions your AI agent can run through CybrLink's MCP server once Google Workspace is connected.
GOOGLE_WORKSPACE_GMAIL_PROFILEGet the connected Google Workspace Gmail profile. Returns { emailAddress, messagesTotal, threadsTotal, historyId }.
GOOGLE_WORKSPACE_GMAIL_LIST_MESSAGESSearch or list Gmail messages from the connected Google Workspace account. Returns { messages, resultSizeEstimate, nextPageToken }.
GOOGLE_WORKSPACE_GMAIL_GET_MESSAGEGet one Gmail message by ID. Defaults to metadata headers. Returns id, threadId, labels, snippet, date, and selected headers.
GOOGLE_WORKSPACE_GMAIL_SEND_EMAILSend a plain-text email from the connected Google Workspace Gmail account. Returns { id, threadId, labelIds }.
GOOGLE_CALENDAR_LIST_EVENTSList upcoming events from the connected Google Workspace primary calendar. Returns { events: [{ id, summary, start, end, attendees }] }.
GOOGLE_CALENDAR_CREATE_EVENTCreate a Google Calendar event on the connected Google Workspace account. Use only after explicit user approval. Returns { id, htmlLink, summary, start, end }.
GOOGLE_DRIVE_LIST_FILESList or search Google Drive files from the connected Google Workspace account. Returns { files, nextPageToken }.
GOOGLE_DRIVE_GET_FILEGet Google Drive file metadata by file ID. Returns { id, name, mimeType, webViewLink, modifiedTime, owners, parents, size }.
GOOGLE_SHEETS_GET_VALUESRead a cell range from a Google Sheet in the connected Google Workspace account. Returns { range, values }.
GOOGLE_SHEETS_UPDATE_VALUESUpdate a cell range in a Google Sheet. Use only after explicit user approval. Returns { spreadsheetId, updatedRange, updatedRows, updatedColumns, updatedCells }.
Google Workspace + AI agents: common questions
- How do I connect Google Workspace to an AI agent?
- Create a free CybrLink account, open the dashboard, and click Connect on Google Workspace. You authorize once with OAuth; CybrLink stores the credential in its token vault and your agent reaches Google Workspace through the CybrLink MCP server or the agent proxy API. The credential itself is never placed in the model's context.
- Does Google Workspace work with Claude, GPT, and other MCP clients?
- Yes. CybrLink exposes a remote MCP (Model Context Protocol) server, so any MCP-capable client or agent framework — including Claude, OpenAI-based agents, and custom agents — can call Google Workspace once you've connected it. Non-MCP agents can use the authenticated HTTP proxy instead.
- Is it safe to give an AI agent access to Google Workspace?
- CybrLink scopes every connection to the permissions you grant, keeps tokens out of the model, logs each call to an activity audit trail, and lets you revoke the Google Workspace connection at any time from the dashboard.