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

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

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

All integrations