# Connect Google Drive to Microsoft Excel

When **Comment Added (Docs/Sheets/Slides)** fires in [Google Drive](https://apiant.ai/connections/google-drive), your agent runs **Add Table Row** in [Microsoft Excel](https://apiant.ai/connections/microsoft-excel). Describe the whole flow and it is built, tested on every scenario and kept running.

Google Drive **7** triggers Google Drive **41** actions Microsoft Excel **49** actions

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

## What do you want Google Drive and Microsoft Excel to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

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)

Example flows

## What Google Drive can start in Microsoft Excel

- When **Comment Added (Docs/Sheets/Slides)** in Google Drive then **Add Table Row** in Microsoft Excel
- When **File Created** in Google Drive then **Add Chart** in Microsoft Excel

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 Google Drive and Microsoft Excel

## Triggers and actions 7 triggers · 90 actions

- 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

**Copy File**

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

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

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

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

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

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

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

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

- 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

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

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

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

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

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

**Add Chart**

Add a chart to a worksheet using microsoft graph api.

- Action

**Add Sharepoint Worksheet**

Add a new worksheet to a sharepoint excel workbook using microsoft graph sites api.

- Action

**Add Table**

Create a table over a range in an Excel workbook.

- Action

**Add Table Column**

Add a column to a table using microsoft graph api.

- Action

**Add Table Row**

Add a row to a table using microsoft graph api.

- Action

**Add Workbook Permission**

Tool to grant access to a workbook via invite. use when you need to share a specific workbook file with designated recipients and roles.

- Action

**Add Worksheet**

Add a new worksheet to an excel workbook using microsoft graph api.

- Action

**Apply Table Filter**

Apply a filter to a table column using microsoft graph api.

- Action

**Apply Table Sort**

Apply a sort to a table using microsoft graph api.

- Action

**Clear Range**

Tool to clear values, formats, or contents in a specified worksheet range. use when you need to reset cells before adding new data.

- Action

**Clear Table Filter**

Clear a filter from a table column using microsoft graph api.

- Action

**Close Session**

Tool to close an existing excel workbook session. use when you need to explicitly end a persistent session to release workbook locks.

- Action

**Convert Table To Range**

Convert a table to a range using microsoft graph api.

- Action

**Create Workbook**

Create an.xlsx workbook in the user's OneDrive, from a file URL or blank.

- Action

**Delete Table Column**

Delete a column from a table using microsoft graph api.

- Action

**Delete Table Row**

Delete a row from a table using microsoft graph api.

- Action

**Delete Worksheet**

Tool to delete a worksheet from the workbook. use when cleaning up unused or temporary sheets after verifying no dependencies exist. example: "delete 'sheet2' after review."

- Action

**Get Chart Axis**

Tool to retrieve a specific axis from a chart. use when you need properties like min, max, interval, and formatting of the chart axis.

- Action

**Get Chart Data Labels**

Tool to retrieve the data labels object of a chart. use when you need to inspect label settings like position, separator, and visibility flags after creating or updating a chart.

- Action

**Get Chart Legend**

Tool to retrieve the legend object of a chart. use after creating or updating a chart when you need to inspect legend visibility and formatting.

- Action

**Get Range**

Get a range from a worksheet using microsoft graph api.

- Action

**Get Session**

Create a session for an excel workbook using microsoft graph api.

- Action

**Get Sharepoint Range**

Get a range from a worksheet in sharepoint using microsoft graph sites api.

- Action

**Get Sharepoint Worksheet**

Get a worksheet by name or id from a sharepoint excel workbook using microsoft graph sites api.

- Action

**Get Table Column**

Tool to retrieve a specific column from a workbook table. use when you need to fetch column properties and data by its id or name.

- Action

**Get Workbook**

Tool to retrieve the properties and relationships of a workbook. use when you need to inspect comments, names, tables, or worksheets.

- Action

**Get Worksheet**

Get a worksheet by name or id from an excel workbook using microsoft graph api.

- Action

**Insert Range**

Tool to insert a new cell range into a worksheet, shifting existing cells down or right. use when you need to create space for new content without overwriting.

- Action

**List Charts**

List charts in a worksheet using microsoft graph api.

- Action

**List Chart Series**

Tool to list all data series in a chart. use when you need to enumerate chart series for further analysis.

- Action

**List Comments**

Tool to list comments in an excel workbook. use when you need to retrieve all workbook comments via microsoft graph api.

- Action

**List Files**

List files and folders in a drive root or specified path.

- Action

**List Named Items**

List named items in a workbook using microsoft graph api.

- Action

**List Sharepoint Tables**

List tables in a sharepoint worksheet using microsoft graph sites api.

- Action

**List Sharepoint Worksheets**

List worksheets in an excel workbook stored in sharepoint using microsoft graph sites api.

- Action

**List Table Columns**

List columns in a table using microsoft graph api.

- Action

**List Table Rows**

List rows in a table using microsoft graph api.

- Action

**List Tables**

List tables in a worksheet using microsoft graph api.

- Action

**List Workbook Permissions**

Tool to list permissions set on the workbook file. use when you need to see which users or links have access to a specific excel file by supplying its drive and item ids. example: "list permissions for workbook with drive id 'b!abc123' and item id '0123456789abcdef'."

- Action

**List Worksheets**

List worksheets in an excel workbook using microsoft graph api.

- Action

**Merge Cells**

Merge cells in a worksheet range using microsoft graph api.

- Action

**Protect Worksheet**

Tool to protect a worksheet using optional protection options. use when you need to prevent editing certain parts of a sheet before sharing. example: "protect 'sheet1' to lock formatting and sorting."

- Action

**Sort Range**

Sort a range in a worksheet using microsoft graph api.

- Action

**Update Chart**

Update a chart in a worksheet using microsoft graph api.

- Action

**Update Chart Legend**

Tool to update formatting or position of a chart legend. use when adjusting legend settings after confirming chart and worksheet exist.

- Action

**Update Range**

Update a range in a worksheet using microsoft graph api.

- Action

**Update Sharepoint Range**

Update a range in a sharepoint worksheet using microsoft graph sites api.

- Action

**Update Table**

Update a table in a workbook using microsoft graph api.

- Action

**Update Worksheet**

Update worksheet properties (name, position) in an excel workbook using microsoft graph api.

## Each app on its own

- [ **Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connections/google-drive)
- [ **Microsoft Excel** Microsoft Excel is a powerful spreadsheet application for data analysis, calculations, and visualization...](https://apiant.ai/connections/microsoft-excel)

Reviews

## What our customers say

## More from Google Drive

- [ **Google Drive to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/google-drive-to-hubspot)
- [ **Google Drive to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/google-drive-to-salesforce)
- [ **Google Drive to Google Sheets** Google Sheets](https://apiant.ai/connect/google-drive-to-google-sheets)
- [ **Google Drive to Gmail** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/google-drive-to-gmail)
- [ **Google Drive to Google Calendar** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-drive-to-google-calendar)
- [ **Google Drive to Mailchimp** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/google-drive-to-mailchimp)

## More into Microsoft Excel

- [ **HubSpot to Microsoft Excel** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-microsoft-excel)
- [ **Salesforce to Microsoft Excel** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-microsoft-excel)
- [ **Slack to Microsoft Excel** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-microsoft-excel)
- [ **Google Sheets to Microsoft Excel** Google Sheets](https://apiant.ai/connect/google-sheets-to-microsoft-excel)
- [ **Gmail to Microsoft Excel** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-microsoft-excel)
- [ **Google Calendar to Microsoft Excel** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-microsoft-excel)

Questions

## Google Drive and Microsoft Excel, answered

###

### What can start an automation from Google Drive?

Any of Google Drive's 7 triggers in the catalog, including Comment Added (Docs/Sheets/Slides), File Created, File Shared (Permissions Added) and File Updated. Describe the moment in plain language and your agent picks the right one.

###

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

Any of Microsoft Excel's 49 actions, including Create Workbook, Update Chart, Update Chart Legend and Update Range. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Microsoft Excel to Google Drive?

Microsoft Excel has no triggers in the catalog today, so automations start in Google Drive. If you need the other direction, ask: your agent reads Microsoft Excel's API documentation and adds it.

###

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

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.

###

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