Integration
Connect OneDrive and Square
When something happens in OneDrive or Square, your agent does the next thing in the other. Describe it 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 Square to do together?
Ask the assistant
Connect your AI client
Give your AI client this address.
https://mcp.apiant.aiAny 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 Square can do together
From OneDrive to Square
When File Updated in OneDrive
then Add catalog object in Square
When Item Moved or Renamed in OneDrive
then Add order in Square
From Square to OneDrive
When New order in Square
then Create Link in OneDrive
When New or updated customer in Square
then Update Drive Item Metadata 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 Square
Triggers and actions 12 triggers · 44 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
New orderTriggered when a new order is created at the specified location.
Trigger
New or updated customerTriggered when a customer is created or updated.
Trigger
New paymentTriggered when a new payment is received.
Action
Add catalog objectCreates a catalog object (item, variation, category, tax, discount, modifier list and more) in the Square catalog.
Action
Add orderCreates a new Square order at a location, with optional line items, taxes, discounts, service charges and a fulfillment.
Action
Add paymentCreates a payment: charges a card or payment token, or records a cash or external payment the seller received outside Square.
Action
Add refundRefund a payment.
Action
Cancel paymentCancels (voids) a Square payment that is still in the APPROVED status, i.e. a delayed-capture payment that has not been completed.
Action
Create customerCreates a new customer profile.
Action
Delete catalog objectDeletes a Square catalog object by ID, along with any objects that depend on it (for example an item's variations).
Action
Delete customerDeletes a customer profile by ID.
Action
Find catalog objectRetrieves a catalog object (item, variation, etc.) by ID.
Action
Find customerReturns customer details for the specified customer ID.
Action
Find orderRetrieves an order by ID.
Action
Find paymentRetrieves a payment by ID.
Action
List locationsLists all business locations for the connected Square account.
Action
List paymentsLists payments for the connected merchant, newest first.
Action
Search catalog objectsSearches catalog objects by type (ITEM, CATEGORY, etc.).
Action
Search customersSearches customer profiles by email, phone, or reference ID.
Action
Search ordersSearches orders for the specified location(s).
Action
Update customerUpdates an existing customer profile.
Action
Update orderUpdates an open Square order by adding or replacing fields, or clearing them. Completed or canceled orders cannot be updated.
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 HubSpotHubSpot is your all-in-one stop for all of your marketing software needs.
OneDrive to SalesforceSalesforce is a leading enterprise customer relationship management (CRM) platform.
OneDrive to SlackSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
OneDrive to Google SheetsGoogle Sheets
OneDrive to GmailGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
More into Square
OpenAI to SquareOpenAI's platform for text generation (Responses + Chat Completions), image generation (gpt-image-1 /...
Capsule CRM to SquareCapsule is an online hosted CRM system for individuals, small businesses and sales teams wanting a simple...
HubSpot to SquareHubSpot is your all-in-one stop for all of your marketing software needs.
Salesforce to SquareSalesforce is a leading enterprise customer relationship management (CRM) platform.
Slack to SquareSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
Google Sheets to SquareGoogle Sheets
Questions
OneDrive and Square, 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 Square when something happens in OneDrive?
Any of Square's 19 actions, including Create customer, Update customer, Update order and Add catalog object. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from Square to OneDrive?
Yes. When something happens in Square, your agent can act in OneDrive too. This page covers both directions: Square's triggers and OneDrive's actions are listed here as well.
Do I have to build a connector for OneDrive or Square?
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.
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.