Integration
Connect Google Drive to Supabase
When something happens in Google Drive, your agent does the next thing in Supabase. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Google Drive and Supabase 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 Google Drive and Supabase
Triggers and actions 7 triggers ยท 105 actions
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.
Action
Alpha Creates A New Api Key For The ProjectCreates a 'publishable' or 'secret' api key for an existing supabase project, optionally with a description; 'secret' keys can have customized jwt templates.
Action
Alpha Get A Third Party IntegrationRetrieves the detailed configuration for a specific third-party authentication (tpa) provider, identified by `tpa id`, within an existing supabase project specified by `ref`.
Action
Alpha Lists All Third Party Auth IntegrationsLists all configured third-party authentication provider integrations for an existing supabase project (using its `ref`), suitable for read-only auditing or verifying current authentication settings.
Action
Alpha Removes A Third Party Auth IntegrationRemoves a third-party authentication provider (e.g., google, github) from a supabase project's configuration; this immediately prevents users from logging in via that method.
Action
Alpha Updates An Api Key For The ProjectUpdates an existing supabase project api key's `description` and/or `secret jwt template` (which defines its `role`); does not regenerate the key string.
Action
Beta Activates A Vanity Subdomain For A ProjectActivates a vanity subdomain for the specified supabase project, requiring subsequent dns configuration for the subdomain to become operational.
Action
Beta Checks Vanity Subdomain AvailabilityChecks if a specific vanity subdomain is available for a supabase project; this action does not reserve or assign the subdomain.
Action
Beta Get Project S Ssl Enforcement ConfigurationRetrieves the ssl enforcement configuration for a specified supabase project, indicating if ssl connections are mandated for its database.
Action
Beta Gets Current Vanity Subdomain ConfigFetches the current vanity subdomain configuration, including its status and custom domain name, for a supabase project identified by its reference id.
Action
Beta Gets Project S Network BansRetrieves the list of banned ipv4 addresses for a supabase project using its unique project reference string; this is a read-only operation.
Action
Beta Gets Project S Network RestrictionsRetrieves the current network restriction settings (e.g., ip whitelists) for a supabase project using its reference id; this is a read-only operation for auditing or verifying network security.
Action
Beta Gets Project S Pgsodium ConfigRetrieves the pgsodium configuration, including the root encryption key, for an existing supabase project identified by its `ref`.
Action
Beta Remove Network BansRemoves specified ipv4 addresses from a supabase project's network ban list, granting immediate access; ips not currently banned are ignored.
Action
Beta Run Sql QueryExecutes a given sql query against the project's database; use for advanced data operations or when standard api endpoints are insufficient, ensuring queries are valid postgresql and sanitized. use the get table schemas or generate type script types tool to retrieve the table schema, then base your query on it.
Action
Beta Updates Project S Network RestrictionsUpdates and applies network access restrictions (ipv4/ipv6 cidr lists) for a supabase project, which may terminate existing connections not matching the new rules.
Action
Config Pgsodium Update With Root Key WarningCritically updates or initializes a supabase project's pgsodium root encryption key for security setup or key rotation, requiring secure backup of the new key to prevent irreversible data loss.
Action
Create A Database BranchCreates a new, isolated database branch from an existing supabase project (identified by `ref`), useful for setting up separate environments like development or testing, which can optionally be linked to a git branch.
Action
Create A FunctionCreates a new serverless edge function for a supabase project (identified by `ref`), requiring valid javascript/typescript in `body` and a project-unique `slug 1` identifier.
Action
Creates A New Sso ProviderCreates a new saml 2.0 single sign-on (sso) provider for a supabase project, requiring either `metadata xml` or `metadata url` for saml idp configuration.
Action
Creates A New Third Party Auth IntegrationCall this to add a new third-party authentication method (oidc or jwks) to a supabase project for integrating external identity providers (e.g., for sso); the api may also support `custom jwks` if sent directly.
Action
Delete A Database BranchPermanently and irreversibly deletes a specific, non-default database branch by its `branch id`, without affecting other branches.
Action
Delete A FunctionPermanently deletes a specific edge function (by `function slug`) from a supabase project (by `ref`); this action is irreversible and requires prior existence of both project and function.
Action
Delete Project Vanity SubdomainPermanently and irreversibly deletes an active vanity subdomain configuration for the specified supabase project, reverting it to its default supabase url.
Action
Deploy FunctionDeploys edge functions to a supabase project using multipart upload.
Action
Disable Project ReadonlyTemporarily disables a supabase project's read-only mode for 15 minutes to allow write operations (e.g., for maintenance or critical updates), after which it automatically reverts to read-only.
Action
Disables Preview BranchingDisables the preview branching feature for an existing supabase project, identified by its unique reference id (`ref`).
Action
Generate Type Script TypesGenerates and retrieves typescript types from a supabase project's database; any schemas specified in `included schemas` must exist in the project.
Action
Get Database Branch ConfigRetrieves the read-only configuration and status for a supabase database branch, typically for monitoring or verifying its settings.
Action
Get Project Api KeysRetrieves all api keys for an existing supabase project, specified by its unique reference id (`ref`); this is a read-only operation.
Action
Get Project S Pgbouncer ConfigRetrieves the active pgbouncer configuration (postgresql connection pooler) for a supabase project, used for performance tuning, auditing, or getting the connection string.
Action
Get Project Upgrade EligibilityChecks a supabase project's eligibility for an upgrade, verifying compatibility and identifying potential issues; this action does not perform the actual upgrade.
Action
Get Project Upgrade StatusRetrieves the latest status of a supabase project's database upgrade for monitoring purposes; does not initiate or modify upgrades.
Action
Gets A Specific Sql SnippetRetrieves a specific sql snippet by its unique identifier.
Action
Gets A Sso Provider By Its UuidRetrieves the configuration details for a specific single sign-on (sso) provider (e.g., saml, google, github, azure ad), identified by its uuid, within a supabase project.
Action
Gets Information About The OrganizationFetches comprehensive details for a specific supabase organization using its unique slug.
Action
Gets Project S Auth ConfigRetrieves the project's complete read-only authentication configuration, detailing all settings (e.g., providers, mfa, email/sms, jwt, security policies) but excluding sensitive secrets.
Action
Gets Project S Postgres ConfigRetrieves the current read-only postgresql database configuration for a specified supabase project's `ref`, noting that some advanced or security-sensitive details might be omitted from the response.
Action
Gets Project S Postgrest ConfigRetrieves the postgrest configuration for a specific supabase project.
Action
Gets Project S Service Health StatusRetrieves the current health status for a supabase project, for specified services or all services if the 'services' list is omitted.
Action
Gets Project S Supavisor ConfigRetrieves the supavisor (connection pooler) configuration for a specified supabase project, identified by its reference id.
Action
Get Table SchemasRetrieves column details, types, and constraints for multiple database tables to help debug schema issues and write accurate sql queries.
Action
List All Database BranchesLists all database branches for a specified supabase project, used for isolated development and testing of schema changes; ensure the project reference id is valid.
Action
List All FunctionsLists metadata for all edge functions in a supabase project (specified by 'ref'), excluding function code or logs; the project must exist.
Action
List All OrganizationsLists all organizations (id and name only) associated with the supabase account, excluding project details within these organizations.
Action
List All ProjectsRetrieves a list of all supabase projects, including their id, name, region, and status, for the authenticated user.
Action
List All SecretsRetrieves all secrets for a supabase project using its reference id; secret values in the response may be masked.
Action
List Members Of An OrganizationRetrieves all members of a supabase organization, identified by its unique slug, including their user id, username, email, role, and mfa status.
Action
Lists All BackupsLists all database backups for a supabase project, providing details on existing backups but not creating new ones or performing restores; availability may depend on plan and configuration.
Action
Lists All BucketsRetrieves a list of all storage buckets for a supabase project, without returning bucket contents or access policies.
Action
Lists All Sso ProvidersLists all configured single sign-on (sso) providers for a supabase project, requiring the project reference id (`ref`) of an existing project.
Action
Lists Sql Snippets For The Logged In UserRetrieves a list of sql snippets for the logged-in user, optionally filtered by a specific supabase project if `project ref` is provided.
Action
Removes A Sso Provider By Its UuidDeletes a specific sso provider by its id (`provider id`) from a supabase project (`ref`), which disables it and returns its details; ensure this action will not inadvertently lock out users.
Action
Resets A Database BranchResets an existing supabase database branch, identified by `branch id`, to its initial clean state, irreversibly deleting all its current data and schema changes.
Action
Retrieve A FunctionRetrieves detailed information, metadata, configuration, and status for a specific edge function using its project reference id and function slug.
Action
Retrieve A Function BodyRetrieves the source code (body) for a specified serverless edge function using its project reference and function slug; this is a read-only operation that does not execute the function or return runtime logs.
Action
Returns Project S Readonly Mode StatusRetrieves the read-only mode status for a specified supabase project to check its operational state; this action does not change the read-only state.
Action
Update A FunctionUpdates an existing supabase edge function's properties (like name, slug, source code, jwt settings, import map) identified by project `ref` and `function slug`, supporting plain text code or eszip for the body.
Action
Update Database Branch ConfigUpdates the configuration of a supabase database branch, allowing modification of its name, associated git branch, reset-on-push behavior, persistence, and status.
Action
Updates A Sso Provider By Its UuidUpdates an existing sso provider's saml metadata, associated email domains, or attribute mappings for a supabase project, identified by `ref` and `provider id`.
Action
Updates Project S Postgres ConfigUpdates specified postgresql configuration parameters for an existing supabase project (`ref`) to optimize database performance; note that unspecified parameters remain unchanged, and caution is advised as incorrect settings can impact stability or require a restart.
Action
Updates Project S Postgrest ConfigUpdates postgrest configuration settings (e.g., `max rows`, `db pool`, `db schema`, `db extra search path`) for a supabase project to fine-tune api performance, data exposure, and database resource usage.
Action
Updates Project S Supavisor ConfigUpdates the supavisor (database pooler) configuration, such as `default pool size`, for an existing supabase project identified by `ref`; the `pool mode` parameter in the request is deprecated and ignored.
Action
Update Ssl Enforcement ConfigUpdates the ssl enforcement configuration (enable/disable) for a specified supabase project's database.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Each app on its own
Reviews