Integration
Connect OneDrive and Gmail
When File Updated fires in OneDrive, your agent runs Add Label To Email in Gmail, or New Gmail Message in Gmail to Create Item Permission in OneDrive. 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 OneDrive and Gmail 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 OneDrive and Gmail can do together
From OneDrive to Gmail
When File Updated in OneDrive
then Add Label To Email in Gmail
When Item Moved or Renamed in OneDrive
then Create Email Draft in Gmail
From Gmail to OneDrive
When New Gmail Message in Gmail
then Create Item Permission in OneDrive
When Email Sent in Gmail
then Create Sharepoint List Item in OneDrive
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 OneDrive and Gmail
Triggers and actions 11 triggers · 128 actions
Trigger
File UpdatedTrigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Trigger
Item Moved or RenamedTriggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
Trigger
New Version CreatedTrigger that fires when a new version of a specified OneDrive file is created.
Trigger
OnedrivebasetriggerBase trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Trigger
OneDrive File Created TriggerTriggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Folder Created TriggerTriggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Item Deleted TriggerTriggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Item Updated TriggerTriggers when an existing file or folder is modified in OneDrive. Uses Gmail-style state management and only detects actual modifications, not new creations.
Trigger
Sharing Permission Added or RemovedSharing Permission Added or Removed
Action
Add Workbook WorksheetAdds a new worksheet to an existing Excel workbook in OneDrive or SharePoint. The worksheet is created with the specified name and appended to the end of the workbook's worksheet collection. Use this action when you need to create a new sheet in an Excel file to organize data, add reports, or separate information into logical sections.
Action
Checkin ItemTool to check in a checked out driveItem resource, making the version of the document available to others. Use when you need to check in a file that was previously checked out in OneDrive or SharePoint.
Action
Checkout ItemTool to check out a driveItem to prevent others from editing it and make your changes invisible until checked in. Use when you need to lock a file for exclusive editing in SharePoint or OneDrive.
Action
Clear Workbook RangeClears values, formats, or both from a worksheet range in an Excel workbook stored in OneDrive or SharePoint without deleting cells or shifting neighboring data. Use this action when you need to reset a range while preserving the worksheet's cell structure.
Action
Close Workbook SessionClose an Excel workbook session without deleting the workbook.
Action
Copy ItemTool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy progress.
Action
Create Item PermissionTool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.
Action
Create LinkTool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.
Action
Create Sharepoint List ItemCreate an item in a SharePoint list using Microsoft Graph through the OneDrive connection. Use when you need to add a new row/item to a SharePoint list after resolving the site ID and list ID.
Action
Create Workbook SessionCreate a persistent or temporary session for an Excel workbook.
Action
Delete ItemTool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.
Action
Delete Item PermanentlyTool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.
Action
Delete Item PermissionTool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.
Action
Delete Share PermissionTool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.
Action
Delete Sharepoint Item PermissionRevoke a Microsoft Graph beta permission from a SharePoint list or list item.
Action
Delete Workbook RangeDeletes a range of cells from a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to remove a specific cell range and shift the remaining cells to fill the gap. This action is irreversible — the deleted range cannot be recovered once removed. The operation requires Files.ReadWrite scope and the workbook must not be locked by another user or process.
Action
Delete Workbook WorksheetDeletes a worksheet from a workbook in OneDrive by its ID or name. Use this action when you need to remove a specific worksheet from an Excel workbook stored in OneDrive or SharePoint. This action is irreversible — the worksheet cannot be recovered once deleted. Note that deleting the last visible worksheet in a workbook may result in an error.
Action
Download FileDownloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.
Action
Download File By PathDownloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.
Action
Download Item As FormatTool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.
Action
Download Item VersionTool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.
Action
Download Thumbnail By PathDownload thumbnail image bytes for a path-addressed item in the current user's OneDrive.
Action
Follow ItemTool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.
Action
Format Workbook RangeApply dimensions, alignment, wrapping, font, fill, and borders to a workbook range. Components are updated sequentially, not atomically, so earlier formatting remains if a later update fails.
Action
Get DriveRetrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.
Action
Get Drive Item By Sharing UrlTool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.
Action
Get Drive Item List ItemRetrieve the SharePoint list item associated with a driveItem.
Action
Get Followed ItemTool to retrieve a specific followed driveItem from a drive. Use when you need to get details about a file or folder that the user has marked to follow.
Action
Get ItemRetrieves the metadata of a driveitem by its unique id. use this tool to get information about a specific file or folder in onedrive when you have its id. if a `drive id` is not provided, it defaults to the user's main drive.
Action
Get Item By PathRetrieve OneDrive or SharePoint driveItem metadata by drive-relative path.
Action
Get Item PermissionsRetrieves the permissions of a driveitem by its unique id or path within a specific drive. use when you need to check who has access to a file or folder and what level of access they have.
Action
Get Item ThumbnailsTool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.
Action
Get Item VersionsTool to retrieve the version history of a driveitem by its unique id. use when you need to access or list previous versions of a file.
Action
Get QuotaTool to retrieve the quota information for the authenticated user's onedrive. use this action to check the storage space details like total, used, and remaining space on the user's onedrive.
Action
Get Recent ItemsRetrieves a list of items that have been recently used by the authenticated user. this tool is useful when you need to access or display files and folders that the user has interacted with recently across their onedrive and accessible shared drives.
Action
Get ShareTool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.
Action
Get Shared ItemsTool to retrieve a list of items that have been shared with the authenticated user. use this action to get details of files and folders shared with the current user.
Action
Get Sharepoint List ItemsTool to get the items (list items) within a specific sharepoint list on a site. use when you need to retrieve data from a sharepoint list.
Action
Get SiteRetrieves metadata for a specific SharePoint site by its ID. Use this action when you need to get details like display name, web URL, and creation/modification dates for a known SharePoint site.
Action
Get Site DetailsRetrieves metadata for a specific sharepoint site by its id. use this action when you need to get details like display name, web url, and creation/modification dates for a known sharepoint site.
Action
Get Site Page ContentGets the content of a modern sharepoint site page. use when you need to retrieve the details and content of a specific page within a sharepoint site.
Action
Get Special FolderTool to retrieve a special folder in OneDrive by name. Use when you need to access well-known folders (documents, photos, approot, etc.) without looking up by path or ID.
Action
Get Workbook Range FillRead the fill color applied to an Excel worksheet range.
Action
Get Workbook Used RangeRetrieves the used range of a worksheet in an Excel workbook stored in OneDrive or SharePoint without requiring the caller to know an explicit A1 range address. Use this action to read the active data region of a worksheet, optionally ignoring formatting-only cells.
Action
Get Workbook WorksheetRetrieves a specific worksheet from an Excel workbook stored in OneDrive or SharePoint using Microsoft Graph API. Use this action when you need to get details about a particular worksheet, including its ID, name, position, and visibility. The worksheet can be identified by either its unique ID or its display name.
Action
Grant Share PermissionTool to grant users access to a link represented by a permission using an encoded sharing URL. Use when you need to give specific users access to a shared OneDrive or SharePoint resource.
Action
Grant Sharepoint Item PermissionGrant an application permission on a SharePoint list or list item using Microsoft Graph beta.
Action
Inspect Workbook TableRead a workbook table's occupied range and one page of its columns.
Action
Invite User To Drive ItemTool to invite users or grant permissions to a specific item in a onedrive drive. use when you need to share a file or folder with other users and define their access level (e.g., read or write).
Action
List All Drive ItemsLists a complete OneDrive or SharePoint drive safely, one Microsoft Graph delta page per invocation. Start without `page_token`, then pass each `next_page_token` back until `sync_complete` is true. The terminal `delta_token` can be saved and passed back later to fetch changes since the completed snapshot. Delta enumeration is stable under concurrent writes and avoids the request burst caused by recursively fetching every folder in one execution.
Action
List Drive Item ActivitiesTool to list recent activities for a specific item in a onedrive drive. use when you need to track changes or actions performed on a file or folder.
Action
List DrivesTool to retrieve a list of drive resources available to the authenticated user, or for a specific user, group, or site. use when you need to find out what drives are accessible.
Action
List Folder ChildrenList the direct children (files/folders) of a OneDrive/SharePoint folder by DriveItem ID or path. Returns reliable pagination tokens for large folders. Use when you need to enumerate folder contents deterministically, find companion artifacts (e.g., .vtt/.docx files), or browse within a known folder.
Action
List Item ActivitiesTool to list recent activities for a specific item in a OneDrive drive. Use when you need to track changes or actions performed on a file or folder.
Action
List Root Drive ChangesTool to list changes in the root of the user's primary drive using a delta token. use when you need to track file and folder modifications, additions, or deletions in the main onedrive directory.
Action
List Share PermissionsTool to retrieve permission details for a shared OneDrive or SharePoint item using a share ID. Use when you have an encoded sharing URL and need to check the permission level, password protection, and access details.
Action
List Sharepoint Item PermissionsList Microsoft Graph beta permissions from a SharePoint list or list item.
Action
List Sharepoint List Items DeltaTool to track changes to items in a sharepoint list using a delta query. use when you need to get newly created, updated, or deleted list items without performing a full read of the entire item collection.
Action
List Site ColumnsTool to list all column definitions for a sharepoint site. use this when you need to retrieve the schema or structure of columns within a specific sharepoint site.
Action
List Site Drive Items DeltaTool to track changes to driveitems in the default document library of a sharepoint site. use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.
Action
List Site Items DeltaTool to track changes to DriveItems in the default document library of a SharePoint site. Use when you need to get a list of items that have been added, modified, or deleted since a previous state or to get an initial enumeration of all items.
Action
List Site ListsTool to list all lists under a specific sharepoint site. use when you need to enumerate lists within a known site.
Action
List Site SubsitesTool to list all subsites of a sharepoint site. use when you need to retrieve a collection of subsites for a given parent site.
Action
List SubscriptionsTool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.
Action
List Workbook WorksheetsRetrieves a list of all worksheets in an Excel workbook stored in OneDrive or SharePoint. Returns worksheet metadata including IDs, names, positions, and visibility states. Use this action when you need to enumerate available worksheets in a workbook, find a specific worksheet by name, or understand the workbook structure before performing operations on worksheet data.
Action
Move ItemTool to move a file or folder to a new parent folder in onedrive. use when you need to reorganize your files or folders by changing their location. you can optionally rename the item during the move.
Action
Onedrive Create FolderCreates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.
Action
Onedrive Create Text FileCreates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.
Action
Onedrive Find FileNon-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.
Action
Onedrive Find FolderFinds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.
Action
Onedrive List ItemsRetrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.
Action
Onedrive Upload FileUploads a file to a specified onedrive folder, automatically renaming on conflict and supporting large files via chunking.
Action
Preview Drive ItemGenerates or retrieves a short-lived embeddable url for a preview of a specific item. use when you need to display a temporary preview of a file.
Action
Read Workbook RangeReads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').
Action
Restore Item VersionRestores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.
Action
Search Drive ItemsSearch OneDrive and accessible SharePoint files with Microsoft Graph Search. This does not produce a complete shared-with-me list; use deprecated ONE_DRIVE_GET_SHARED_ITEMS only when full shared-with-me enumeration is required before Microsoft removes that API in November 2026. Requires OneDrive permissions plus Sites.Read.All because SharePoint-backed files can appear in results.
Action
Search ItemsSearches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.
Action
Search Sharepoint SitesSearch SharePoint sites visible to an organizational Microsoft account.
Action
Track Folder ChangesTrack changes beneath one folder, one Microsoft Graph delta page at a time.
Action
Unfollow ItemTool to unfollow a driveItem by removing it from the user's followed items collection. Use when you need to stop following a file or folder that was previously marked to follow.
Action
Update Drive Item MetadataTool to update the metadata of a specific item (file or folder) in onedrive. use this to rename items, change descriptions, or move items to a new parent folder.
Action
Update File ContentTool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.
Action
Update Sharepoint Item PermissionUpdate an application permission on a SharePoint list or list item using Microsoft Graph beta.
Action
Update Sharepoint List Item FieldsUpdate field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.
Action
Update Workbook RangeUpdates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.
Action
Update Workbook WorksheetUpdates properties of a worksheet in an Excel workbook stored in OneDrive. Use this action when you need to rename a worksheet, change its position (tab order), or modify its visibility state. At least one of name, position, or visibility must be provided in the request. The worksheet is identified by its ID or display name within the specified workbook.
Action
Write Workbook CellUpdates the value, formula, or format of a specific cell in an Excel workbook stored in OneDrive. Use this action when you need to write data to a single cell at a specific row and column position. The row and column parameters are 0-indexed (row 0 is the first row, column 0 is column A).
Trigger
Email SentFires when an email is sent from the mailbox (optionally filtered by query).
Trigger
New Gmail MessageFires when a new email arrives (optionally filtered by query/labels).
Action
Add Label To EmailAdds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
Action
Batch Delete MessagesTool to permanently delete multiple Gmail messages in bulk, bypassing Trash with no recovery possible. Use when you need to efficiently remove large numbers of emails (e.g., retention enforcement, mailbox hygiene). Use GMAIL_MOVE_TO_TRASH instead when reversibility may be needed. Always obtain explicit user confirmation and verify a sample of message IDs before executing. High-volume calls may trigger 429 rateLimitExceeded or 403 userRateLimitExceeded errors; apply exponential backoff.
Action
Batch Modify MessagesModify labels on multiple Gmail messages in one efficient API call. Supports up to 1,000 messages per request for bulk operations like archiving, marking as read/unread, or applying custom labels. High-volume calls may return 429 rateLimitExceeded or 403 userRateLimitExceeded; apply exponential backoff.
Action
Create Email DraftCreates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
Action
Create LabelCreates a new label with a unique name in the specified user's gmail account.
Action
Delete DraftPermanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
Action
Delete LabelPermanently DELETES a user-created Gmail label from the account (not from a message). WARNING: This action DELETES the label definition itself, removing it from all messages. System labels (INBOX, SENT, UNREAD, etc.) cannot be deleted. To add/remove labels from specific messages, use GMAIL_ADD_LABEL_TO_EMAIL action instead.
Action
Delete MessagePermanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Action
Delete ThreadTool to immediately and permanently delete a specified thread and all its messages. This operation cannot be undone. Use threads.trash instead for reversible deletion.
Action
Fetch EmailsFetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Action
Fetch Message By Message IdFetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
Action
Fetch Message By Thread IdRetrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
Action
Forward MessageForward an existing Gmail message to specified recipients, preserving original body and attachments. Verify recipients and content before forwarding to avoid unintended exposure. Bulk forwarding may trigger 429/5xx rate limits; keep concurrency to 5–10 and apply backoff. Messages near Gmail's size limits may fail; reconstruct a smaller draft if needed.
Action
Get AttachmentRetrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.
Action
Get ContactsFetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.
Action
Get DraftRetrieves a single Gmail draft by its ID. Use this to fetch and inspect draft content before sending via GMAIL_SEND_DRAFT. The format parameter controls the level of detail returned.
Action
Get FilterTool to retrieve a specific Gmail filter by its ID. Use when you need to inspect the criteria and actions of an existing filter.
Action
Get LabelGets details for a specified Gmail label. Use this to retrieve label information including name, type, visibility settings, message/thread counts, and color.
Action
Get PeopleRetrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.
Action
Get ProfileRetrieves key gmail profile information (email address, message/thread totals, history id) for a user.
Action
Import MessageTool to import a message into the user's mailbox with standard email delivery scanning and classification. Use when you need to add an existing email to a Gmail account without sending it through SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages.
Action
Insert MessageTool to insert a message into the user's mailbox similar to IMAP APPEND. Use when you need to add an email directly to a mailbox bypassing most scanning and classification. This does not send a message.
Action
List DraftsRetrieves a paginated list of email drafts from a user's gmail account. use verbose=true to get full draft details including subject, body, sender, and timestamp.
Action
List HistoryTool to list Gmail mailbox change history since a known startHistoryId. Use for incremental mailbox syncs. Persist the latest historyId as a checkpoint across sessions; without it, incremental sync is unreliable. An empty history list in the response is valid and means no new changes occurred.
Action
List LabelsRetrieves a list of all system and user-created labels for the specified gmail account.
Action
List Smime InfoLists S/MIME configs for the specified send-as alias. Use when you need to retrieve all S/MIME certificate configurations associated with a specific send-as email address.
Action
List ThreadsRetrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination.
Action
Modify Thread LabelsAdds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.
Action
Move Thread To TrashMoves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.
Action
Move To TrashMoves an existing, non-deleted email message to the trash for the specified user.
Action
Patch LabelPatches the specified label.
Action
Remove LabelPermanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels.
Action
Reply To ThreadSends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.
Action
Search PeopleSearches contacts by matching the query against names, nicknames, emails, phone numbers, and organizations, optionally including 'other contacts'.
Action
Send DraftSends the specified, existing draft to the recipients in the to, cc, and bcc headers.
Action
Send EmailSends an email via gmail api using the authenticated user's google profile display name, requiring `is html=true` if the body contains html and valid `s3key`, `mimetype`, `name` for any attachment.
Action
Settings Send As GetTool to retrieve a specific send-as alias configuration for a Gmail user. Use when you need to get details about a send-as email address including display name, signature, SMTP settings, and verification status. Fails with HTTP 404 if the specified address is not a member of the send-as collection.
Action
Untrash MessageTool to remove a message from trash in Gmail. Use when you need to restore a previously trashed email message.
Action
Untrash ThreadTool to remove a thread from trash in Gmail. Use when you need to restore a deleted thread and its messages.
Action
Update DraftUpdates (replaces) an existing Gmail draft's content in-place by draft ID. This action replaces the entire draft content with the new message - it does not patch individual fields. All fields are optional; if not provided, you should provide complete draft content to avoid data loss.
Action
Update LabelTool to update the properties of an existing Gmail label. Use when you need to modify label name, visibility settings, or color.
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 OneDrive
OneDrive to Google DriveGoogle Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...
OneDrive to Check CherryCheck Cherry is the all-in-one platform to manage your Photobooth, Photography Studio, Mobile DJ business...
OneDrive to GoodAPI: Plant TreesGoodAPI: Plant Trees is an app that allows you to seamlessly plant trees that help restore natural habits...
OneDrive to Google BooksREST API for searching Google's book catalog, retrieving book metadata, and managing user bookshelves.
OneDrive to Mistral AIMistral AI is a platform for building, customizing, and deploying advanced AI models and agents for...
OneDrive to HubSpotHubSpot is your all-in-one stop for all of your marketing software needs.
More into Gmail
Slack to GmailSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
Google Drive to GmailGoogle Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...
Mailchimp to GmailMailchimp marketing automation and email platform.
Stripe to GmailStripe is a payment processing platform for online businesses.
Shopify to GmailShopify is a commerce platform for online stores and retail point-of-sale.
ActiveCampaign to GmailActiveCampaign is a marketing automation, email marketing, and CRM platform.
Questions
OneDrive and Gmail, answered
What can start an automation from OneDrive?
Any of OneDrive's 9 triggers in the catalog, including File Updated, Item Moved or Renamed, New Version Created and OneDrive File Created Trigger. Describe the moment in plain language and your agent picks the right one.
What can your agent do in Gmail when something happens in OneDrive?
Any of Gmail's 41 actions, including Create Email Draft, Create Label, Send Draft and Send Email. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from Gmail to OneDrive?
Yes. When something happens in Gmail, your agent can act in OneDrive too. This page covers both directions: Gmail's triggers and OneDrive's actions are listed here as well.
Do I have to build a connector for OneDrive or Gmail?
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 OneDrive and Gmail 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.