---
title: "Google Drive integration for AI agents | Langdock"
description: "Connect Google Drive to Langdock. Agents and workflows can use 15 actions, such as “Copy file” and “Create folder”."
url: "https://langdock.com/integrations/google-drive"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Google Drive integration for AI agents

Find, download, and upload files across your drives

Connect Google Drive to Langdock and use it in chat, in agents and in workflows.

15 actions · 3 triggers

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Google Drive actions

Each action is one step an agent or workflow can run in Google Drive.

- Copy file

  Creates a copy of an existing file in Google Drive with optional new name, destination folder, and description.
- Create folder

  Creates folders in Google Drive. Supports multiple folders (comma-separated) and nested paths (using '/'). If a folder already exists, it will be reused and the user notified.
- Delete file

  Moves a file to Google Drive trash. The file can be restored from trash for 30 days. Does not permanently delete the file.
- Get current user · Retrieves information about the currently logged-in Google Drive user.
- Get file · Gets a file from Google Drive based on the item ID and attaches it to the chat.
- Get file metadata

  Retrieves detailed metadata for a file by its ID including name, type, size, dates, and owner information.
- Get folder · Searches for folders in Google Drive by name.
- Get recent files · Retrieves the most recently modified files from Google Drive.
- List files in folder · Lists files in a Google Drive folder with optional including subfolders.
- List folders

  Lists folders to help navigate your Google Drive. Without a folder, returns your top-level folders and your shared drives; with a folder, returns the folders directly inside it. Use a returned folder ID with Search files or List files in folder to look inside it.
- Move file

  Moves a file to a different folder in Google Drive. The file is removed from its current folder and placed in the target folder.
- Replace file

  Replaces the content of an existing Google Drive file by file ID, keeping the same file ID, sharing link, and permissions. Uploading a file with the same name does not overwrite; use this action to update content in place. Cannot replace native Google Docs, Sheets, Slides, or folders.
- Search files

  Searches through the available files in your Google Drive with advanced filtering options.
- Update file

  Renames a file or changes its description in Google Drive. Does not replace file content; use Replace file to update the file's bytes.
- Upload file

  Uploads a new file to Google Drive with optional folder destination. Does not overwrite an existing file with the same name; use Replace file to update content in place.

## Google Drive triggers

A trigger starts a workflow when something happens in Google Drive.

- New file · Triggers when new files are added to Google Drive.
- New folder · Triggers when new folders are added to Google Drive.
- Updated file · Triggers when files are updated in Google Drive.

## Agent templates that use Google Drive

- [Collect Customer Info Looks at Slack, HubSpot, and Gmail to find context about a customer and then gives you a summary.](https://langdock.com/templates/collect-customer-info)
- [Google Meeting Scheduler Schedules a meeting with a list of people based on their availabilities.](https://langdock.com/templates/google-meeting-scheduler)

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
