Integration
Connect OpenAI to Google Drive
When something happens in OpenAI, your agent does the next thing in Google Drive. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want OpenAI and Google Drive to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with OpenAI and Google Drive
Triggers and actions 12 triggers ยท 111 actions
Trigger
New batchList your organization's batches.
Trigger
New fileReturns a list of files.
Trigger
New modelLists the currently available models.
Trigger
New vector storeReturns a list of vector stores.
Trigger
New videoList recently generated videos for the current project.
Action
Cancel batchCancels an in-progress batch.
Action
Cancel runCancels a run that is in_progress.
Action
Cancel vector store file batchCancel a vector store file batch.
Action
Content moderationClassifies text for hate, harassment, self-harm, sexual, and violence categories using the Moderations API.
Action
Count input tokensReturns input token counts of the request.
Action
Create assistantCreate an assistant with a model and instructions.
Action
Create chat completionSends a list of chat messages to a model via the Chat Completions API and returns the assistant's reply.
Action
Create completionCreates a completion for the provided prompt and parameters.
Action
Create embeddingGenerates a vector embedding for input text using an embeddings model (e.g. text-embedding-3-small).
Action
Create messageCreate a message.
Action
Create runCreate a run.
Action
Creates and executes a batch from an uploaded file of requestsCreates and executes a batch from an uploaded file of requests
Action
Create threadCreate a thread.
Action
Create thread and runCreate a thread and run it in one request.
Action
Create vector storeCreate a vector store.
Action
Create vector store fileCreate a vector store file by attaching a File to a vector store.
Action
Create vector store file batchCreate a vector store file batch.
Action
Create video edit jobCreate a new video generation job by editing a source or existing generated video.
Action
Create video extensionCreate an extension of a completed video.
Action
Create video generation jobCreate a new video generation job from a prompt and optional reference assets.
Action
Create video remixCreate a remix of a completed video using a refreshed prompt.
Action
Delete assistantDelete an assistant.
Action
Delete eval runDelete an eval run.
Action
Delete fileDelete a file and remove it from all vector stores.
Action
Delete messageDeletes a message.
Action
Delete threadDelete a thread.
Action
Delete vector storeDelete a vector store.
Action
Delete vector store fileDelete a vector store file (removes from store, file itself not deleted).
Action
Delete videoPermanently delete a completed or failed video and its stored assets.
Action
Download video contentDownload the generated video bytes or a derived preview asset.
Action
Edit imageCreates an edited or extended image given one or more source images and a prompt.
Action
Generate imageGenerates an image from a text prompt using gpt-image-1 / DALL-E and returns the image URL or base64 data.
Action
Generate speechConverts text into spoken audio using a TTS model and the selected voice. Returns audio bytes.
Action
Get assistantRetrieves an assistant.
Action
Get batchRetrieves a batch.
Action
Get fileReturns information about a specific file.
Action
Get file contentReturns the contents of the specified file.
Action
Get messageRetrieve a message.
Action
Get modelRetrieves a model instance.
Action
Get runRetrieves a run.
Action
Get run stepRetrieves a run step.
Action
Get threadRetrieves a thread.
Action
Get vector storeRetrieves a vector store.
Action
Get vector store fileRetrieves a vector store file.
Action
Get vector store file batchRetrieves a vector store file batch.
Action
Get vector store file contentRetrieve the parsed contents of a vector store file.
Action
Get videoFetch the latest metadata for a generated video.
Action
List conversation itemsList all items for a conversation with the given ID.
Action
List filesLists files that have been uploaded to your OpenAI account.
Action
List messagesReturns a list of messages for a given thread.
Action
List modelsLists the models currently available to your account.
Action
List runsReturns a list of runs belonging to a thread.
Action
List run stepsReturns a list of run steps belonging to a run.
Action
List vector store file batch filesReturns a list of vector store files in a batch.
Action
List vector store filesReturns a list of vector store files.
Action
OpenAI agent messageRuns one AI agent turn on OpenAI and returns the model's reply. The turn is billed to the OpenAI account connected on this step, and the agent can call the account's AI tool automations.
Action
Retrieve responseRetrieves a previously created model response by its Response ID.
Action
Search vector storeSearch a vector store for relevant chunks based on a query and filter.
Action
Send model a messageSends a message to an OpenAI model via the Responses API and emits its response. Returns a Response ID usable as previous_response_id for multi-turn conversations.
Action
Submit tool outputs to runSubmit tool outputs when a run requires action.
Action
Transcribe audioTranscribes audio into the input language.
Action
Translate audioTranslates audio into English.
Action
Update assistantModifies an assistant.
Action
Update messageModifies a message.
Action
Update runModifies a run.
Action
Update threadModifies a thread.
Action
Update vector storeModifies a vector store.
Action
Update vector store file attributesUpdate attributes on a vector store file.
Action
Upload fileUpload a file that can be used across various endpoints.
Trigger
Comment Added (Docs/Sheets/Slides)Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Trigger
File CreatedTriggers when a new file is created in Google Drive.
Trigger
File Deleted or TrashedTriggers 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 UpdatedTriggers when a file's metadata or content changes in Google Drive.
Trigger
Google Drive ChangesTriggers when changes are detected in a Google Drive.
Trigger
New File Matching QueryTriggers 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 PreferenceModifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.
Action
Copy FileDuplicates an existing file in google drive, identified by its `file id`.
Action
Create CommentTool 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 FileCreates 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 TextCreates 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 FolderCreates 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 ReplyTool 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 FileTool 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 CommentDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.
Action
Delete PermissionDeletes 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 ReplyTool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.
Action
Download FileDownloads 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 FileUpdates an existing google drive file by overwriting its entire content with new text (max 10mb).
Action
Empty TrashTool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.
Action
Find FileTool 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 FolderTool 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 IdsGenerates 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 AboutTool 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 TokenTool 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 CommentTool 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 MetadataTool 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 PermissionGets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.
Action
Get ReplyTool 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 RevisionTool 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 ActionTool 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 ChangesTool 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 CommentsTool 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 LabelsTool 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 FilesTool 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 PermissionsTool 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 CommentTool 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 RevisionsTool 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 DrivesTool 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 FileTool 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
Parse FileDeprecated: exports google workspace files (max 10mb) to a specified format using `mime type`, or downloads other file types; use `googledrive download file` instead.
Action
Stop Watch ChannelTool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.
Action
Update CommentTool 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 PutUpdates 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. file content updates require multipart/related upload and are not yet implemented.
Action
Update File Revision MetadataUpdates 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 PermissionTool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.
Action
Update ReplyTool 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 ChangesTool 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.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.