Magento 2
E-commerceManage Magento 2 and Adobe Commerce products, orders, customers, categories, and sales documents from automated flows. Agents sync catalog and stock, invoice and ship orders, keep customer records in step, and report on sales activity through the Magento REST API.
What This Integration Enables
The Magento 2 integration gives agents read and write access across products (create, update, delete, and stock control), orders (list and get, invoice, ship, comment, hold, unhold, and cancel), customers (full lifecycle), the category tree and category-to-product assignments, and sales documents (invoices, shipments, and credit memos). List endpoints accept a simple Filters array that maps to Magento's searchCriteria, so agents narrow results by status, email, date range, or name without hand-building the verbose query format. The connector covers the operational surface a fulfillment or reporting flow needs; the surrounding flow decides what runs unattended and what stops for a person.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Scheduled Order Fulfillment
On a schedule, the agent calls List Orders filtered to a pending status and a created_at range covering the window since the last run. For each order it checks stock with Get Stock Item, then for a clean order it calls Create Invoice for Order and Create Shipment, and hands the tracking number to [ShipBob](/integrations/shipbob/) or emails the customer a confirmation. Orders that fail the stock check or trip a review rule are held with Hold Order and posted to the operations channel for a human to work.
Catalog and Stock Sync
An external system of record owns pricing and on-hand counts. The agent reads the source feed, looks up each product with Get Product by SKU, and calls Update Product and Update Stock so the storefront reflects the source of truth. When a SKU drops below its reorder point, the agent posts a note to the buying channel so the dip is visible when it happens rather than at the next stockout.
Sales Reporting Across Documents
Finance needs a weekly view of what actually happened. The agent queries List Orders, List Invoices, List Shipments, and List Credit Memos with created_at filters for the week, reconciles them per order, and posts the summary to a reporting channel or appends it to a shared sheet. The credit memos surface the refunds, so the report shows net sales without anyone exporting four separate CSVs.
Human-in-Loop Highlight
Cancelling an order is a decision a store cannot cleanly take back, so the agent proposes the cancellation and stops. When an exception flow reaches a candidate for cancellation, whether a failed fraud check, an out-of-stock backorder, or a customer request, the agent gathers the order, the customer, the totals, and the reason, then posts to the operations channel: "Cancel requested for order [number], customer [name], total $[amount]. Reason: [reason]. Approve to cancel?" The agent has assembled the case; the named approver owns the keep-or-cancel call, and only after they approve does the agent call Cancel Order and notify the customer. This is [human-in-the-loop](/concepts/human-in-the-loop/): the agent pauses on its own, assembles the context and the choices, routes to the approver through the channel they already use, such as [Slack](/integrations/slack/), and resumes the instant they respond.
Agent Capabilities
17 actionsProducts
3- List Products / Get Product Search the catalog with searchCriteria filters, or pull one product by SKU with price, status, visibility, and custom attributes. Used to find products before acting on them or to feed catalog data downstream.
- Create Product / Update Product / Delete Product Full product lifecycle. Used to onboard SKUs from a supplier feed, adjust pricing or attributes, and retire end-of-life items.
- Get Stock Item / Update Stock Read a product's stock item (quantity, stock status, and the item_id needed to update it), then set quantity and in-stock status. Used to sync on-hand counts from a WMS or reconcile after a delivery.
Orders
6- List Orders / Get Order Search orders with searchCriteria filters (status, customer_email, created_at), or pull one order with line items, totals, and addresses. Used to work new orders and to reconcile.
- Create Invoice for Order Creates an invoice for an order, optionally capturing payment and notifying the customer. Used to advance an order once it qualifies for fulfillment.
- Create Shipment Creates a shipment for an order, optionally with items and tracking numbers, and can notify the customer. Used to book fulfillment and share tracking.
- Add Order Comment Adds a comment to an order's status history, optionally changing status and notifying the customer. Used to record fulfillment updates and customer communication.
- Cancel Order Cancels an order in a cancelable state. This is the irreversible step a human-in-loop approval gate sits in front of, so a person owns the keep-or-cancel call.
- Hold Order / Unhold Order Places an order on hold so it cannot be invoiced or shipped, then releases it. Used to pause an order for review and resume it once cleared.
Customers
2- List Customers / Get Customer Search customers with searchCriteria filters, or pull one customer with group, store, and address book. Used to look up buyers or mirror records into a CRM.
- Create Customer / Update Customer / Delete Customer Full customer lifecycle. Used to keep customer records in step with the CRM and marketing platform.
Categories
3- List Categories / Get Category Read the category tree from a root, or pull one category with its parent, status, and attributes. Used to navigate and audit the catalog structure.
- Create Category Creates a category under a parent. Used in storefront restructure and seasonal merchandising flows.
- Get Products in Category Retrieves the products assigned to a category with SKU and position. Used in merchandising and reporting.
Sales Documents
3- List Invoices / Get Invoice Search invoices with searchCriteria filters, or pull one invoice with line items and totals. Used in reconciliation and finance reporting.
- List Shipments Retrieves shipments with searchCriteria filters. Used to report on fulfillment progress.
- List Credit Memos Retrieves credit memos (refunds) with searchCriteria filters. Used to surface refunds in net-sales reporting.
Start building with Magento 2
$100 in credits. No card required. Connect in minutes.