Build it
What do you want OneDrive and Whop 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 Whop
Triggers and actions 25 triggers · 54 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
Dispute UpdatedTriggers when a payment dispute on your Whop account changes, for example when its status moves or the deadline to respond is set.
Trigger
Failed PaymentTriggers when a payment on your Whop account fails, giving you the amount, the reason it failed and when Whop will try again.
Trigger
Invoice PaidTriggers when an invoice on your Whop account is paid, giving you the invoice, its amount and who paid it.
Trigger
Invoice Past DueTriggers when an invoice on your Whop account passes its due date without being paid.
Trigger
Membership CanceledTriggers when a Whop membership ends and the customer loses access, whether they cancelled or their payments stopped.
Trigger
Membership Scheduled to CancelTriggers when a Whop customer schedules their membership to end at the close of the current billing period, or reverses that decision.
Trigger
New DisputeTriggers when a buyer opens a new chargeback dispute on a Whop payment.
Trigger
New Dispute AlertTriggers when Whop receives an early dispute alert from the card network, before a formal chargeback is opened.
Trigger
New InvoiceTriggers when a new invoice is created for a customer in Whop.
Trigger
New Member JoinedTriggers when a new member joins — a Whop membership becomes active for a customer.
Trigger
New PaymentTriggers when a new payment is created in Whop.
Trigger
New WaitlistTriggers when someone signs up for a waitlisted plan in Whop, creating a new waitlist entry.
Trigger
Payment Method SavedTriggers when a customer successfully saves a payment method in Whop for future use.
Trigger
Payment PendingTriggers when a Whop payment moves into a pending state, waiting to clear.
Trigger
Payment RefundedTriggers when a payment is refunded in Whop.
Trigger
Waitlist ApprovedTriggers when a waitlist entry is approved in Whop, granting the person access to the plan.
Action
Add Free Days to MembershipAdds free days to a Whop membership, pushing out its next renewal date, expiration or trial. Useful for service credits, support gestures and referral rewards.
Action
Approve WaitlistApproves a pending waitlist entry in Whop so the applicant is granted access. Whop processes the approval in the background and returns a job ID.
Action
Cancel MembershipCancels a Whop membership, either at the end of the current billing period or straight away.
Action
Create Checkout SessionCreates a Whop checkout session for a plan and returns the purchase link you send the customer to.
Action
Create InvoiceCreates an invoice in Whop for a new or existing customer, either emailed as a payment link or charged automatically. Anything you leave blank is left out of the request.
Action
Create LeadCreates a lead in Whop to track someone who showed interest in a product, along with where they came from.
Action
Create PaymentCharges a Whop member's saved payment method, either for an existing plan or for a new plan you describe inline. Anything you leave blank is left out of the request.
Action
Create Promo CodeCreates a discount code customers can enter at checkout on Whop, as either a percentage or a flat amount off, with optional limits on who can use it and how often.
Action
Deny WaitlistDenies a pending waitlist entry in Whop so the applicant is turned down, and returns the updated entry.
Action
Find EntriesFinds waitlist entries on your Whop account, with optional filters for status, product, plan and when they were submitted.
Action
Find EntryLooks up a single Whop waitlist entry by its ID and returns its status, who applied and what they applied for.
Action
Find InvoiceLooks up a single Whop invoice by its ID and returns its status, amount, line items and who it was sent to.
Action
Find LeadLooks up a single Whop lead by its ID and returns who they are, what they were interested in and whether they have become a paying customer.
Action
Find MemberLooks up a single member of your Whop company by ID and returns their contact details, access level and how much they have spent.
Action
Find MembershipLooks up a single Whop membership by its ID and returns its status, renewal dates, the customer and what they are subscribed to.
Action
Find PaymentLooks up a single Whop payment by its ID and returns its status, amounts, card details and what it was for.
Action
Find PlanLooks up a single Whop plan by its ID and returns its pricing, billing period, visibility and purchase link.
Action
Find ProductLooks up a single Whop product by its ID and returns its name, visibility, member count and store details.
Action
Find ProductsLists the products on your Whop company, with optional filters for visibility and paging.
Action
Find RefundLooks up a single Whop refund by its ID and returns the amount, its processing status and the payment it came from.
Action
Get Payment FeesLists the fees taken out of a Whop payment, such as processing and affiliate fees, with the amount and type of each.
Action
Pause MembershipPauses billing on a Whop membership, optionally resuming automatically on a date you choose.
Action
Refund PaymentRefunds a Whop payment in full, or by a partial amount you specify.
Action
Resume MembershipResumes billing on a Whop membership that was paused.
Action
Unarchive AffiliateRestores an archived Whop affiliate so they can earn commissions again.
Action
Uncancel MembershipReverses a pending cancellation so a Whop membership keeps renewing.
Action
Update LeadUpdates the referrer or your own stored data on an existing Whop lead.
Action
Update MembershipUpdates your own stored data on an existing Whop membership.
Action
Void InvoiceVoids a Whop invoice so it can no longer be paid.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.