---
title: "Connect OneDrive and Google Drive - APIANT.ai"
description: "When \"OneDrive Folder Created Trigger\" fires in OneDrive, your agent runs \"Create Folder\" in Google Drive."
canonical: "https://apiant.ai/connect/onedrive-to-google-drive"
---

# Connect OneDrive and Google Drive

When **OneDrive Folder Created Trigger** fires in [OneDrive](https://apiant.ai/connections/onedrive), your agent runs **Create Folder** in [Google Drive](https://apiant.ai/connections/google-drive), or **File Created** in Google Drive to **Update File Content** in OneDrive. Describe the whole flow and it is built, tested on every scenario and kept running.

OneDrive **9** triggers OneDrive **87** actions Google Drive **7** triggers Google Drive **85** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want OneDrive and Google Drive to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Teams often keep working files in Google Drive while the rest of the company stores things in OneDrive. Connecting the two lets a new Google Drive file land in the right OneDrive folder, a trashed file be removed on both sides, and folders or sharing set in one place show up in the other, without anyone copying files by hand.

Example flows

## What OneDrive and Google Drive can do together

### From OneDrive to Google Drive

- When **OneDrive Folder Created Trigger** in OneDrive then **Create Folder** in Google Drive
- When **Sharing Permission Added or Removed** in OneDrive then **Add File Sharing Preference** in Google Drive

### From Google Drive to OneDrive

- When **File Created** in Google Drive then **Update File Content** in OneDrive
- When **File Deleted or Trashed** in Google Drive then **Delete Item** in OneDrive

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with OneDrive and Google Drive

## Triggers and actions 16 triggers · 172 actions

- Trigger

**File Updated**

Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.

- Trigger

**Item Moved or Renamed**

Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.

- Trigger

**New Version Created**

Trigger that fires when a new version of a specified OneDrive file is created.

- Trigger

**Onedrivebasetrigger**

Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.

- Trigger

**OneDrive File Created Trigger**

Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Folder Created Trigger**

Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Item Deleted Trigger**

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

- Trigger

**OneDrive Item Updated Trigger**

Triggers when an existing file or folder is modified in OneDrive. Uses Gmail-style state management and only detects actual modifications, not new creations.

- Trigger

**Sharing Permission Added or Removed**

Sharing Permission Added or Removed

- Action

**Add Workbook Worksheet**

Adds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.

- Action

**Checkin Item**

Tool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.

- Action

**Checkout Item**

Tool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.

- Action

**Clear Workbook Range**

Clears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.

- Action

**Close Workbook Session**

Close an Excel workbook session without deleting the workbook.

- Action

**Copy Item**

Tool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy progress.

- Action

**Create Item Permission**

Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.

- Action

**Create Link**

Tool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.

- Action

**Create Sharepoint List Item**

Create an item in a SharePoint list using Microsoft Graph through the OneDrive connection. Use when you need to add a new row/item to a SharePoint list after resolving the site ID and list ID.

- Action

**Create Workbook Session**

Create a persistent or temporary session for an Excel workbook.

- Action

**Delete Item**

Tool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.

- Action

**Delete Item Permanently**

Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.

- Action

**Delete Item Permission**

Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.

- Action

**Delete Share Permission**

Tool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.

- Action

**Delete Sharepoint Item Permission**

Revoke a Microsoft Graph beta permission from a SharePoint list or list item.

- Action

**Delete Workbook Range**

Deletes a range of cells from a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to remove a specific cell range and shift the remaining cells to fill the gap. This action is irreversible — the deleted range cannot be recovered once removed. The operation requires Files.ReadWrite scope and the workbook must not be locked by another user or process.

- Action

**Delete Workbook Worksheet**

Deletes a worksheet from a workbook in OneDrive by its ID or name. Use this action when you need to remove a specific worksheet from an Excel workbook stored in OneDrive or SharePoint. This action is irreversible — the worksheet cannot be recovered once deleted. Note that deleting the last visible worksheet in a workbook may result in an error.

- Action

**Download File**

Downloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.

- Action

**Download File By Path**

Downloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.

- Action

**Download Item As Format**

Tool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.

- Action

**Download Item Version**

Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.

- Action

**Download Thumbnail By Path**

Download thumbnail image bytes for a path-addressed item in the current user's OneDrive.

- Action

**Follow Item**

Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.

- Action

**Format Workbook Range**

Apply dimensions, alignment, wrapping, font, fill, and borders to a workbook range. Components are updated sequentially, not atomically, so earlier formatting remains if a later update fails.

- Action

**Get Drive**

Retrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.

- Action

**Get Drive Item By Sharing Url**

Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.

- Action

**Get Drive Item List Item**

Retrieve the SharePoint list item associated with a driveItem.

- Action

**Get Followed Item**

Tool to retrieve a specific followed driveItem from a drive. Use when you need to get details about a file or folder that the user has marked to follow.

- Action

**Get Item**

Retrieves the metadata of a driveitem by its unique id. use this tool to get information about a specific file or folder in onedrive when you have its id. if a `drive id` is not provided, it defaults to the user's main drive.

- Action

**Get Item By Path**

Retrieve OneDrive or SharePoint driveItem metadata by drive-relative path.

- Action

**Get Item Permissions**

Retrieves the permissions of a driveitem by its unique id or path within a specific drive. use when you need to check who has access to a file or folder and what level of access they have.

- Action

**Get Item Thumbnails**

Tool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.

- Action

**Get Item Versions**

Tool to retrieve the version history of a driveitem by its unique id. use when you need to access or list previous versions of a file.

- Action

**Get Quota**

Tool to retrieve the quota information for the authenticated user's onedrive. use this action to check the storage space details like total, used, and remaining space on the user's onedrive.

- Action

**Get Recent Items**

Retrieves a list of items that have been recently used by the authenticated user. this tool is useful when you need to access or display files and folders that the user has interacted with recently across their onedrive and accessible shared drives.

- Action

**Get Share**

Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.

- Action

**Get Shared Items**

Tool to retrieve a list of items that have been shared with the authenticated user. use this action to get details of files and folders shared with the current user.

- Action

**Get Sharepoint List Items**

Tool to get the items (list items) within a specific sharepoint list on a site. use when you need to retrieve data from a sharepoint list.

- Action

**Get Site**

Retrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.

- Action

**Get Site Details**

Retrieves metadata for a specific sharepoint site by its id. use this action when you need to get details like display name, web url, and creation/modification dates for a known sharepoint site.

- Action

**Get Site Page Content**

Gets the content of a modern sharepoint site page. use when you need to retrieve the details and content of a specific page within a sharepoint site.

- Action

**Get Special Folder**

Tool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.

- Action

**Get Workbook Range Fill**

Read the fill color applied to an Excel worksheet range.

- Action

**Get Workbook Used Range**

Retrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.

- Action

**Get Workbook Worksheet**

Retrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.

- Action

**Grant Share Permission**

Tool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.

- Action

**Grant Sharepoint Item Permission**

Grant an application permission on a SharePoint list or list item using Microsoft Graph beta.

- Action

**Inspect Workbook Table**

Read a workbook table's occupied range and one page of its columns.

- Action

**Invite User To Drive Item**

Tool to invite users or grant permissions to a specific item in a onedrive drive. use when you need to share a file or folder with other users and define their access level (e.g., read or write).

- Action

**List All Drive Items**

Lists a complete OneDrive or SharePoint drive safely, one Microsoft Graph delta page per invocation. Start without `page_token`, then pass each `next_page_token` back until `sync_complete` is true. The terminal `delta_token` can be saved and passed back later to fetch changes since the completed snapshot. Delta enumeration is stable under concurrent writes and avoids the request burst caused by recursively fetching every folder in one execution.

- Action

**List Drive Item Activities**

Tool to list recent activities for a specific item in a onedrive drive. use when you need to track changes or actions performed on a file or folder.

- Action

**List Drives**

Tool to retrieve a list of drive resources available to the authenticated user, or for a specific user, group, or site. use when you need to find out what drives are accessible.

- Action

**List Folder Children**

List the direct children (files/folders) of a OneDrive/SharePoint folder by DriveItem ID or path. Returns reliable pagination tokens for large folders. Use when you need to enumerate folder contents deterministically, find companion artifacts (e.g.,.vtt/.docx files), or browse within a known folder.

- Action

**List Item Activities**

Tool to list recent activities for a specific item in a OneDrive drive. Use when you need to track changes or actions performed on a file or folder.

- Action

**List Root Drive Changes**

Tool to list changes in the root of the user's primary drive using a delta token. use when you need to track file and folder modifications, additions, or deletions in the main onedrive directory.

- Action

**List Share Permissions**

Tool to retrieve permission details for a shared OneDrive or SharePoint item using a share ID. Use when you have an encoded sharing URL and need to check the permission level, password protection, and access details.

- Action

**List Sharepoint Item Permissions**

List Microsoft Graph beta permissions from a SharePoint list or list item.

- Action

**List Sharepoint List Items Delta**

Tool to track changes to items in a sharepoint list using a delta query. use when you need to get newly created, updated, or deleted list items without performing a full read of the entire item collection.

- Action

**List Site Columns**

Tool to list all column definitions for a sharepoint site. use this when you need to retrieve the schema or structure of columns within a specific sharepoint site.

- Action

**List Site Drive Items Delta**

Tool to track changes to driveitems in the default document library of a sharepoint site. use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.

- Action

**List Site Items Delta**

Tool to track changes to DriveItems in the default document library of a SharePoint site. Use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.

- Action

**List Site Lists**

Tool to list all lists under a specific sharepoint site. use when you need to enumerate lists within a known site.

- Action

**List Site Subsites**

Tool to list all subsites of a sharepoint site. use when you need to retrieve a collection of subsites for a given parent site.

- Action

**List Subscriptions**

Tool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.

- Action

**List Workbook Worksheets**

Retrieves a list of all worksheets in an Excel workbook stored in OneDrive or SharePoint. Returns worksheet metadata including IDs, names, positions, and visibility states. Use this action when you need to enumerate available worksheets in a workbook, find a specific worksheet by name, or understand the workbook structure before performing operations on worksheet data.

- Action

**Move Item**

Tool to move a file or folder to a new parent folder in onedrive. use when you need to reorganize your files or folders by changing their location. you can optionally rename the item during the move.

- Action

**Onedrive Create Folder**

Creates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.

- Action

**Onedrive Create Text File**

Creates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.

- Action

**Onedrive Find File**

Non-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.

- Action

**Onedrive Find Folder**

Finds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.

- Action

**Onedrive List Items**

Retrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.

- Action

**Onedrive Upload File**

Uploads a file to a specified onedrive folder, automatically renaming on conflict and supporting large files via chunking.

- Action

**Preview Drive Item**

Generates or retrieves a short-lived embeddable url for a preview of a specific item. use when you need to display a temporary preview of a file.

- Action

**Read Workbook Range**

Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').

- Action

**Restore Item Version**

Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.

- Action

**Search Drive Items**

Search OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.

- Action

**Search Items**

Searches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.

- Action

**Search Sharepoint Sites**

Search SharePoint sites visible to an organizational Microsoft account.

- Action

**Track Folder Changes**

Track changes beneath one folder, one Microsoft Graph delta page at a time.

- Action

**Unfollow Item**

Tool to unfollow a driveItem by removing it from the user's followed items collection. Use when you need to stop following a file or folder that was previously marked to follow.

- Action

**Update Drive Item Metadata**

Tool to update the metadata of a specific item (file or folder) in onedrive. use this to rename items, change descriptions, or move items to a new parent folder.

- Action

**Update File Content**

Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.

- Action

**Update Sharepoint Item Permission**

Update an application permission on a SharePoint list or list item using Microsoft Graph beta.

- Action

**Update Sharepoint List Item Fields**

Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.

- Action

**Update Workbook Range**

Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.

- Action

**Update Workbook Worksheet**

Updates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.

- Action

**Write Workbook Cell**

Updates the value, formula, or format of a specific cell in an Excel workbook stored in OneDrive. Use this action when you need to write data to a single cell at a specific row and column position. The row and column parameters are 0-indexed (row 0 is the first row, column 0 is column A).

- Trigger

**Comment Added (Docs/Sheets/Slides)**

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

- Trigger

**File Created**

Triggers when a new file is created in Google Drive.

- Trigger

**File Deleted or Trashed**

Triggers when a file is moved to trash or permanently deleted in Drive.

- Trigger

**File Shared (Permissions Added)**

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

- Trigger

**File Updated**

Triggers when a file's metadata or content changes in Google Drive.

- Trigger

**Google Drive Changes**

Triggers when changes are detected in a Google Drive.

- Trigger

**New File Matching Query**

Triggers when a new Google Drive file matches a provided query. This is the legacy query-centric trigger: it preserves Drive API query config such as ``corpora`` / ``driveId`` aliases and emits the historical ``file_matching_query`` event type. ``FileCreatedTrigger`` covers the broader "new file" case and emits ``file_created``.

- Action

**Add File Sharing Preference**

Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.

- Action

**Add Parent**

Tool to add a parent folder for a file using Google Drive API v2. Use when you need to add a file to an additional folder.

- Action

**Add Property**

Tool to add a property to a file, or update it if it already exists (v2 API). Use when you need to attach custom key-value metadata to a Google Drive file.

- Action

**Batch Get Spreadsheet Values**

Read multiple explicit ranges from one Google Spreadsheet in one request.

- Action

**Batch Update Spreadsheet Values**

Write values to multiple Google Sheets ranges in one batch request.

- Action

**Clear Spreadsheet Values**

Permanently clear values from one range while preserving formatting, notes, and validation.

- Action

**Copy File**

Duplicates an existing file in google drive, identified by its `file id`.

- Action

**Copy File Advanced**

Creates a copy of a file and applies any requested updates with patch semantics. Use when you need to duplicate a file with advanced options like label inclusion, visibility settings, or custom metadata.

- Action

**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.

- Action

**Create File**

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).

- Action

**Create 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.

- Action

**Create 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.

- Action

**Create Permission**

Tool to create a permission for a file or shared drive. Use when you need to share a file or folder with users, groups, domains, or make it publicly accessible. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.

- Action

**Create Permissions Batch**

Creates multiple permissions for files or shared drives in a single batch request. Use this action when you need to share multiple files with users, or share a single file with multiple users or groups simultaneously. Each permission in the batch can target a different file and specify different access levels. Batch operations are more efficient than creating permissions individually, with a maximum of 100 permissions per batch.

- Action

**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.

- Action

**Create Shortcut To File**

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.

- Action

**Delete Child**

Tool to remove a child from a folder using Google Drive API v2. Use when you need to remove a file from a specific folder.

- Action

**Delete Comment**

Deletes a comment from a file. use when you need to remove a specific comment from a google drive file.

- Action

**Delete Parent**

Tool to remove a parent from a file using Google Drive API v2. Use when you need to remove a file from a specific folder.

- Action

**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.

- Action

**Delete Property**

Tool to delete a property from a file using Google Drive API v2. Use when you need to remove custom key-value metadata from a file.

- Action

**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.

- Action

**Delete Revision**

Tool to permanently delete a file revision. Use when you need to remove a specific version of a binary file (images, videos, etc.). Cannot delete revisions for Google Docs/Sheets or the last remaining revision.

- Action

**Download File**

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.

- Action

**Download File Operation**

Tool to download file content using long-running operations. Use when you need to download Google Vids files or export Google Workspace documents as part of a long-running operation. Operations are valid for 24 hours from creation. Returns a response containing `downloaded_file_content.s3url` — a short-lived S3 URL; fetch the actual file bytes from that URL promptly after the call.

- Action

**Download File Revision**

Download the stored bytes of one blob-file revision. This action does not export Google Docs, Sheets, Slides, or other Workspace revisions. Use GOOGLEDRIVE_GET_REVISION to retrieve a Workspace revision's exportLinks, then download the selected export URL separately.

- Action

**Edit File**

Updates an existing google drive file by overwriting its entire content with new text (max 10mb).

- Action

**Empty Trash**

Tool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.

- Action

**Export Google Workspace File**

Exports a Google Workspace document to the requested MIME type and returns exported file content. Use when you need to export Google Docs, Sheets, Slides, Drawings, or Apps Script files to a specific format. Note: The exported content is limited to 10MB by Google Drive API.

- Action

**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.

- Action

**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.

- Action

**Generate 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.

- Action

**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.

- Action

**Get App**

Tool to get information about a specific Drive app by ID. Use 'self' as the app ID to get information about the calling app.

- Action

**Get Change**

Tool to get a specific change by ID from Google Drive v2 API. Deprecated: Use changes.getStartPageToken and changes.list to retrieve recent changes instead.

- Action

**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.

- Action

**Get Child**

Tool to get a specific child reference for a folder using Drive API v2. Use when you need to verify a specific file exists as a child of a folder.

- Action

**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.

- Action

**Get Document**

Retrieve a native Google Docs document's structured content and metadata by ID.

- Action

**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.

- Action

**Get File Property**

Tool to get a property by its key using Google Drive API v2. Use when you need to retrieve a specific custom property attached to a file.

- Action

**Get Form**

Retrieve a Google Form's definition, questions, settings, and publishing state by ID.

- Action

**Get Parent**

Tool to get a specific parent reference for a file using Drive API v2. Use when you need to retrieve information about a specific parent folder of a file.

- Action

**Get Permission**

Gets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.

- Action

**Get Permission Id For Email**

Tool to get the permission ID for an email address using the Drive API v2. Use when you need to convert an email address to its corresponding permission ID.

- Action

**Get Presentation**

Retrieve a Google Slides presentation and its complete page structures by ID.

- Action

**Get Presentation Page Thumbnail**

Generate one short-lived page thumbnail URL using an expensive Slides quota read.

- Action

**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.

- Action

**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.

- Action

**Get Spreadsheet**

Retrieve a Google Spreadsheet's structure, metadata, and selected grid data.

- Action

**Get Spreadsheet Values**

Read values from one range in a Google Spreadsheet.

- Action

**Google Drive Delete Folder Or File Action**

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.

- Action

**Insert Child**

Tool to insert a file into a folder using Drive API v2. Use when you need to add an existing file to a folder.

- Action

**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.

- Action

**List Children V2**

Tool to list a folder's children using Google Drive API v2. Use when you need to retrieve all files and folders within a specific folder.

- Action

**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.

- Action

**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.

- Action

**List File Properties**

Tool to list a file's properties in Google Drive API v2. Use when you need to retrieve custom properties (key-value pairs) attached to a file.

- Action

**List Files**

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.

- Action

**List Form Responses**

Return one page of submissions for a Google Form.

- Action

**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.

- Action

**List Replies**

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.

- Action

**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.

- Action

**List Revisions**

Tool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.

- Action

**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.

- Action

**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).

- Action

**Patch Permission**

Tool to update a permission using patch semantics. Use when you need to modify specific fields of an existing permission without affecting other fields. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.

- Action

**Patch Property**

Tool to update a property on a file using PATCH semantics (v2 API). Use when you need to partially update custom key-value metadata attached to a Google Drive file.

- Action

**Read Spreadsheet Values**

Read values from one or more ranges in a Google spreadsheet.

- Action

**Resumable Upload**

Tool to start and complete a Google Drive resumable upload session. Use for files larger than ~5 MB to avoid timeouts or size-limit failures. HTTP 308 means continue the session from the correct byte offset; HTTP 410 means the session expired and a full restart with a new session is required.

- Action

**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.

- Action

**Trash File**

Tool to move a file or folder to trash (soft delete). Use when you need to delete a file but want to allow recovery via UNTRASH_FILE. This action is distinct from permanent deletion and provides a safer cleanup workflow.

- Action

**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.

- Action

**Update File Metadata Patch**

Tool to update file metadata using the Drive API v2 PATCH method. Use when you need to modify file properties like title, description, or labels using patch semantics.

- Action

**Update File Property**

Tool to update a property on a file using Google Drive API v2. Use when you need to modify an existing custom property attached to a file.

- Action

**Update File Put**

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.

- Action

**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.

- Action

**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.

- Action

**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.

- Action

**Update Spreadsheet Values**

Write values to one exact Google Sheets range.

- Action

**Upload From Url**

Tool to fetch a file from a provided URL server-side and upload it into Google Drive. Use when you need to reliably persist externally hosted files into Drive without client-side downloads or temporary storage.

- Action

**Upload Update File**

Tool to update file content in Google Drive by uploading new binary content. Use when you need to replace the contents of an existing file with new file data.

- Action

**Watch 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.

- Action

**Watch File**

Tool to subscribe to push notifications for changes to a specific file. Use when you need to monitor a file for modifications and receive real-time notifications at a webhook URL.

- Action

**Write Spreadsheet Values**

Replace values in one range of a Google spreadsheet.

## Each app on its own

- [ **OneDrive** OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across...](https://apiant.ai/connections/onedrive)
- [ **Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connections/google-drive)

Reviews

## What our customers say

## More from OneDrive

- [ **OneDrive to Check Cherry** Check Cherry is the all-in-one platform to manage your Photobooth, Photography Studio, Mobile DJ business...](https://apiant.ai/connect/onedrive-to-check-cherry)
- [ **OneDrive to GoodAPI: Plant Trees** GoodAPI: Plant Trees is an app that allows you to seamlessly plant trees that help restore natural habits...](https://apiant.ai/connect/onedrive-to-goodapi-plant-trees)
- [ **OneDrive to Google Books** REST API for searching Google's book catalog, retrieving book metadata, and managing user bookshelves.](https://apiant.ai/connect/onedrive-to-google-books)
- [ **OneDrive to Mistral AI** Mistral AI is a platform for building, customizing, and deploying advanced AI models and agents for...](https://apiant.ai/connect/onedrive-to-mistral-ai)
- [ **OneDrive to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/onedrive-to-hubspot)
- [ **OneDrive to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/onedrive-to-salesforce)

## More into Google Drive

- [ **Slack to Google Drive** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-google-drive)
- [ **Pipedrive to Google Drive** Pipedrive is a sales CRM and pipeline management tool.](https://apiant.ai/connect/pipedrive-to-google-drive)
- [ **ActiveCampaign to Google Drive** ActiveCampaign is a marketing automation, email marketing, and CRM platform.](https://apiant.ai/connect/activecampaign-to-google-drive)
- [ **Airtable to Google Drive** Organize anything with Airtable, a modern database created for everyone.](https://apiant.ai/connect/airtable-to-google-drive)
- [ **Asana to Google Drive** Asana is a collaborative information manager for workspace.](https://apiant.ai/connect/asana-to-google-drive)
- [ **JIRA to Google Drive** Atlassian JIRA Cloud — issue tracking and project management.](https://apiant.ai/connect/jira-to-google-drive)

Questions

## OneDrive and Google Drive, answered

###

### Can a file created in Google Drive end up in the right OneDrive folder automatically?

Yes. The File Created trigger in Google Drive can download the file, then Onedrive Find Folder checks whether a matching folder already exists, and the content is written there with Onedrive Create Text File. If the folder is missing, Onedrive Create Folder makes it first.

###

### Does sharing carry over between the two apps?

Sharing events can start a run: Google Drive's File Shared trigger and OneDrive's Sharing Permission Added or Removed trigger both report the change. From there you can call Add File Sharing Preference in Google Drive or read access with Get Item Permissions in OneDrive.

###

### What can start an automation from OneDrive?

Any of OneDrive's 9 triggers in the catalog, including OneDrive Folder Created Trigger, Sharing Permission Added or Removed, File Updated and Item Moved or Renamed. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Google Drive when something happens in OneDrive?

Any of Google Drive's 85 actions, including Add File Sharing Preference, Create Folder, Download File and Create Comment. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Google Drive to OneDrive?

Yes. When something happens in Google Drive, your agent can act in OneDrive too. This page covers both directions: Google Drive's triggers and OneDrive's actions are listed here as well.

###

### Do I have to build a connector for OneDrive or Google Drive?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### Can my AI client use OneDrive and Google Drive without building an automation?

Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
