Integration
Connect Google Drive and SureCart
When Comment Added (Docs/Sheets/Slides) fires in Google Drive, your agent runs Add Customer in SureCart, or Affiliation Request Created in SureCart 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 SureCart 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)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 SureCart can do together
From Google Drive to SureCart
When Comment Added (Docs/Sheets/Slides) in Google Drive
then Add Customer in SureCart
When File Created in Google Drive
then Update Customer in SureCart
From SureCart to Google Drive
When Affiliation Request Created in SureCart
then Add File Sharing Preference in Google Drive
When Customer Created in SureCart
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 SureCart
Triggers and actions 51 triggers · 132 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
Affiliation Request ApprovedTriggers when a affiliation request is approved.
Trigger
Affiliation Request CreatedTriggers when a affiliation request is created.
Trigger
Affiliation Request DeniedTriggers when a new affiliation request is denied.
Trigger
Cancellation Act CreatedTriggers when a cancellation act is created.
Trigger
Cancellation Act UpdatedTriggers when a cancellation act is updated.
Trigger
Customer CreatedTriggers when a customer is created.
Trigger
Customer UpdatedTriggers when a customer is updated.
Trigger
Fulfillment CreatedTriggers when a fulfillment is created.
Trigger
Fulfillment DeletedTriggers when a fulfillment is deleted.
Trigger
Fulfillment UpdatedTriggers when a fulfillment is updated.
Trigger
Order CreatedTriggers when a order is created.
Trigger
Order DeliveredTriggers when a order is delivered.
Trigger
Order FulfilledTriggers when a order is fulfilled.
Trigger
Order PaidTriggers when a order is paid.
Trigger
Order Partially FulfilledTriggers when a order is partially fulfilled.
Trigger
Order Partially ShippedTriggers when a order is partially shipped.
Trigger
Order Payment FailedTriggers when a order payment fails.
Trigger
Order ProcessingTriggers when a order becomes processing.
Trigger
Order ShippedTriggers when a order is shipped.
Trigger
Order UnfulfilledTriggers when a order is unfulfilled.
Trigger
Order VoidedTriggers when a order is voided.
Trigger
Payout CompletedTriggers when a payout is completed.
Trigger
Purchase CreatedTriggers when a purchase is created.
Trigger
Purchase InvokedTriggers when a purchase is invoked.
Trigger
Purchase RevokedTriggers when a purchase is revoked.
Trigger
Purchase UpdatedTriggers when a purchase is updated.
Trigger
Referral ApprovedTriggers when a referral is approved.
Trigger
Referral CreatedTriggers when a referral is created.
Trigger
Refund CreatedTriggers when a refund is created.
Trigger
Refund SucceededTriggers when a refund succeeds.
Trigger
Return Request CompletedTriggers when a return request is completed.
Trigger
Return Request CreatedTriggers when a return request is created.
Trigger
Return Request DeletedTriggers when a return request is deleted.
Trigger
Return Request OpenedTriggers when a return request is opened.
Trigger
Return Request UpdatedTriggers when a return request is updated.
Trigger
Subscription ActiveTriggers when a subscription becomes active.
Trigger
Subscription CanceledTriggers when a subscription is canceled.
Trigger
Subscription CompletedTriggers when a subscription is completed.
Trigger
Subscription CreatedTriggers when a subscription is created.
Trigger
Subscription Past DueTriggers when a subscription becomes past due.
Trigger
Subscription RenewedTriggers when a subscription is renewed.
Trigger
Subscription Set to CancelTriggers when a subscription is set to cancel.
Trigger
Subscription TrialingTriggers when a subscription becomes trialing.
Trigger
Subscription UpdatedTriggers when a subscription is updated.
Action
Add Affiliation RequestCreates a pending affiliate application in your SureCart store.
Action
Add CustomerCreates a customer in your SureCart store.
Action
Add PayoutCreates a payout for an affiliate covering their approved, unpaid referral commissions up to an end date.
Action
Approve Affiliation RequestApproves a pending affiliate application, turning the applicant into an affiliate.
Action
Approve ReferralApproves a referral that is under review.
Action
Cancel CheckoutCancels a checkout; its associated order and invoice are voided.
Action
Cancel SubscriptionCancels a subscription, either immediately or at the end of the current billing period.
Action
Complete PayoutMarks a processing affiliate payout as completed (paid).
Action
Complete Return RequestMarks an open return request as completed.
Action
Complete SubscriptionCompletes a fixed-length (finite) subscription immediately.
Action
Delete FulfillmentDeletes a fulfillment, returning its order items to unfulfilled.
Action
Delete Return RequestDeletes a return request.
Action
Deny Affiliation RequestDenies a pending affiliate application.
Action
Finalize CheckoutFinalizes a draft checkout so it can be paid.
Action
Find AffiliationFind an existing affiliation by ID.
Action
Find Affiliation RequestFind an existing affiliation request by ID.
Action
Find Cancellation ActFind an existing cancellation act by ID.
Action
Find CheckoutFind an existing checkout by ID.
Action
Find ClickFind an existing click by ID.
Action
Find CouponFind an existing coupon by ID.
Action
Find CustomerFind an existing customer by ID.
Action
Find FulfillmentFind an existing fulfillment by ID.
Action
Find Fulfillment ItemFind an existing fulfillment item by ID.
Action
Find Line ItemFind an existing line item by ID.
Action
Find OrderFind an existing order by ID.
Action
Find Payment IntentFind an existing payment intent by ID.
Action
Find Payment MethodFind an existing payment method by ID.
Action
Find PayoutFind an existing payout by ID.
Action
Find Payout GroupFind an existing payout group by ID.
Action
Find PriceFind an existing price by ID.
Action
Find ProductFind an existing product by ID.
Action
Find PromotionFind an existing promotion by ID.
Action
Find PurchaseFind an existing purchase by ID.
Action
Find ReferralFind an existing referral by ID.
Action
Find Referral ItemFind an existing referral item by ID.
Action
Find RefundFind an existing refund by ID.
Action
Find Return ItemFind an existing return item by ID.
Action
Find Return RequestFind an existing return request by ID.
Action
Find SubscriptionFind an existing subscription by ID.
Action
Find TrackingFind an existing tracking by ID.
Action
Invoke PurchaseRe-activates a revoked purchase, restoring the customer's access to the product.
Action
Manually Pay CheckoutMarks a finalized checkout as paid outside SureCart, creating its paid order.
Action
Open Return RequestRe-opens a completed return request.
Action
Preserve SubscriptionRecords that a customer who started to cancel a subscription chose to keep it.
Action
Revoke PurchaseRevokes a customer's purchase, removing their access to the product.
Action
Update CustomerUpdates an existing customer's name, email or phone in your SureCart store.
Action
Update PurchaseSchedules when a customer's purchase will be automatically revoked.
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
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 SureCart
HubSpot to SureCartHubSpot is your all-in-one stop for all of your marketing software needs.
Salesforce to SureCartSalesforce is a leading enterprise customer relationship management (CRM) platform.
Google Sheets to SureCartGoogle Sheets
Gmail to SureCartGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
Google Calendar to SureCartGoogle Calendar is a time management tool providing scheduling features, event reminders, and integration...
Mailchimp to SureCartMailchimp marketing automation and email platform.
Questions
Google Drive and SureCart, 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 SureCart when something happens in Google Drive?
Any of SureCart's 47 actions, including Update Customer, Update Purchase, Add Affiliation Request and Add Customer. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from SureCart to Google Drive?
Yes. When something happens in SureCart, your agent can act in Google Drive too. This page covers both directions: SureCart's triggers and Google Drive's actions are listed here as well.
Do I have to build a connector for Google Drive or SureCart?
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 SureCart 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.