Suger

Google Drive

Allow Suger to manage your Google Drive seamlessly, including creating, deleting, updating, and sharing files and folders.


Overview

Google Drive is a versatile cloud storage and collaboration platform provided by Google. It offers users the ability to store, share, and collaborate on files and folders securely. With features like real-time editing, version history, and robust sharing options, Google Drive is a powerful tool for individuals and teams alike.

By integrating Suger with Google Drive, you can streamline document management processes, automate tasks such as file organization, access control, and notifications, enabling efficient workflow automation tailored to your specific needs.

Org-Level vs User-Level

  • Org-Level: Uses a service account for company-wide Google Drive access. Suitable when you need Suger to manage files across the organization’s shared Drive.

  • User-Level: Uses OAuth for personal Google Drive access. Suitable when each user needs to connect their own personal Drive account to Suger.

Create Integration (Org-Level)

  1. Create a service account in your target GCP project for Google Drive integration.
  2. Create the service account key, and download the associated JSON file.
  3. Store the content of the key JSON file within the Suger console integration page.
  4. Share files and folders in your Google Drive with the service account email address. If you want to grant Suger to create or update files, the service account needs to have necessary permissions.

Create User Integration

Use user-level integration when each user needs to connect their personal Google Drive account.

  1. Click Connect Now button in the User Integrations section
  2. You will be redirected to Google to authorize
  3. Click Allow to grant Suger permission to access your Google Drive
  4. Return to Suger to confirm connection
  5. Verify the integration works

Suger AI Tools

Suger AI uses a middleware strategy — wrapping the Google Drive API directly.

Org-level and user-level: Both integration levels are supported. User-level takes precedence when both are connected.

Files

ToolDescription
googledrive_get_aboutGet the authenticated user’s Drive account info and storage quota
googledrive_search_filesSearch for files using Drive query syntax
googledrive_list_recent_filesList recently modified files
googledrive_get_file_metadataGet metadata for a file (name, type, size, owner, web link)
googledrive_read_file_contentRead the text content of a file
googledrive_create_fileCreate a new file (supports converting to Google Docs/Sheets/Slides)
googledrive_create_folderCreate a new folder
googledrive_update_file_contentOverwrite the contents of an existing file
googledrive_update_file_metadataRename, move, or update description of a file
googledrive_copy_fileMake a copy of an existing file
googledrive_trash_fileMove a file to Trash
googledrive_untrash_fileRestore a trashed file
googledrive_list_shared_drivesList shared drives (Team Drives)

Sharing & Permissions

ToolDescription
googledrive_list_permissionsList who has access to a file
googledrive_share_fileShare a file with a user, group, domain, or everyone
googledrive_update_permissionChange the role of an existing share
googledrive_unshare_fileRevoke a share

Comments & Replies

ToolDescription
googledrive_list_commentsList comments on a file
googledrive_create_commentAdd a comment to a file
googledrive_update_commentEdit the text of an existing comment
googledrive_delete_commentDelete a comment
googledrive_list_repliesList replies under a comment
googledrive_create_replyReply to a comment (supports resolve/reopen)
googledrive_delete_replyDelete a reply

Revisions

ToolDescription
googledrive_list_revisionsList the version history of a file

Edit Integration

Editing an existing Google Drive integration is not supported. The practical way is to delete it and then re-create it from beginning.

Delete Integration

The Google Drive integration can be deleted like all other integrations. Once the deletion is triggered, all integration info including the service account with the key will be deleted immediately & permanently from Suger. No time window or methods to recover.