Skip to content
Google Drive logoGoogle Drive logo

Google Drive Integrations

File Management & Storage

Build Google Drive automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Google Drive and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
5
available app actions
23
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Google Drive MCP server: connect Google Drive to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Google Drive and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Google Drive account and help me build a Zap with Google Drive: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Google Drive automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection google-drive

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Google Drive and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Google Drive and other apps.

Use a premade Google Drive automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Google Drive triggers and actions your agent can build with right away.

  • New File

    Triggers when any new file is added (inside of any folder).

  • New File in Folder

    Triggers when a new file is created within, moved to, or uploaded directly to a specific folder. You can optionally include files from its subfolders.

  • New File in Folder (Realtime)

    Triggers when a file is added to a chosen folder or shared drive.

  • New Folder

    Triggers when a new folder is added directly to a specific folder (but not its subfolders).

  • Updated File

    Triggers when a file is updated in a specific folder (but not its subfolders).

  • Copy File

    Create a copy of the specified file.

  • Delete File (Permanent)

    Permanently delete a file from Google Drive. This action cannot be undone.

  • Export File

    Export Google Workspace files (Docs, Sheets, Slides) to different formats like PDF, Word, Excel, etc.

Your agent picks the right Google Drive action from what you ask. Connect Zapier once and it can use 27 Google Drive tools, each with typed inputs. Zapier handles Google Drive’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Google Drive MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Google Drive.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Google Drive. It calls discover_zapier_actions to find the Google Drive actions, then enable_zapier_action to add them.
  3. Approve the Google Drive sign-in when prompted. If Google Drive isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Google Drive in 35 AI tools with Zapier MCP

27 Google Drive MCP tools

ToolMCP nameWhat it does
New Filegoogle_drive_new_file

Trigger · Read-only. Triggers when any new file is added (inside of any folder).

Optional: drive

New File in Foldergoogle_drive_new_file_in_folder

Trigger · Read-only. Triggers when a new file is created within, moved to, or uploaded directly to a specific folder. You can optionally include files from its subfolders.

Optional: drive, folder, includeSubfolders (Include Subfolders?), subfolderDepth (Subfolder Depth Limit), includeDeleted (Include Deleted Files?)

New File in Folder (Realtime)google_drive_new_file_in_folder_realtime

Trigger · Read-only. Triggers when a file is added to a chosen folder or shared drive.

Optional: drive, includeSubfolders (Include Subfolders?)

New Foldergoogle_drive_new_folder

Trigger · Read-only. Triggers when a new folder is added directly to a specific folder (but not its subfolders).

Optional: drive, folder

Updated Filegoogle_drive_updated_file

Trigger · Read-only. Triggers when a file is updated in a specific folder (but not its subfolders).

Optional: drive, folder, include_deleted

Retrieve File or Folder by IDgoogle_drive_retrieve_file_or_folder_by_id

Search · Read-only. Get a file or folder by its ID.

Required: id (File or Folder ID)

Optional: drive

Get File Permissionsgoogle_drive_get_file_permissions

Search · Read-only. List all users who have access to a file.

Required: file_id (File ID)

Optional: drive, folder

Find a Filegoogle_drive_find_a_file

Search · Read-only. Search for a specific file by name.

Required: title (Filename)

Optional: search_type, drive, folder, file_types

Find a Foldergoogle_drive_find_a_folder

Search · Read-only. Search for a specific folder by name.

Required: title (Folder Name)

Optional: search_type, drive, folder (Parent Folder)

Make API GET Requestgoogle_drive_make_api_get_request

Action · Read-only. Make a GET HTTP request to Google Drive's API, without needing to handle authentication. Fixed parameters: - method: GET This integration requests the following OAuth scopes: https://www.googleapis.com/auth/drive email.

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Copy Filegoogle_drive_copy_file

Action · Writes data. Create a copy of the specified file.

Required: file (File ID)

Optional: convert (Convert to Document?), new_name (File Name), drive, folder

Delete File (Permanent)google_drive_delete_file_permanent

Action · Writes data. Permanently delete a file from Google Drive. This action cannot be undone.

Required: file, confirm_deletion (Confirm deletion)

Optional: drive, folder

Export Filegoogle_drive_export_file

Action · Writes data. Export Google Workspace files (Docs, Sheets, Slides) to different formats like PDF, Word, Excel, etc.

Required: file, export_format (Export Format)

Optional: drive, folder

Upload Filegoogle_drive_upload_file

Action · Writes data. Copies an existing file from another service to Google Drive.

Required: file

Optional: drive, folder, convert (Convert to Document?), new_name (File Name), new_extension (File Extension)

Create Foldergoogle_drive_create_folder

Action · Writes data. Create a new, empty folder.

Required: title (Folder Name)

Optional: drive, folder (Parent Folder)

Move Filegoogle_drive_move_file

Action · Writes data. Move a file from one folder to another.

Required: file, folder

Optional: drive

Create File From Textgoogle_drive_create_file_from_text

Action · Writes data. Create a new file from plain text.

Required: title (File Name), file (File Content)

Optional: drive, folder, convert (Convert to Document?)

Remove File Permissiongoogle_drive_remove_file_permission

Action · Writes data. Remove specific user access to a file in Google Drive. Requires either email address or permission ID.

Required: file

Optional: drive, folder, email (Email Address), permission_id (Permission ID)

Replace Filegoogle_drive_replace_file

Action · Writes data. Upload a file to Drive, that replaces an existing file.

Required: old_file (File to Replace), file

Optional: drive, folder, convert (Convert to Document?), new_name (File Name), new_extension (File Extension)

Create Shared Drivegoogle_drive_create_shared_drive

Action · Writes data. Create a new shared drive (also known as Team Drive) in Google Drive.

Required: name (Shared Drive Name)

Optional: themeId (Theme ID), colorRgb (Color RGB), backgroundImageFile (Background Image File ID)

Add File Sharing Preferencegoogle_drive_add_file_sharing_preference

Action · Writes data. Adds a sharing scope to the sharing preference of a file. Does not remove existing sharing settings. Provides a sharing URL.

Required: file_id, permission (Sharing Preference)

Optional: drive, domain (Organization Domain)

Create Shortcutgoogle_drive_create_shortcut

Action · Writes data. Create a shortcut to a file.

Required: file

Optional: drive, folder

Update File or Folder Metadatagoogle_drive_update_file_or_folder_metadata

Action · Writes data. Update file or folder metadata including name, description, starred status, folder color, and custom properties.

Optional: drive, folder, file_id (File), name, description, starred, folder_color_rgb (Folder Color (RGB)), properties (Custom Properties)

Update File/Folder Namegoogle_drive_update_file_folder_name

Action · Writes data. Update the name of a file or folder.

Optional: drive, folder, file (File to Replace), new_name (File/Folder Name), rename_folder (Rename Folder?)

Delete Filegoogle_drive_delete_file

Action · Writes data. This action will delete a file in Google Drive. You will need to provide the file ID.

Retrieve Files from Google Drivegoogle_drive_retrieve_files_from_google_drive

Action · Writes data. This action sends a GET request to the Google Drive API to retrieve a list of files based on specific query parameters.

Make API Mutating Requestgoogle_drive_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to Google Drive's API, without needing to handle authentication. This integration requests the following OAuth scopes: https://www.googleapis.com/auth/drive email.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Google Drive API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Google Drive. You connect your account once, and your code references that connection instead of a raw token.

copy_file (Copy File) requires file. Every Google Drive action and its inputs are listed under Google Drive triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection google-drive
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "google-drive", owner: "me" });

const { data } = await zapier.runAction({
  app: "google-drive",
  actionType: "write",
  action: "copy_file",
  connection: connection.id,
  inputs: {
    file: "", // File ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action google-drive write copy_file \
  --inputs '{"file":""}'

Frequently asked questions about automating with Google Drive

Can I trigger Zaps when files are edited?

Yes, the "Updated File" trigger fires when files in a specific folder are modified or updated.

How do I specify which folder to monitor?

When setting up triggers, you'll select the specific folder from your Google Drive. The trigger can watch that folder and optionally its subfolders.

Can I upload files from other apps to Google Drive?

Yes, most actions that produce files (like PDFs, images, or documents) can be uploaded directly to Google Drive using the "Upload File" action.

Does Google Drive support Team Drives (Shared Drives)?

Yes, you can connect to and automate files in both personal Google Drive and Team Drives (now called Shared Drives).

How do I connect Google Drive to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Google Drive. Claude finds the Google Drive actions and adds them. If Google Drive needs a sign-in, you approve it once.

Can I use the Google Drive API without managing API keys?

With the Zapier SDK you connect your Google Drive account to Zapier once, and your code runs actions through that connection. Zapier handles Google Drive’s login, so you never paste an API key into your code.

What can an AI agent do with Google Drive?

Through Zapier MCP, your agent can use 27 Google Drive tools, such as New File, New File in Folder, and New File in Folder (Realtime). 10 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Google Drive automations. It covers how Google Drive connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI.

About Google Drive

Google Drive is Google's file sync app that lets you store all of your files online alongside your Google Docs documents, and keep them synced with all of your devices.

Related categories: File Management & Storage, Google