← Docs

Docs · Connector reference

Google Workspace connector reference

Operations, inputs, troubleshooting, and questions for the Google Workspace connection. Policy decides each change before the credential is resolved, and the action record carries the result.

Set up and verify the Google Workspace connection

  1. Choose one task and its account, and match the reads and actions on the overview page to it before granting provider permissions.
  2. Prepare the connection settings from the overview page, connect the provider in Deixic, and choose which tools your agent can use.
  3. Try a small task with a known result, and compare the returned identity and resource with what the account owner expects.
  4. Configure approval for sensitive changes, review the destination and inputs, and check the result in the provider before expanding the workflow.

Information your agent can use

ResourceRecord identityStart withPage coverage
Gmail profileemailAddressTop levelNone configured
Gmail threadsidTop levelCursor
Drive filesidTop levelCursor
Calendar eventsidTop levelCursor
Directory usersidTop levelCursor
Directory groupsidTop levelCursor
Directory membershipsidDirectory groupsCursor
Directory rolesroleIdTop levelCursor
Directory role assignmentsroleAssignmentIdTop levelCursor
Record identity
Match on these fields before joining or deduplicating results; where none is specified, check the returned record first.
Start with
Resolve the parent identifier first.
None configured
No page continuation is configured for this resource. Check the response and any provider limits before treating it as a complete inventory.
Cursor
Cursor pagination. Continue from the returned cursor; an initial page is not a complete inventory.

Supported operations

Review the inputs before granting an action to an agent. Required inputs must be supplied, optional inputs narrow the request, and provider permissions apply in addition to Deixic policy.

Action
Can change provider state; review the target and inputs, then retain the result to avoid repeating completed work.
Read
Retrieves information; check the returned scope and identifiers before use.
OperationEffectApprovalProvider permissionsInputs
Email Create DraftActionBy policyNone namedNone named
Email SendActionApproval requiredNone namedNone named
Calendar Create EventActionApproval requiredNone namedNone named
Google Drive Document CreateActionApproval requiredhttps://www.googleapis.com/auth/documents, https://www.googleapis.com/auth/drive.file1
Directory Get UserReadBy policyhttps://www.googleapis.com/auth/admin.directory.user.readonly1
Directory Suspend UserActionApproval requiredhttps://www.googleapis.com/auth/admin.directory.user2
Sheets Values GetReadBy policyhttps://www.googleapis.com/auth/spreadsheets.readonly4
Drive Files ListReadBy policyhttps://www.googleapis.com/auth/drive.readonly4
Drive Files GetReadBy policyhttps://www.googleapis.com/auth/drive.readonly1
Drive Files ExportReadBy policyhttps://www.googleapis.com/auth/drive.readonly2
Gmail Messages ListReadBy policyhttps://www.googleapis.com/auth/gmail.readonly4
Gmail Messages GetReadBy policyhttps://www.googleapis.com/auth/gmail.readonly2
Calendar Events ListReadBy policyhttps://www.googleapis.com/auth/calendar.events8
Directory List UsersReadBy policyhttps://www.googleapis.com/auth/admin.directory.user.readonly5
Directory Sign Out UserActionApproval requiredhttps://www.googleapis.com/auth/admin.directory.user.security1
Directory List User TokensReadBy policyhttps://www.googleapis.com/auth/admin.directory.user.security1
Cloud Identity List PoliciesReadBy policyhttps://www.googleapis.com/auth/cloud-identity.policies.readonly3
Directory List DomainsReadBy policyhttps://www.googleapis.com/auth/admin.directory.domain.readonly1
Reports List ActivitiesReadBy policyhttps://www.googleapis.com/auth/admin.reports.audit.readonly6
Directory Revoke User TokenActionApproval requiredhttps://www.googleapis.com/auth/admin.directory.user.security2

Inputs by operation

Google Drive Document Create Action · approval required
Inputs for Google Drive Document Create
InputRequirementAccepted value
titleRequiredstringMinimum characters: 1Maximum characters: 512
Directory Get User Read
Inputs for Directory Get User
InputRequirementAccepted value
user_keyRequiredstringMinimum characters: 1Maximum characters: 254
Directory Suspend User Action · approval required
Inputs for Directory Suspend User
InputRequirementAccepted value
suspendedRequiredboolean
user_idRequiredstringMinimum characters: 1Maximum characters: 128
Sheets Values Get Read
Inputs for Google Sheets Values Get
InputRequirementAccepted value
major_dimensionOptionalstring; one of: ROWS, COLUMNS
rangeRequiredstringMinimum characters: 1Maximum characters: 512
spreadsheet_idRequiredstringMinimum characters: 1Maximum characters: 1024
value_render_optionOptionalstring; one of: FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA
Drive Files List Read
Inputs for Google Drive Files List
InputRequirementAccepted value
order_byOptionalstringMinimum characters: 1Maximum characters: 64
page_sizeOptionalintegerMinimum: 1Maximum: 100
page_tokenOptionalstringMinimum characters: 1Maximum characters: 2048
queryOptionalstringMinimum characters: 1Maximum characters: 1024
Drive Files Get Read
Inputs for Google Drive Files Get
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 1024
Drive Files Export Read
Inputs for Google Drive Files Export
InputRequirementAccepted value
file_idRequiredstringMinimum characters: 1Maximum characters: 1024
mime_typeRequiredstring; one of: text/plain, text/csv, text/markdown, text/html
Gmail Messages List Read
Inputs for Google Gmail Messages List
InputRequirementAccepted value
label_idsOptionalarrayMaximum items: 10
max_resultsOptionalintegerMinimum: 1Maximum: 50
page_tokenOptionalstringMinimum characters: 1Maximum characters: 2048
queryOptionalstringMinimum characters: 1Maximum characters: 1024
Gmail Messages Get Read
Inputs for Google Gmail Messages Get
InputRequirementAccepted value
formatOptionalstring; one of: metadata, full, minimal
message_idRequiredstringMinimum characters: 1Maximum characters: 256
Calendar Events List Read
Inputs for Google Calendar Events List
InputRequirementAccepted value
calendar_idOptionalstringMinimum characters: 1Maximum characters: 1024
max_resultsOptionalintegerMinimum: 1Maximum: 250
order_byOptionalstring; one of: startTime, updated
page_tokenOptionalstringMinimum characters: 1Maximum characters: 2048
qOptionalstringMinimum characters: 1Maximum characters: 512
single_eventsOptionalboolean
time_maxOptionalstringMinimum characters: 1Maximum characters: 64
time_minRequiredstringMinimum characters: 1Maximum characters: 64
Directory List Users Read
Inputs for Directory List Users
InputRequirementAccepted value
customerRequiredstringMinimum characters: 1Maximum characters: 64
maxResultsOptionalintegerMinimum: 1Maximum: 500
pageTokenOptionalstringMinimum characters: 1Maximum characters: 2048
projectionOptionalstring; one of: basic, fullMinimum characters: 1Maximum characters: 8
queryOptionalstringMinimum characters: 1Maximum characters: 512
Directory Sign Out User Action · approval required
Inputs for Directory Sign Out User
InputRequirementAccepted value
userKeyRequiredstringMinimum characters: 1Maximum characters: 320
Directory List User Tokens Read
Inputs for Directory List User Tokens
InputRequirementAccepted value
userKeyRequiredstringMinimum characters: 1Maximum characters: 320
Cloud Identity List Policies Read
Inputs for Cloud Identity List Policies
InputRequirementAccepted value
filterOptionalstringMinimum characters: 1Maximum characters: 512
pageSizeOptionalintegerMinimum: 1Maximum: 100
pageTokenOptionalstringMinimum characters: 1Maximum characters: 2048
Directory List Domains Read
Inputs for Directory List Domains
InputRequirementAccepted value
customerRequiredstringMinimum characters: 1Maximum characters: 64
Reports List Activities Read
Inputs for Reports List Activities
InputRequirementAccepted value
applicationNameRequiredstring; one of: access_transparency, admin, calendar, chat, drive, gcp, gmail, groups, groups_enterprise, login, meet, mobile, rules, saml, token, user_accounts, context_aware_access, chrome, keep, vault, gemini_in_workspace_apps, classroom, directory_sync, ldap, access_evaluation
endTimeRequiredstringMinimum characters: 20Maximum characters: 40
eventNameOptionalstringMinimum characters: 1Maximum characters: 128
maxResultsOptionalintegerMinimum: 1Maximum: 500
pageTokenOptionalstringMinimum characters: 1Maximum characters: 2048
startTimeRequiredstringMinimum characters: 20Maximum characters: 40
Directory Revoke User Token Action · approval required
Inputs for Directory Revoke User Token
InputRequirementAccepted value
clientIdRequiredstringMinimum characters: 1Maximum characters: 256
userKeyRequiredstringMinimum characters: 1Maximum characters: 320

When the Google Workspace task does not produce the expected result

Connected, but the expected data is missing

Check the identity behind the oauth connection and its access to the specific resource; a successful connection does not establish access to every object.

Resolve parent resources first: Directory groups. A matching display name is not enough for a child lookup.

The answer covers only part of the data

Check the resource’s page coverage, query filters, and result limit, and have the agent state the account and time window it inspected, so a partial response yields a scoped answer.

The agent keeps doing the same work

Inspect the action history for repeated targets and inputs, keep the successful result’s identifiers with the task, and refresh a lookup only when the information changed.

A change is waiting or failed

Check whether the call awaits approval, was rejected by policy, lacks an input, or failed at the provider, and after a timeout inspect the destination before repeating a write.

See how an action proceeds and how to review an approval.

Questions about the Google Workspace connector

Can I use my existing agent with Google Workspace?

Yes: connect your agent to Deixic through MCP, choose which connected tools it can use, and Deixic checks calls routed through its gateway; Dex is available if your team also wants an agent.

Can an agent change data in Google Workspace?

This connector supports 6 actions, listed on its overview page. Configure a connection and choose the tools and provider permissions your task needs; an available action is not permission for every agent to run it, and Deixic policy and any required approval still apply to calls through the gateway.

What do I need to connect Google Workspace?

Prepare Client ID, Client secret, Access token, Refresh token; the connection uses OAuth, and the connected identity’s provider permissions determine which resources it can access.

Does connecting Google Workspace keep every answer up to date?

No: an earlier answer is still an earlier answer, so for a decision that depends on current state, have the agent refresh the source and retain the lookup time, and save stable instructions separately from facts that can change.