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.
Before you start
Section titled “Before you start”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,driveanduserinfo.profile.
Register the redirect URI in the Google console before saving the integration, or consent will fail.
Enable Google Workspace
Section titled “Enable Google Workspace”- Open Settings → Apps.
- On Google integration, move the slider.
- Enter the client ID and client secret.
- Save. Legal Plant sends you to sign in again and confirm permissions.
Once enabled, the Google Drive and Gmail cards become available.
Choose where Drive documents go
Section titled “Choose where Drive documents go”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.
Gmail case messages
Section titled “Gmail case messages”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.
Templates and generated documents
Section titled “Templates and generated documents”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.
Consent on first use
Section titled “Consent on first use”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.
When the token reports issues
Section titled “When the token reports issues”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.