Skip to content

Google Workspace

Connecting Google Workspace gives Legal Plant a place to store case documents in Google Drive and a way to collect case email from Gmail. The connection is made once for the organization, then each person consents the first time they use a Google-powered feature.

You need a Google Workspace administrator who can create OAuth credentials, and a proper Google Workspace plan if you want shared drives. From the Google side you need:

  • A client ID and client secret.
  • The redirect URI shown in the Legal Plant setup window, registered exactly as displayed.
  • These scopes: gmail.readonly, drive and userinfo.profile.

Register the redirect URI in the Google console before saving the integration, or consent will fail.

  1. Open Settings → Apps.
  2. On Google integration, move the slider.
  3. Enter the client ID and client secret.
  4. Save. Legal Plant sends you to sign in again and confirm permissions.

Once enabled, the Google Drive and Gmail cards become available.

Move the Google Drive slider and pick one of three storage shapes:

Option What happens
Use shared Google Drive for each client Legal Plant creates a shared drive per client. Requires a Google Workspace plan that allows shared drives.
Use existing shared Google Drive Client folders are created inside a shared drive you already have. The drive ID is required.
Use a specific folder on Google Drive Client folders are created as subfolders. A folder ID is required; add a drive ID too if the folder lives on a shared drive.

An optional Google Drive id or Google folder id for cases sets where case folders go. Leave it empty and Legal Plant creates the folder for you. Folder creation can fail if the account cannot create shared drives, if the IDs are wrong, or if the drive’s permissions do not allow Legal Plant to manage it.

With Gmail enabled, a case’s messages view has two tabs. Messages holds the email threads the case team has added to the case. Suggestions lists threads from your inbox that mention the client or case contact, which you can include or reject. If the thread you want is not suggested, search for it — the search covers all mail, not just the suggested set.

Document templates can produce files in the connected Drive. Generating from a template offers a Drive destination, and a successful generation reports that the document was created in Google Drive.

The first time a person uses Drive or Gmail, Google asks them to confirm access. Legal Plant warns that saving the integration will sign them out and ask them to sign in again and confirm permissions. That prompt is expected; it is how each person grants access to their own Google account.

If Google access breaks — a revoked permission, a changed password, an expired session — Legal Plant reports token issues and offers a reset link. You can also run Reset Google token from the Google integration card in Settings → Apps. Resetting clears the stored access and sends the next use back through consent.

See Troubleshooting for token and folder problems.