Shopify
In one line: Connect Shopify so your UnleashX agent can look up and refund orders, ship them with tracking, keep products and stock accurate, manage customers and storefront content, and start a workflow the moment an order lands.
1. Overview
Shopify is a commerce platform: products and variants, inventory across locations, orders and their fulfillments, customers, and the storefront’s pages and blogs. Once connected to UnleashX, your agent works against the Shopify Admin API on the store’s behalf. It can search and read orders, refund them in full or in part, email an invoice, and ship a fulfillment order with tracking. It can create, update and delete products, add and reprice variants, and adjust or set stock at a specific location. It can manage customers, collections, storefront pages, blog articles and metafields, and build a draft order and turn it into a real one. Eight polling triggers let a workflow start on its own — a new order, a paid order, a cancelled order, a refund, a new customer, a new product, a new draft order, or a new page. Connecting Shopify to UnleashX turns store operations into conversation and automation: “where’s my order” gets answered and, if needed, refunded; a new order fires a workflow; stock corrections land at the right location without anyone opening the admin.2. What you’ll need
- A Shopify store and its shop domain (
your-store.myshopify.com). - A Shopify Partner account to create the custom app — partners.shopify.com, free to sign up.
- Permission to install an app on the store (store owner, or staff with app-install rights).
- The app’s Client ID and Client Secret once it’s installed.
Shopify no longer issues the old non-expiring
shpat_ Admin API access tokens for newly created admin custom apps. UnleashX stores the Client ID and Client Secret and exchanges them for a short-lived Admin API token automatically, refreshing it about every 24 hours — which is why you supply two values instead of a token.3. Get your credentials
1
Create the app in the Partner Dashboard
Go to partners.shopify.com → Apps → Create app. Name it “UnleashX”.
2
Set it to custom distribution
In the app’s Distribution settings choose Custom distribution and enter the store’s
your-store.myshopify.com domain. This locks the app to that one store.3
Request the Admin API scopes
In Configuration → Admin API integration, enable the scopes for the tools you plan to use (table below).
4
Install the app on the store
Generate the install link from the app’s overview and install it on the store. Nothing authenticates until the app is installed.
5
Copy the Client ID and Client Secret
Open the app’s Client credentials (also shown as API key and API secret key) and copy both.
Scopes this app needs
Grant only what your workflows use. When a call fails for a missing scope, the error names the scope it wanted.You’ll provide three things when connecting: the shop domain, the Client ID, and the Client Secret.
4. Connect on UnleashX
1
Open your agent
Sign in at https://www.tryunleashx.com and open the agent you want to connect.
2
Open Data Connectors
In the agent, go to Data Connectors and find Shopify.
3
Fill in the fields
Click Connect / Add / Configure and enter:
4
Confirm
Save. The status will switch to a Connected badge.
Each connection is one store. To run several stores, add one connection per store — every tool also accepts an optional
shop_domain to target a specific connected store explicitly.Use Shopify in a Workflow
Once connected, you can add Shopify to any automation from the Workflows builder. Its triggers and tools appear in the Apps panel, marked with an MCP badge.1
Add a trigger node
Open Workflows → New Workflow. On the canvas, click + Add Trigger. In the Paths panel, open the Apps tab and select Shopify — its Triggers are listed underneath. Use the search box if you have many connectors.
2
Add an action node
Click the + below any node to add a step, then pick Shopify again — this time the panel lists its Actions.
3
Configure the step
Fill in the fields for the trigger or action you picked. Required fields are marked with a red asterisk (*).
4
Add or select your account
Under Selected account, choose an already-connected account, or click Add Account to connect one now.
5
Save and test
Click Save. Use Test to verify the step, then toggle Publish when the workflow is ready.
The steps are the same for every connector. For the full workflow builder guide, see Using MCP in Workflows.
5. Available tools
Names match the Workflows Apps panel, which lists them alphabetically; they’re grouped here by what they act on. The Tool ID is what the agent calls behind the scenes. Every tool also takes an optionalshop_domain when you have more than one store connected.
Orders
Fulfillment
Products and variants
Inventory
Customers
Draft orders
Collections and content
Tags, metafields and store
Triggers
Refunds and stock changes are idempotent. A retried step that sends the identical payload is collapsed by Shopify rather than refunding twice or double-counting stock. When you genuinely mean to repeat an identical operation — refunding the same amount a second time on purpose — pass your own
idempotency_key to force it through.6. Example usage
“Where’s order 1042, and refund the shipping — it arrived late.” Runs Get Order → Refund Order with a shipping amount. “Ship order 1042 with DHL tracking 1234567890.” Runs List Fulfillment Orders → Create Fulfillment with the tracking number and company. “We found three damaged units of SKU-22 at the Mumbai warehouse.” Runs Search Product Variants → List Locations → Adjust Inventory withdelta: -3.
“When a paid order comes in over ₹10,000, tag it VIP and tell the team on Slack.”
A workflow starts on On New Paid Order, branches on the total, then runs Add Tags and your messaging connector.
“Build a quote for this wholesale buyer and send them a payment link.”
Runs Create Draft Order and returns the invoice URL; Complete Draft Order converts it once they pay.
7. Permissions & data access
UnleashX CAN:- Read and search orders, products, variants, customers, collections, pages, articles, inventory and metafields.
- Refund orders, send invoices, and create fulfillments with tracking.
- Create, update and delete products and pages; adjust and set stock; manage tags and metafields.
- Create draft orders and complete them into real orders.
- Start workflows on eight store events.
- Do anything the installed app’s scopes don’t allow — the failure names the missing scope.
- Take payments or complete checkout on a shopper’s behalf.
- Change store settings, themes, staff accounts or billing.
- Reach any store other than the one the app is installed on.
8. Troubleshooting
For general connector issues, see /mcp/integrations.
9. Frequently asked questions
Is my store data stored by UnleashX? No. Tools call the Shopify Admin API live and return the result. UnleashX keeps only the bookkeeping a polling trigger needs to know what it has already seen. Why Client ID and Client Secret instead of an access token? Shopify’s Admin API token for a custom app is now short-lived. UnleashX mints a fresh one from the two values roughly every 24 hours, so there’s nothing for you to rotate manually. What happened to the cart and newsletter tools? They used the Storefront API and are gone. Order creation is now Create Draft Order → Complete Draft Order; customer sign-up is Create Customer. Can the agent take payments? No. It can produce a draft order with an invoice URL, and the buyer pays through Shopify’s checkout. Can I connect more than one store? Yes. Add one connection per store, and useshop_domain on a step when you need to be explicit about which one it targets.
Which API version is this?
Admin GraphQL 2026-07. The REST Admin API isn’t used — it’s been legacy since October 2024 and unavailable to new custom apps since April 2025.
10. References
- Shopify Admin GraphQL API: https://shopify.dev/docs/api/admin-graphql
- Custom distribution apps: https://shopify.dev/docs/apps/launch/distribution
- Client credentials grant: https://shopify.dev/docs/apps/build/authentication-authorization/client-credentials
- Admin API access scopes: https://shopify.dev/docs/api/usage/access-scopes

