Build it
What do you want OneDrive and Shopify 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 Shopify
Triggers and actions 26 triggers · 88 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 cartTriggered when a cart is created.
Trigger
New customerPolling trigger that fires for each newly created Shopify customer. Fetches the 50 most recently created customers (sorted by creation date, newest first) via the GraphQL Admin API customers connection. Migrated from the REST GET /customers.json?order=created_at+desc endpoint; preserves the same per-customer output fields (id, email, first_name, last_name, phone, created_at, updated_at, state, tags).
Trigger
New customer (instant)Triggered when a customer is added.
Trigger
New orderPolls Shopify for orders (most recent first), returning a list of orders. Ported from the REST GET /orders.json (status=any, limit=50) to the GraphQL Admin API orders connection query.
Trigger
New order (instant)Triggered when an order is created.
Trigger
New paid orderTriggered when an order is paid.
Trigger
New productTriggers when a new product is created in Shopify. Polls the GraphQL Admin API products connection (first 50, sorted by createdAt ascending) and returns each product's id, title, handle, vendor, product_type, status, created_at, updated_at. GraphQL port of the REST GET /products.json?order=created_at+asc trigger; id is the product's legacyResourceId (numeric) to preserve REST semantics.
Trigger
Order fulfilledTriggered when an order is fulfilled.
Trigger
Order partially fulfilledTriggered when an order is partially fulfilled.
Trigger
Two-way sync new or updated customersPolling fetch body for the two-way customer sync trigger. Lists Shopify customers ordered oldest-to-newest by updated_at (GraphQL customers connection, sortKey: UPDATED_AT, reverse:false, first:250) so newly created or updated customers are surfaced for two-way synchronization. Returns id (numeric legacyResourceId), email, first_name, last_name, phone, created_at, updated_at — same fields and ordering as the legacy REST GET /customers.json?order=updated_at asc.
Trigger
Updated cartTriggered when a cart is updated.
Trigger
Updated customerTriggered when a customer is updated.
Trigger
Updated fulfillment statusPolling trigger: fetches recently-updated Shopify orders (any status) and returns each order's fulfillment status. Migrated from REST GET /orders.json to the GraphQL Admin API orders connection query, filtering by updated_at and returning id, name, order number, fulfillment/financial status and email.
Trigger
Updated orderPolls Shopify for recently updated orders (any status), most-recently-updated first. GraphQL Admin API equivalent of GET /orders.json?status=any&order=updated_at+desc&limit=50, using the orders connection sorted by UPDATED_AT descending. Returns an orders array.
Trigger
Updated order (instant)Triggered when an order is updated.
Trigger
Updated order payment statusPolling trigger: fires when an order's payment (financial) status changes. Lists the 50 most recently updated orders via the GraphQL Admin API (orders sorted by UPDATED_AT desc) and dedups on order id + financial status so a new event fires only when the payment status changes.
Trigger
Updated productPolling trigger: fires for products that were recently updated. Fetches up to 50 products sorted by update time (most recent first) via the Shopify GraphQL Admin API, projecting id, title, handle, vendor, product_type, status, created_at and updated_at for each.
Action
Add customerCreate a new Shopify customer (first name, last name, email, phone, note, tags) via the GraphQL Admin API customerCreate mutation. Returns the created customer's id, email, phone, first/last name and created_at. (GraphQL port of the legacy REST POST /customers.json.)
Action
Add metafield to customerAdd (set) a metafield on a Shopify customer, with the customer as the metafield owner. Inputs: Customer ID, Namespace, Key, Type (default single_line_text_field), Value. Returns the created/updated metafield's id, namespace, key, type, value.
Action
Add metafield to productAdds a metafield to the specified product.
Action
Add or update customerCreates a new customer if the email does not exist, otherwise updates the existing customer.
Action
Add product imageAdds a new product image from the image at the specified URL.
Action
Add tags to customerAdds one or more tags to the customer with the specified email. An error occurs if more than one customer is found. Existing tags on the customer are not removed.
Action
Add tags to orderAdds the given comma-separated tags to a Shopify order (GraphQL Admin API tagsAdd mutation). Existing order tags are preserved; tagsAdd merges new tags onto the current set. Inputs: Order ID (numeric REST id, converted to a gid://shopify/Order GID), Tags (comma-separated). Returns the order GID (id) and the full resulting tag list (tags).
Action
Add transaction to orderAdd a transaction to an order. Captures payment for the order's authorized amount. Inputs: Kind (default capture), Amount, Currency, Parent Transaction ID, plus the Order ID setting. Returns the transaction id, kind, status and order id.
Action
Apply gift card adjustmentApply an adjustment (credit) to a Shopify gift card's balance. Inputs: Gift Card ID, Amount, optional Note. Returns the resulting credit transaction id, note, amount, creation time, and the gift card's numeric id.
Action
Change product option namesUpdate a Shopify product's core fields and (re)name its product options. Inputs: Product ID plus optional Title, Body HTML, Handle, Type, Published scope, Tags, Template suffix, Vendor, and Option 1/2/3 name. Returns the updated product id, title, options (name+position), and updated_at.
Action
Change product option names and valuesChange a product's option names and their values. Inputs: Product ID, Option 1/2/3 Name, Option 1/2/3 Values (comma-separated). Returns the product id, title, and the resulting options array.
Action
Complete draft orderCompletes a draft order.
Action
Create productCreates a new product.
Action
Create product variantCreates a new variant on an existing Shopify product. Inputs: SKU, Price, Weight, Barcode, Option1-3, Compare At Price, Inventory Quantity, plus the Product ID setting. Returns the created variant id, sku, price, title, option1, product_id and inventory_item_id.
Action
Delete item from locationDisconnect (deactivate) an inventory item from a location, removing the inventory level — GraphQL Admin API equivalent of DELETE /inventory_levels.json. Resolves the InventoryLevel id from inventory item + location, then runs inventoryDeactivate.
Action
Delete productDeletes an existing product.
Action
Delete product variantDeletes an existing product variant.
Action
Find custom collection by nameReturns details for the specified custom collection. If the custom collection is not found, an error occurs.
Action
Find customer by emailFind a Shopify customer by email address. GraphQL Admin API: customers(first:1, query:"email:...") connection query; returns the first matching customer's email and numeric (legacyResourceId) customer_id. Ported from REST GET /customers/search.json?query=email:.
Action
Find location by nameFind a Shopify location by its exact name and return its Location ID. Fails if no location matches or if more than one location shares the name. (GraphQL Admin API port of the REST locations.json lookup.)
Action
Find ordersFinds orders based upon search criteria. Emits the IDs of any matching orders. Use the "get order" action to fetch details for found orders.
Action
Find product by titleFinds a product by a title search. An error occurs if zero or multiple match.
Action
Find product variant by SKUFind a single Shopify product variant by its SKU. Searches product variants for an exact SKU match, fails if zero or more than one variant matches. Returns the variant's id, sku, price, title, product id, inventory item id, and the full variant object.
Action
Find product variant by titleFinds a product variant by a title search. An error occurs if zero or multiple match.
Action
Get all product ids in custom collectionReturns all products (and their numeric ids) in a given custom collection.
Action
Get Base URLReturns the connected Shopify store's base URL and derives the store subdomain (store_name) from it. Pure-compute helper; makes no Shopify API call (nothing to migrate to GraphQL).
Action
Get customerRetrieve a single Shopify customer by Customer ID. Returns the customer's id, email, phone, state, first/last name, tags, created/updated timestamps, total spent, and orders count.
Action
Get customer metafield valueGet a customer's metafield value by namespace and key. Returns its type, value, and numeric metafield id.
Action
Get fulfillment orderReturns details for the specified order ID and fulfillment order ID. If either the order or fulfillment order is not found, an error occurs. Use the "get fulfillment order ids for order" action to fetch the fulfillment order ids for an order.
Action
Get fulfillment order ids for orderGet the fulfillment order IDs for a Shopify order. Given a numeric Order ID, returns the count of fulfillment orders and their IDs.
Action
Get inventory itemReturns details for the specified inventory item.
Action
Get inventory quantityGet available inventory quantity for an inventory item, optionally filtered to a single location. Migrated from REST GET /inventory_levels.json (inventory_item_ids/location_ids) to the GraphQL Admin API inventoryItem.inventoryLevels query. Returns inventory_levels list of {inventory_item_id, location_id, available, updated_at}.
Action
Get locationsRetrieve the list of Shopify store locations (GraphQL Admin API equivalent of GET /locations.json). Returns each location's id, legacyResourceId, name, active state, and address. Ported from the legacy REST locations.json endpoint.
Action
Get metafields for customerGet all metafields for a Shopify customer by Customer ID. Returns the list of metafield records (id, namespace, key, value, type) for the customer.
Action
Get metafields for productRetrieve all metafields for a product (up to 250). Takes the numeric Product ID setting and returns the list of metafields (id, namespace, key, value, type).
Action
Get orderGet an order from Shopify by its numeric Order ID. Reads the order via the GraphQL Admin API (order(id:) query) and returns its name, email, currency, created date, total price, financial status, fulfillment status, and the full order object.
Action
Get productReturns all fields for the specified product ID. If the product is not found, an error occurs.
Action
Get product count: active productsReturns a count of active products.
Action
Get product count: all productsReturns a count of all products.
Action
Get product count: archived productsReturns the number of archived products in the Shopify store. GraphQL equivalent of GET /products/count.json?status=archived, using the productsCount query with search filter status:archived.
Action
Get product count: draft productsReturns the number of draft products in the Shopify store (status:draft). GraphQL Admin API port of the REST GET /products/count.json?status=draft endpoint; outputs a single count field.
Action
Get product metafield valueReturns the value of a single product metafield identified by Namespace and Key for the given Product ID.
Action
Get product variantGet a single Shopify product variant by its numeric Variant ID. Returns id, sku, price, title, inventory_quantity, product_id, inventory_item_id, and the full variant object.
Action
Get product variant by SKULook up a single Shopify product variant by its SKU. Searches product variants for the given SKU, fails if zero or more than one match. Returns the matched variant's id, sku, price, title, product id, inventory item id, and the full variant object.
Action
Move fulfillment order line itemChanges the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.
Action
Order - add discount codeAppend a discount code to an in-progress order object before it is submitted to Shopify. GraphQL-shaped: the discount entry carries DraftOrderAppliedDiscountInput fields (title/code, value, valueType FIXED_AMOUNT|PERCENTAGE, amount) so the assembled order is ready for the draftOrderCreate / draftOrderUpdate GraphQL mutation. Mirrors the REST builder that appended {code, amount, type} to order.discount_codes; same inputs (Code, Type, Amount, Order) and outputs (order, discount_codes).
Action
Order - add line itemAppends a line item to an in-memory order object (built by Order - initialize) before the order is created. Carries the same inputs (Variant ID, Quantity, Price, Total discount, Origin location ID, Is gift card, Fulfillment status). GraphQL port: the accumulated line item is shaped for the GraphQL draftOrderCreate lineItems input — Variant ID becomes a global ID (gid://shopify/ProductVariant/<id>) under variantId, quantity is an int, price/discount carried as appliedDiscount-friendly fields. Returns the updated order object and its JSON encoding, unchanged output contract from the REST builder.
Action
Order - add line item propertyAdds a custom line-item property (name/value pair) to the LAST line item of an in-flight Shopify order object being assembled in the Order builder chain (initialize -> add line item -> add line item property -> create). Pure in-memory mutation of the draft order; no API call. Returns the updated order object and its JSON encoding. (No REST->GraphQL change applies: this op never called the REST Admin API; it is a local order-builder helper. The eventual draftOrderCreate/orderCreate happens in the separate 'Order - create' op.)
Action
Order - add line item tax lineAdds a tax line to the last line item of an in-memory order payload (builder, no API call). This op shapes the legacy order JSON structure; it does not call Shopify. Same inputs/outputs as the REST builder. Note: this never touched the Shopify REST API, so there is no GraphQL request equivalent — per-line-item user-supplied tax_lines are a REST Order-payload construct with no GraphQL counterpart (GraphQL computes tax lines server-side).
Action
Order - createCreates a new order.
Action
Order - initializeCreate a Shopify order (GraphQL orderCreate). Builds an order from billing/shipping address, email, currency, tags, taxes and status settings and creates it via the GraphQL Admin API. Ported from the legacy REST order-initialize op; output keys order and order_id preserved (order_id is the created order's legacyResourceId).
Action
Remove tags from customerRemove one or more comma-separated tags from a Shopify customer (looked up by email). GraphQL Admin API port: finds the customer via a customers(query:"email:...") query, then calls the tagsRemove mutation with the customer GID and the tag list. Returns the customer's numeric id and remaining tags.
Action
Remove tags from orderRemoves the given comma-separated tags from a Shopify order (by Order ID). Uses the GraphQL Admin API tagsRemove mutation; tags not present are ignored. Returns the order id and its remaining tags.
Action
Send customer inviteSends an account invite to a customer specified by their email address.
Action
Two-way sync add or update a customerTwo-way sync: find a Shopify customer by email (or by the previously mapped customer id) and update it, otherwise create a new customer. Sets email, name, phone, note, tags, marketing consent and a single address. GraphQL Admin API port of the legacy REST customers create/update flow. Returns the customer id and updated_at.
Action
Update customerUpdates an existing customer.
Action
Update inventory itemUpdates a Shopify inventory item (sku, cost, tracked, country code of origin, harmonized system code). Takes the numeric Inventory Item ID.
Action
Update inventory quantitySet the absolute available inventory quantity for an inventory item at a specific location. GraphQL inventorySetQuantities mutation (name: available) replacing the REST inventory_levels/set.json endpoint. Returns the resulting available quantity, inventory item id, and location id.
Action
Update orderUpdate an existing Shopify order's financial status by Order ID. Returns the order's numeric id, name, updated timestamp, and financial status.
Action
Update order as fulfilledMarks an order's fulfillment order as fulfilled by creating a fulfillment, optionally attaching tracking number/company and notifying the customer. GraphQL fulfillmentCreateV2 mutation (replaces REST POST /fulfillments.json).
Action
Update order line item as fulfilledCreates a fulfillment for an order's fulfillment order (optionally a specific line item) with tracking info, via the GraphQL fulfillmentCreateV2 mutation. Ported from the REST POST /fulfillments.json call.
Action
Update productUpdate an existing product in Shopify (GraphQL Admin API, productUpdate mutation). Updates title, description, vendor, product type, tags, and/or status on the product identified by the Product ID setting; only provided fields are changed. Returns the product id, title, handle, status, updated timestamp, and admin GraphQL id.
Action
Update product variantUpdates an existing variant of a Shopify product — its price, compare-at price, SKU, barcode, weight and option values. Fields left blank keep their current values.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.