Integrations•5 min read

Google Workspace & Gmail Integration Setup Guide

Connect your Google Workspace or Gmail account to Valstorm so you and your Valstorm AI assistant can read and send emails, manage Google Calendar and Google Meet links, and access Google Drive files and Docs.


How Valstorm Connects to Google Workspace & Gmail

  • Personal User Scope Only: Google Workspace & Gmail uses Personal User Scope (1-click OAuth 2.0). There is no Organization-level API key or shared company credential to configure — each team member connects their own Google account individually.
  • Private & Encrypted Credentials: Your OAuth access and refresh tokens are encrypted at rest and isolated strictly to your Valstorm user account. Teammates cannot read your inbox, calendar, or Drive through your connection, and Valstorm automatically refreshes tokens in the background.
  • No Domain-Wide Delegation Required: Connecting your account does not require sharing your Google password or setting up a Google Cloud project.

Prerequisites

  • An active Google Workspace or personal Gmail account.
  • A Valstorm user login (any team member can connect their own account).

Important — Google Workspace Organization Admin Approval Disclaimer:
If your company manages Google Workspace and restricts third-party app access, Google may block sign-in until your Google Workspace Administrator allows Valstorm.
If you see an admin-policy block during sign-in, ask your Google Workspace Admin to:

  1. Open Google Admin Console → Security → Access and data control → API controls → Manage Third-Party App Access.
  2. Search for Valstorm (or request Valstorm's OAuth Client ID from Valstorm Support if your admin prefers adding apps by Client ID).
  3. Mark Valstorm as Trusted (or Specific Google data for Gmail, Calendar, Drive, and Docs) for your organizational unit or group.

Step 1: Start the Connection in Valstorm

  1. In Valstorm, open Command Center → Integrations → User Scope.
  2. Locate the Google Workspace & Gmail card.
  3. Click Connect Google Workspace (you can also start the flow from AI Chat by typing /connect gmail).

Valstorm opens Google's official OAuth sign-in screen in a popup window.


Step 2: Sign In & Approve Permissions on Google

  1. Choose the Google account you want to connect to Valstorm and sign in.
  2. Review the Google permissions screen (Valstorm wants to access your Google Account) and make sure the permissions you want Valstorm to use are checked:
Google ServicePermission RequestedWhat It Enables in Valstorm
Account IdentityEmail address & basic profileLinks your Google email address to your Valstorm user connection
GmailRead, compose, send, and manage labelsView threads, send replies, and organize labels
Google Calendar & MeetView and edit calendar eventsCheck availability, schedule events, and create Google Meet links
Google Drive & DocsView and manage Drive files and DocsSearch Drive files, read/export Docs, and organize folders
  1. Click Continue (or Allow) to complete authorization.

Tip — Granular Checkboxes: Google lets you individually check or uncheck permissions on the consent screen. Leaving a service unchecked (for example, Google Drive or Calendar) will prevent Valstorm from accessing that specific service until you re-authenticate and grant it.


Step 3: Verify Connection & Manage Security Access

  1. After Google redirects back to Valstorm, the Google Workspace & Gmail card under Command Center → Integrations → User Scope updates to Connected and displays your linked email address.
  2. Refreshing or Updating Permissions: Click Re-authenticate on the Google Workspace & Gmail card at any time if you need to re-consent, grant additional checkboxes, or switch Google accounts.
  3. Revoking Access: You can also revoke Valstorm's access directly from Google at any time via Google Account → Security → Your connections to third-party apps & services → Valstorm → Delete all connections.

Troubleshooting

IssueWhat to Check
Error 400: admin_policy_enforced / "Access blocked by your organization's admin"Your Google Workspace organization restricts third-party OAuth apps. Ask your Google Workspace Admin to trust Valstorm under Google Admin Console → Security → Access and data control → API controls → Manage Third-Party App Access (search for Valstorm, or ask Valstorm Support for Valstorm's OAuth Client ID if needed).
Google shows "Google hasn't verified this app"If you encounter this warning screen while Google's restricted-scope verification is pending or for certain accounts, click Advanced → Go to valstorm.com (unsafe) if permitted by your organization, or ask your Google Workspace Admin to mark Valstorm as a Trusted app under Manage Third-Party App Access.
403 Forbidden or a specific tool (Gmail, Calendar, Drive, or Docs) is deniedOne or more permission checkboxes were left unchecked on the Google consent screen, or that service is disabled for your Google Workspace account. Click Re-authenticate on the Google Workspace & Gmail card and check all required permissions.
401 Unauthorized / Connection expired or revokedYour Google refresh token was revoked, your Google password changed, or your org's session policy expired the token. Click Re-authenticate under Command Center → Integrations → User Scope → Google Workspace & Gmail.
Sign-in window doesn't open or gets stuckConfirm your browser allows popups for Valstorm, then retry clicking Connect Google Workspace.

Need help? You can also view this setup overview inside Valstorm at Command Center → Integrations → User Scope → Google Workspace & Gmail → Details, or ask your Valstorm AI assistant to walk you through connecting or verifying Google Workspace.