Integration
Connect Google Drive and Privy
When Comment Added (Docs/Sheets/Slides) fires in Google Drive, your agent runs Find Contact in Privy, or New Contact in Privy to Add File Sharing Preference in Google Drive. Describe the whole flow and it is built, tested on every scenario and kept running.
What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.
Build solutions, not workarounds.
What do you want Google Drive and Privy to do together?
Ask the assistant
Connect your AI client
Give your AI client this address.
https://mcp.apiant.aiOne connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.
Set it up in your client
Claude Code
Run this in the directory you want to work in.
claude mcp add --transport http -s project apiant-ai https://mcp.apiant.aiStart Claude Code there, approve the server, and sign in in the browser page it opens.
Claude Code guide (opens in a new tab)Claude, web and desktop
Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.
Setup guide (opens in a new tab)Cursor
Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.
Setup guide (opens in a new tab)Zed
Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.
Setup guide (opens in a new tab)Codex and the ChatGPT desktop app
Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.
Setup guide (opens in a new tab)Grok
Open grok.com/connectors, choose New Connector, then Custom, and paste the address. Grok signs you in in your browser.
Setup guide (opens in a new tab)Any other MCP client
Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.
Setup guide (opens in a new tab)Example flows
What Google Drive and Privy can do together
From Google Drive to Privy
When Comment Added (Docs/Sheets/Slides) in Google Drive
then Find Contact in Privy
When File Created in Google Drive
then Check Coupon Code in Privy
From Privy to Google Drive
When New Contact in Privy
then Add File Sharing Preference in Google Drive
When New Order in Privy
then Create Comment in Google Drive
Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.
Everything your agent can do with Google Drive and Privy
Triggers and actions 9 triggers · 118 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
Add ParentTool to add a parent folder for a file using Google Drive API v2. Use when you need to add a file to an additional folder.
Action
Add PropertyTool to add a property to a file, or update it if it already exists (v2 API). Use when you need to attach custom key-value metadata to a Google Drive file.
Action
Batch Get Spreadsheet ValuesRead multiple explicit ranges from one Google Spreadsheet in one request.
Action
Batch Update Spreadsheet ValuesWrite values to multiple Google Sheets ranges in one batch request.
Action
Clear Spreadsheet ValuesPermanently clear values from one range while preserving formatting, notes, and validation.
Action
Copy FileDuplicates an existing file in google drive, identified by its `file id`.
Action
Copy File AdvancedCreates a copy of a file and applies any requested updates with patch semantics. Use when you need to duplicate a file with advanced options like label inclusion, visibility settings, or custom metadata.
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 PermissionTool to create a permission for a file or shared drive. Use when you need to share a file or folder with users, groups, domains, or make it publicly accessible. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
Action
Create Permissions BatchCreates multiple permissions for files or shared drives in a single batch request. Use this action when you need to share multiple files with users, or share a single file with multiple users or groups simultaneously. Each permission in the batch can target a different file and specify different access levels. Batch operations are more efficient than creating permissions individually, with a maximum of 100 permissions per batch.
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 ChildTool to remove a child from a folder using Google Drive API v2. Use when you need to remove a file from a specific folder.
Action
Delete CommentDeletes a comment from a file. use when you need to remove a specific comment from a google drive file.
Action
Delete ParentTool to remove a parent from a file using Google Drive API v2. Use when you need to remove a file from a specific folder.
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 PropertyTool to delete a property from a file using Google Drive API v2. Use when you need to remove custom key-value metadata 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
Delete RevisionTool to permanently delete a file revision. Use when you need to remove a specific version of a binary file (images, videos, etc.). Cannot delete revisions for Google Docs/Sheets or the last remaining revision.
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
Download File OperationTool to download file content using long-running operations. Use when you need to download Google Vids files or export Google Workspace documents as part of a long-running operation. Operations are valid for 24 hours from creation. Returns a response containing `downloaded_file_content.s3url` — a short-lived S3 URL; fetch the actual file bytes from that URL promptly after the call.
Action
Download File RevisionDownload the stored bytes of one blob-file revision. This action does not export Google Docs, Sheets, Slides, or other Workspace revisions. Use GOOGLEDRIVE_GET_REVISION to retrieve a Workspace revision's exportLinks, then download the selected export URL separately.
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
Export Google Workspace FileExports a Google Workspace document to the requested MIME type and returns exported file content. Use when you need to export Google Docs, Sheets, Slides, Drawings, or Apps Script files to a specific format. Note: The exported content is limited to 10MB by Google Drive API.
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 AppTool to get information about a specific Drive app by ID. Use 'self' as the app ID to get information about the calling app.
Action
Get ChangeTool to get a specific change by ID from Google Drive v2 API. Deprecated: Use changes.getStartPageToken and changes.list to retrieve recent changes instead.
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 ChildTool to get a specific child reference for a folder using Drive API v2. Use when you need to verify a specific file exists as a child of a folder.
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 DocumentRetrieve a native Google Docs document's structured content and metadata by 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 File PropertyTool to get a property by its key using Google Drive API v2. Use when you need to retrieve a specific custom property attached to a file.
Action
Get FormRetrieve a Google Form's definition, questions, settings, and publishing state by ID.
Action
Get ParentTool to get a specific parent reference for a file using Drive API v2. Use when you need to retrieve information about a specific parent folder of a file.
Action
Get PermissionGets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.
Action
Get Permission Id For EmailTool to get the permission ID for an email address using the Drive API v2. Use when you need to convert an email address to its corresponding permission ID.
Action
Get PresentationRetrieve a Google Slides presentation and its complete page structures by ID.
Action
Get Presentation Page ThumbnailGenerate one short-lived page thumbnail URL using an expensive Slides quota read.
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
Get SpreadsheetRetrieve a Google Spreadsheet's structure, metadata, and selected grid data.
Action
Get Spreadsheet ValuesRead values from one range in a Google Spreadsheet.
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
Insert ChildTool to insert a file into a folder using Drive API v2. Use when you need to add an existing file to a folder.
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 Children V2Tool to list a folder's children using Google Drive API v2. Use when you need to retrieve all files and folders within a specific folder.
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 File PropertiesTool to list a file's properties in Google Drive API v2. Use when you need to retrieve custom properties (key-value pairs) attached to a file.
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 Form ResponsesReturn one page of submissions for a Google Form.
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 RepliesTool 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 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
Patch PermissionTool to update a permission using patch semantics. Use when you need to modify specific fields of an existing permission without affecting other fields. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
Action
Patch PropertyTool to update a property on a file using PATCH semantics (v2 API). Use when you need to partially update custom key-value metadata attached to a Google Drive file.
Action
Read Spreadsheet ValuesRead values from one or more ranges in a Google spreadsheet.
Action
Resumable UploadTool to start and complete a Google Drive resumable upload session. Use for files larger than ~5 MB to avoid timeouts or size-limit failures. HTTP 308 means continue the session from the correct byte offset; HTTP 410 means the session expired and a full restart with a new session is required.
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
Trash FileTool to move a file or folder to trash (soft delete). Use when you need to delete a file but want to allow recovery via UNTRASH_FILE. This action is distinct from permanent deletion and provides a safer cleanup workflow.
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 Metadata PatchTool to update file metadata using the Drive API v2 PATCH method. Use when you need to modify file properties like title, description, or labels using patch semantics.
Action
Update File PropertyTool to update a property on a file using Google Drive API v2. Use when you need to modify an existing custom property attached to a file.
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.
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
Update Spreadsheet ValuesWrite values to one exact Google Sheets range.
Action
Upload From UrlTool to fetch a file from a provided URL server-side and upload it into Google Drive. Use when you need to reliably persist externally hosted files into Drive without client-side downloads or temporary storage.
Action
Upload Update FileTool to update file content in Google Drive by uploading new binary content. Use when you need to replace the contents of an existing file with new file data.
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
Watch FileTool to subscribe to push notifications for changes to a specific file. Use when you need to monitor a file for modifications and receive real-time notifications at a webhook URL.
Action
Write Spreadsheet ValuesReplace values in one range of a Google spreadsheet.
Trigger
New ContactTriggers when a new contact is added to your Privy account.
Trigger
New OrderTriggers when a new order is recorded in your Privy account.
Action
Check Coupon CodeCheck a coupon code. Check whether an individual code from a Shopify or BigCommerce pool has been redeemed, read live from the connected store's per-code usage counter (Privy stores no redemption events).
Action
Delete ContactDelete a contact by ID. Soft-delete a contact identified by its unique `id`.
Action
Find ContactList contacts. Retrieve a paginated list of contacts, most recently created first. Optionally filter by email, phone number, or consent status.
Action
Get AccountGet account. Retrieve information about the Privy account associated with the API token.
Action
Get Business Summary ReportGet business report summary. The business-level performance rollup for a period: signups, new subscribers, attributed revenue and orders, engagement rates, and business-wide order and revenue totals for context. Pass `compare=previous_period` to add previous-period values and typed change deltas to every metric.
Action
Get CouponGet a coupon. Retrieve a single coupon pool by its identifier — the list rows' inventory and health, plus `usage_count`, the connected store's pool-wide redemption counter read live.
Action
Get Display ReportGet display performance. The full performance stat set for one display over a period, including average order value and, when the display has run an A/B test, per-variation participants, conversions, and conversion rates.
Action
Get FlowGet a flow. Retrieve a single flow by its identifier, including its full configuration: re-entry behavior, flow filters, effective exit behavior, a server-generated behavior summary, and the node tree — each step's configuration (`data`) plus the branch graph, with split conditions and the nodes on each branch.
Action
Get ImportGet a contact import. Retrieve a single contact import — the same row `/v1/imports` lists for it.
Action
Get ProductGet a product. Retrieve a single product from your connected store's catalog by its store product id.
Action
Get Product CollectionGet a product collection. Retrieve one collection (Shopify) or category (BigCommerce) of your connected store by its store id, the `id` a `purchase_history` segment condition's `collection` filter holds.
Action
Get SegmentGet a segment. Retrieve a single segment by its identifier. The members themselves are `/v1/segments/{id}/contacts`. A campaign's `audience` segment ids resolve here when the segment was saved to the account. There is no per-segment performance report anywhere in the API.
Action
Get Segment CountsReturns how many contacts a segment reaches today: total, mailable and textable counts.
Action
Get TagGet a tag. Retrieve a single tag by its prefixed id — the same row `/v1/tags` lists for it. This is how to name the `tag_…` and `stag_…` ids that appear in a flow's condition tree.
Action
List Campaign ReportsList campaign performance. Every message campaign **sent in the period**, ranked by attributed revenue, each row carrying the full channel stat block (delivery, engagement, unsubscribes, attribution) scoped to the same period — so period comparisons need no per-campaign detail calls. Zero-revenue sends are listed too, ranked after the revenue rows; at most 100 campaigns are ranked, and a send with
Action
List CampaignsList campaigns. Retrieve a paginated list of your message campaigns, newest first.
Action
List Collection ProductsList a collection's products. Retrieve the products in one collection (Shopify) or category (BigCommerce) of your connected store, in the same shape as `/v1/products`.
Action
List Contact ActivityList a contact's activity. Retrieve the contact's activity timeline — signups, email and SMS sends, opens and clicks, orders, checkouts, tag changes — newest first. This is the same record the Privy dashboard's contact page shows, so "why did this contact get X?" can be answered from the API alone: find the send, the signup that triggered it, and the display or campaign each traces to.
Action
List CouponsList coupons. Retrieve a paginated list of your coupon pools with their code inventory and health status.
Action
List Display ReportsList display performance. Rank your displays by performance over a period — signups by default, or any of the documented sort keys. Displays whose value for the chosen sort key is zero are left out entirely, and ranking stops at 50 displays, which also caps the reported `total_count`. Use `/v1/reports/displays/{display_id}` for one display's full stat set, including average order value and A/B tes
Action
List DisplaysList displays. Retrieve a paginated list of your on-site displays, newest first. Archived displays are excluded by default — pass `status=archived` to list them.
Action
List Email TemplatesList email templates. The templates an email draft may start from: the account's own saved newsletter templates, listed first, and then Privy's gallery. Names and facets only; the design and HTML stay on the server, and a template is branded for the account only when a draft uses it. Templates with product blocks are offered only to an account with a connected catalog store. Templates whose produc
Action
List Flow ReportsList flow performance. Rank your flows by performance over a period — best performers first, remaining flows by recency. Each row combines email and SMS stats across the flow's message steps. Use `/v1/reports/flows/{flow_id}` for one flow's report including the per-node message breakdown.
Action
List FlowsList flows. Retrieve a paginated list of your automation flows, including each flow's trigger and steps.
Action
List ImportsList contact imports. Retrieve a paginated list of your contact imports — CSV uploads and connected-provider syncs — most recently requested first. Each row mirrors the dashboard's import history: type, processing status, contact counts, who requested it, when, and its review status.
Action
List OrdersList orders. Retrieve a paginated list of your orders across every source (Shopify, BigCommerce, Weebly, Wix, and orders reported via this API), most recently created first.
Action
List Product CollectionsList product collections. Retrieve the collections of your connected store, proxied live from the store's API: Shopify collections, or BigCommerce categories.
Action
List Product Collections For ProductList a product's collections. Retrieve the collections (Shopify) or categories (BigCommerce) one product of your connected store belongs to, by its store product id.
Action
List ProductsList products. Retrieve the product catalog of your connected store (Shopify or BigCommerce), proxied live from the store's API.
Action
List Segment ContactsList a segment's contacts. Retrieve the segment's members as a paginated list of contacts, in the same shape as the Contacts API, most recently created first.
Action
List SegmentsList segments. Retrieve a paginated list of your customer segments with their mailable/textable member counts.
Action
List TagsList tags. Retrieve a paginated list of the account's contact tags, ordered by name. Tag names are lower-cased and trimmed. Some older tags have not been merged yet, so the same name can appear on more than one row, each with its own id.
Action
List Top Products ReportList top products. Retrieve your store's top products ranked by views or sales over a 30, 60, or 90 day window, or all-time where the platform supports it.
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
What our customers say
More from Google Drive
Google Drive to HubSpotHubSpot is your all-in-one stop for all of your marketing software needs.
Google Drive to SalesforceSalesforce is a leading enterprise customer relationship management (CRM) platform.
Google Drive to Google SheetsGoogle Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.
Google Drive to GmailGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
Google Drive to Google CalendarGoogle Calendar is a time management tool providing scheduling features, event reminders, and integration...
Google Drive to MailchimpMailchimp marketing automation and email platform.
More into Privy
HubSpot to PrivyHubSpot is your all-in-one stop for all of your marketing software needs.
Google Sheets to PrivyGoogle Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.
Gmail to PrivyGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
Google Calendar to PrivyGoogle Calendar is a time management tool providing scheduling features, event reminders, and integration...
Mailchimp to PrivyMailchimp marketing automation and email platform.
Pipedrive to PrivyPipedrive is a sales CRM and pipeline management tool.
Questions
Google Drive and Privy, answered
What can start an automation from Google Drive?
Any of Google Drive's 7 triggers in the catalog, including Comment Added (Docs/Sheets/Slides), File Created, File Shared (Permissions Added) and File Updated. Describe the moment in plain language and your agent picks the right one.
What can your agent do in Privy when something happens in Google Drive?
Any of Privy's 33 actions, including Check Coupon Code, Find Contact, Get Account and Get Business Summary Report. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from Privy to Google Drive?
Yes. When something happens in Privy, your agent can act in Google Drive too. This page covers both directions: Privy's triggers and Google Drive's actions are listed here as well.
Do I have to build a connector for Google Drive or Privy?
No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.
Can my AI client use Google Drive and Privy without building an automation?
Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.
What happens when something fails?
Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.
Is there a free plan?
Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.