Google Workspace integration

Connect Google Workspace to give Agents access to Gmail, Google Docs, and Google Sheets. Google Workspace is available as a set of Agent tools, not as Flow steps.

Connecting Google Workspace

Google Workspace is connected by providing an OAuth access token from the Google Cloud Console. There is no in-product “Sign in with Google” redirect.

  1. In the Google Cloud Console, create OAuth 2.0 credentials and obtain an access token (and optionally a refresh token) with Gmail, Docs, and Sheets scopes.
  2. In Runtype, go to Settings → Integrations.
  3. Find Google Workspace and click Configure.
  4. Paste the access token (and optional refresh token), then click Save.

Available tools

Once connected, the following tools are available to Agents:

Gmail

  • gmail_send — Send an email
  • gmail_search — Search for emails (supports Gmail search operators)
  • gmail_read — Read a specific email by ID
  • gmail_create_draft — Create an email draft

Google Docs

  • docs_create — Create a new Google Doc
  • docs_read — Read content from a Google Doc
  • docs_append — Append content to a Google Doc

Google Sheets

  • sheets_read — Read data from a Google Sheet (A1 notation ranges)
  • sheets_write — Write data to a Google Sheet
  • sheets_create — Create a new Google Sheet

Enable these tools when configuring an Agent.

Permissions and scopes

Runtype requests minimum necessary permissions:

  • Gmail: Send, search, and read emails on your behalf
  • Docs: Create, read, and append to documents
  • Sheets: Read, write, and create spreadsheets

Revoke access anytime in Google Account settings.

Google Workspace integration uses OAuth, so Runtype never stores your Google password. You can disconnect at any time without affecting other Google services.

Disconnecting Google

  1. Go to Settings → Integrations → Google Workspace and clear the saved credentials.
  2. To fully revoke the token, also remove it in Google Account → Security → Third-party apps.

Next steps