Action integration
Shopify AI agent for order status, products and draft orders
Connect a Shopify store and let a Berrydesk agent look up orders and tracking, check stock, build draft orders and create discount codes.
- 11 Shopify actions to choose from
- Read orders, products, stock and customers
- Draft orders and discount codes
What the Shopify integration does
Most Shopify support traffic is a handful of questions: where is my order, is this in stock, can I change what I bought, do you have a code. The Shopify integration gives a Berrydesk agent live access to the store behind those questions, so it answers from your real order and product data instead of from a help-center article.
You connect the store once at the workspace level, then add only the Shopify actions each agent needs. An agent that only answers shipping questions gets the order lookup actions and nothing that can create a discount. Each action is a separate switch on the agent's Actions page, and the agent can only call the ones that are on.
The 11 Shopify actions
| Action | What the agent can do with it |
|---|---|
| Search Products | Find products in the connected store by title. |
| Get Product | Fetch one product by ID or handle, with variants and inventory. |
| Check Inventory | Read the current available stock for a variant. |
| Search Orders | Find orders by order number, customer email or status (open, closed, cancelled). |
| Get Order | Read one order: status, shipping address, fulfillments with carrier, tracking number and link, plus refund and transaction records. |
| Search Customers | Find a customer by email, phone or name. |
| Create Draft Order | Build a draft order from variants and quantities, optionally with a note, shipping address and a discount. Returns an invoice link. |
| Send Draft Invoice | Email a draft-order invoice to the customer. |
| Create Discount Code | Create a percentage or fixed-amount code with an optional usage limit, one-use-per-customer rule and start and end dates. |
| Storefront Search | Search products the way a shopper sees them, respecting what you have published. Needs a Storefront API token. |
| Storefront Cart + Checkout | Create a cart and return Shopify's hosted checkout URL. Needs a Storefront API token. |
Example: an order status chat
Customer: "Where's my order #1042? It's been a week." The agent calls Search Orders with the order number, finds one match, then calls Get Order for the detail. The reply comes straight from the fulfillment record: "Order #1042 shipped on Tuesday with a carrier tracking number, and it's marked partially fulfilled. The jacket is on the way; the scarf is still being packed. Here's the tracking link for the jacket."
The same data covers split shipments, which is where generic bots go wrong. Because the agent reads fulfillments one by one, it can say which items have moved and which have not, instead of reporting one status for the whole order.
A second common flow is a pre-sale question. Customer: "Do you have the Merino crew in medium?" The agent calls Search Products, then Check Inventory on the medium variant, and answers with what is actually on the shelf. If the customer wants it, Create Draft Order builds the cart with that variant and Send Draft Invoice emails a payment link. Shopify, not Berrydesk, hosts the invoice and takes the payment.
How to set it up
- 1
Connect the store
Open Settings, then Integrations, find Shopify under E-Commerce & Payments and choose Connect Shopify. Enter your store domain, then approve the install on Shopify.
- 2
Approve the scopes
Berrydesk asks for read access to products, orders, customers and inventory, plus write access to draft orders and discounts. It does not ask for permission to edit products or fulfill orders.
- 3
Add actions to an agent
On the agent's Actions page choose Create action and pick from the Shopify list. An action stays marked Pending Integration until a store is connected.
- 4
Write the rules
Add guidelines that say when each action is allowed, for example "only share order details after the customer gives the order number and the email on the order".
- 5
Test, then turn it on
Run a few conversations with real order numbers from a test period before you publish the agent to a channel.
What happens during install
When the install completes, Berrydesk does two extra things in the background. It requests a Storefront access token so the two Storefront actions can work, and it registers Shopify webhooks for order created, updated, cancelled and fulfilled, refund created, customer created and updated, and app uninstalled. Incoming webhooks are checked against Shopify's signature and recorded. If the app is uninstalled, the connection is marked inactive.
Those webhook events are stored for audit. They do not currently start a conversation or message a customer by themselves; the agent acts only inside a chat that the customer started.
Limits you should know about
- There is no action to cancel an order, issue a refund, edit an order, change a shipping address or start a return. The agent can read the order and explain the policy, then hand the customer to a person. Our guide on cancellations and refunds covers where to draw that line.
- The order actions search by order number or email. They do not verify who is asking. Write a guideline that requires the order number and the email on the order before details are shared, and keep Get Order off any agent that talks to anonymous visitors unless you have a rule like that.
- The agent cannot create or change products, collections or inventory.
- Draft orders are invoices. The customer pays on Shopify's invoice page, and the order only exists in Shopify's order list once they do.
- Discount codes created by the agent are real. Decide the maximum percentage in a guideline and use the usage-limit field, or leave the action off.
- Tool results are passed to the language model that writes the reply, so turn on only the actions an agent needs.
Cost
Berrydesk has no per-seat fee and no contract. You pay per message from a prepaid balance, and new accounts start with $1.00 in free credits. See the pricing page for current rates. Shopify's own plan fees are separate and unaffected.
Frequently asked questions
Can a Berrydesk agent cancel or refund a Shopify order?
No. The Shopify actions can read orders and create draft orders and discount codes, but there is no cancel or refund action. The agent can explain your policy and pass the customer to a teammate with the order details.
Does the agent check who is asking before it shows an order?
Not by itself. The order lookup takes an order number or email and returns what it finds. Add a guideline that requires both the order number and the email on the order, and keep the order actions off agents that you do not want sharing order details.
Do I need a Storefront API token?
Only for the two Storefront actions, Storefront Search and Storefront Cart + Checkout. The Admin-based actions such as Search Orders and Check Inventory do not use it. Berrydesk requests a token during install, and the Shopify card in Settings lets you set one if it is missing.
Can I connect more than one store?
Berrydesk supports more than one connection per provider in a workspace, and an action can be pointed at a specific connection. Connect each store from Settings, then pick the right one on each action.
What happens to the connection if I uninstall the app in Shopify?
Shopify sends an app-uninstalled webhook, and Berrydesk marks the connection inactive. The Shopify actions on your agents stop working until you connect the store again.
How much does the Shopify integration cost?
Connecting a store carries no extra seat or setup fee from Berrydesk. You pay per message from a prepaid balance, starting at $0 with $1.00 in free credits for new accounts. Shopify's own fees still apply.
Build your Berrydesk agent
Train an agent on your own content, connect your channels and pay only for the messages it sends. New accounts start with $1.00 in free credits.