Google Drive Integration
Connect Google Drive to Arahi's no-code AI agents and automate workflows in minutes.
About the Google Drive integration
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere. With Arahi AI, you can connect Google Drive to AWS, Box, Dropbox and 1,500+ other apps using AI-powered workflows. No coding required — set up triggers, actions, and intelligent automation in minutes.
- Category
- File Storage & Cloud
- Authentication
- oauth
Google Drive automation use cases
- Email attachment → archive
- Save attachments from Gmail or Outlook into the right Google Drive folder with auto-tagged naming.
- Document approval workflow
- Route new Google Drive uploads through a review and approval chain before they're shared externally.
- Backup with retention
- Back up critical data to Google Drive nightly with age-based retention — no manual cleanup sweep.
- Public-link expiry
- Expire public Google Drive share links after N days automatically so nothing stays exposed.
Google Drive workflow examples
- Auto-file new contracts
When File Created fires in a Drive inbox folder, detect the contract type with OpenAI and Move it into the right client folder with a Slack note.
File Created in Inbox -> OpenAI classification -> moved and Slack alert.
- Shared-file security audit
The File Shared (Permissions Added) trigger flags sensitive folders and logs external shares as rows in a Google Sheets audit tab.
External share detected -> row appended to Security Audit sheet.
- Client folder scaffolding
On a new HubSpot deal closing, run Create a folder and Create Shortcut to File/Folder to build a templated client workspace in Drive.
HubSpot deal won -> Drive folder tree built from template.
Google Drive triggers
- Comment Added (Docs/Sheets/Slides)
- Triggers when a new comment is added to Google Docs, Sheets, or Slides.
- File Created
- Triggers when a new file is created/added in Google Drive.\ This trigger monitors files and fires when new files are detected.
- File Deleted or Trashed
- Triggers when a file is moved to trash or permanently deleted in Google Drive.
- File Shared (Permissions Added)
- Triggers when new sharing permissions are granted to a file or folder in Google Drive.\ \ This trigger monitors the Drive Changes API to detect files that changed and, for those files,\ compares their current permissions against previously seen permissions to identify newly\ added sharing entries.
- File Updated
- Triggers when a file's metadata or content changes in Google Drive.\ Emits file ID, modification timestamp, and editor info.
- Google Drive Changes
- Triggers when changes are detected in a Google Drive.
- New File Matching Query
- Triggers when a new Google Drive file matches a provided query.
Google Drive actions
- Add file sharing preference
- Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.
- Copy file
- Duplicates an existing file in google drive, identified by its `file id`.
- Create Comment
- Tool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.
- Create Shared Drive
- Tool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.
- Create File or Folder
- Creates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).
- Create a File from Text
- Creates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.
- Create a folder
- Creates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.
- Create Reply
- Tool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.
- Create Shortcut to File/Folder
- Tool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.
- Delete Comment
- Deletes a comment from a file. use when you need to remove a specific comment from a google drive file.
- Delete Shared Drive
- Tool to permanently delete a shared drive. use when you need to remove a shared drive and its contents (if specified).
- Delete Permission
- Deletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.
- Delete Reply
- Tool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.
- Download a file from Google Drive
- Downloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified `mime type`. for other file types, downloads in their native format regardless of mime type.
- Edit File
- Updates an existing google drive file by overwriting its entire content with new text (max 10mb).
- Empty Trash
- Tool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.
- Modify File Labels
- Modifies the set of labels applied to a file. returns a list of the labels that were added or modified. use when you need to programmatically change labels on a google drive file, such as adding, updating, or removing them.
- Find file
- Tool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.
- Find folder
- Tool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.
- Generate File IDs
- Generates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.
- Get about
- Tool to retrieve information about the user, the user's drive, and system capabilities. use when you need to check storage quotas, user details, or supported import/export formats.
- Get Changes Start Page Token
- Tool to get the starting pagetoken for listing future changes in google drive. use this when you need to track changes to files and folders.
- Get Comment
- Tool to get a comment by id. use when you need to retrieve a specific comment from a google drive file and have both the file id and comment id.
- Get Shared Drive
- Tool to get a shared drive by id. use when you need to retrieve information about a specific shared drive.
- Get File Metadata
- Tool to get a file's metadata by id. use when you need to retrieve the metadata for a specific file in google drive.
- Get Permission
- Gets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.
- Get Reply
- Tool to get a specific reply to a comment on a file. use when you need to retrieve the details of a particular reply.
- Get Revision
- Tool to get a specific revision's metadata by revision id. use when you need to retrieve information about a particular version of a file.
- Delete folder or file
- Tool to delete a file or folder in google drive. use when you need to permanently remove a specific file or folder using its id. note: this action is irreversible.
- Hide Shared Drive
- Tool to hide a shared drive from the default view. use when you want to remove a shared drive from the user's main google drive interface without deleting it.
- List Changes
- Tool to list the changes for a user or shared drive. use when you need to track modifications to files and folders, such as creations, deletions, or permission changes. this action requires a `pagetoken` which can be initially obtained using the `get changes start page token` action or from a previous `list changes` response.
- List Comments
- Tool to list all comments for a file in google drive. use when you need to retrieve comments associated with a specific file.
- List File Labels
- Tool to list the labels on a file. use when you need to retrieve all labels associated with a specific file in google drive.
- List Files and Folders
- Tool to list a user's files and folders in google drive. use this to search or browse for files and folders based on various criteria.
- List Permissions
- Tool to list a file's permissions. use when you need to retrieve all permissions associated with a specific file or shared drive.
- List Replies to Comment
- Tool to list replies to a comment in google drive. use this when you need to retrieve all replies associated with a specific comment on a file.
- List File Revisions
- Tool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.
- List Shared Drives
- Tool to list the user's shared drives. use when you need to get a list of all shared drives accessible to the authenticated user.
- Move File
- Tool to move a file from one folder to another in google drive. use when you need to reorganize files by changing their parent folder(s).
- Stop Watch Channel
- Tool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.
- Unhide Shared Drive
- Tool to unhide a shared drive. use when you need to restore a shared drive to the default view.
- Untrash File
- Tool to restore a file from the trash. use when you need to recover a deleted file. this action updates the file's metadata to set the 'trashed' property to false.
- Update Comment
- Tool to update an existing comment on a google drive file. use when you need to change the content or status (e.g., resolve) of a comment.
- Update Shared Drive
- Tool to update the metadata for a shared drive. use when you need to modify properties like the name, theme, background image, or restrictions of a shared drive.
- Update File (Metadata)
- Updates file metadata. uses patch semantics (partial update) as per google drive api v3. use this tool to modify attributes of an existing file like its name, description, or parent folders. note: this action currently supports metadata updates only. file content updates require multipart/related upload and are not yet implemented.
- Update File Revision Metadata
- Updates metadata of a file revision (e.g., keepforever, publish). use this tool to modify the metadata of a specific revision of a file in google drive.
- Update Permission
- Tool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.
- Update Reply
- Tool to update a reply to a comment on a google drive file. use when you need to modify the content of an existing reply.
- Upload File
- Uploads a file (max 5mb) to google drive, moving it to a specified folder if a valid folder id is provided, otherwise uploads to root.
- Watch Drive Changes
- Tool to subscribe to changes for a user or shared drive in google drive. use when you need to monitor a google drive for modifications and receive notifications at a specified webhook url.