Build it
What do you want OneDrive and Gmail to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with OneDrive and Gmail
Triggers and actions 11 triggers · 48 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
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 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
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
Download FileDownloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.
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 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 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 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
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 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 SubscriptionsTool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.
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
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
Search ItemsSearches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.
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.
Trigger
Email SentFires when an email is sent from the mailbox (optionally filtered by query). Managed by Composio (server-side poll; ~15 min floor).
Trigger
New Gmail MessageFires when a new email arrives (optionally filtered by query/labels). Managed by Composio (server-side poll; ~15 min floor).
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
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 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
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
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 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
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 LabelsRetrieves a list of all system and user-created labels for the specified gmail account.
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 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.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.