Skip to content
Zanbase

Integrations

Google Workspace

Browse Google files, mail and events, and authorize Zanbase Agent and automations to write through a workspace connection.

What you can do

Browse Drive files, Google Docs, Gmail messages and Google Calendar events when choosing an external reference in Zanbase. Your personal connection also brings Gmail messages into Mail and Google Calendar events into the workspace calendar.

A separate workspace connection lets Zanbase Agent and automations create Calendar events, Google Docs and Drive files with text content, append rows to an existing Google Sheet, create Gmail drafts and send email. For example, ask Zanbase Agent to create a Google Doc with a report’s text, or write an automation that appends values to a spreadsheet.

Permissions and privacy

Each person grants their own read access. A workspace admin grants the write permissions the team needs. Zanbase stores the connected account’s identifier, label and granted permissions, with access and refresh tokens encrypted. Signing in with Google is separate from granting these permissions.

Open Settings, then Connected apps. Under Connected accounts, select Disconnect beside the account and confirm Disconnect. Only its owner can disconnect a personal connection; workspace connections require an admin. Read the result: if withdrawing access at Google fails, remove the grant in your Google account settings too.

Good to know

Writes run as queued jobs. In chat, review the action before approving it. An enabled automation runs its configured actions without that chat prompt; create its rule with the intended account and destination in mind.

Capabilities and permissions

  • Reads: Browse Drive, Google Docs, Gmail and Google Calendar; view your Gmail inbox and Google Calendar events inside Zanbase. Each person connects their own account.
  • Writes: Create Google Calendar events through Zanbase Agent and automations. A workspace admin connects the workspace account.
  • Writes: Create Google Docs and append rows to existing Google Sheets through Zanbase Agent and automations. A workspace admin connects the workspace account.
  • Writes: Create Drive files with text content through Zanbase Agent and automations. A workspace admin connects the workspace account.
  • Writes: Create Gmail drafts and send email through Zanbase Agent and automations. A workspace admin connects the workspace account.

Setup

  1. Open Settings, then Connected apps, and find Google under Connected accounts.
  2. Under For you, turn on Read Drive, Gmail & Calendar, then select Grant 1 permission. Complete Google authorization and return to Zanbase.
  3. For workspace writes, a workspace admin opens For the whole workspace and selects the permissions needed: Write Calendar events, Write Docs & Sheets, Write Drive files, or Compose & send Gmail.
  4. Select Grant 1 permission for one selected permission, or Grant 2 permissions, Grant 3 permissions, or Grant 4 permissions for that many. Complete Google authorization.
  5. Return to Connected accounts and check that the requested permissions show Granted.

Products used

Related resources

Create an automation

Choose when an automation runs, add conditions and actions, and save its rule.

GitHub

Ask Zanbase Agent or an automation to create a GitHub issue or post a comment through a workspace connection.

Search Zanbase