Skip to content
Try Free →

Add an AI support agent to your Shopify store

To add an AI support agent to Shopify, point AskVault at your storefront so it learns your pages, then paste one line of code into your theme to show the chat. Connect Shopify afterwards and the agent can also answer "where is my order?" with live status and a tracking link.

The chat works on every Shopify plan, including those without Shopify Plus. Connecting Shopify needs the Starter+ plan.

Before you start

  • An AskVault account. The Free plan is enough to try the agent on your real store.
  • Your storefront address, for example https://yourstore.com.
  • Admin access to your Shopify store.

Steps

  1. Teach the agent your store.

    Open Knowledge in the sidebar, under Your agent, and click Add knowledge. Choose your website and paste your storefront address.

    Shopify publishes a sitemap at /sitemap.xml, which AskVault reads to find your product, collection, policy and blog pages. Each page becomes answerable as soon as it is read, so you can carry on while the rest finishes.

  2. Try a few questions. Ask "Do these jeans run small?", "What is your return policy on sale items?" and "Do you ship to Canada?". Each answer lists the pages it used. Use the Playground (AI Agent › Playground) or Test › Chat in the new dashboard. If an answer is weak, add a saved answer with the exact wording you want.

  3. Put the chat on your store. Copy your script tag from the web widget page, then add it to your theme: with a Custom Liquid section (no theme code to edit) or in theme.liquid.

    Open Channels & Apps in the sidebar and, on the Channels tab, open the website widget to copy your install line. In Shopify admin open Online Store › Themes › Customize, add a Custom Liquid section in the footer, paste the line and click Save. There is no theme code to edit.

    Open your storefront in a private window. The chat launcher appears in the corner.

Connect Shopify for order status and your catalogue

Starter+

Connecting lets the agent look up orders and read your product catalogue.

Open Channels & Apps, choose the Apps tab, find Shopify and click Connect. Enter your shop address, for example your-store.myshopify.com. Pasting the full address, the address of your Shopify admin or just the store name (your-store) works too. Your own domain, such as yourstore.com, does not: your myshopify.com address is listed in Shopify admin under Settings › Domains.

Shopify asks you to approve four read-only permissions: products, orders, online store pages and legal policies. AskVault does not ask for the read_customers permission, but an order Shopify returns carries the customer's email and phone, which AskVault uses to check who is asking. The access token is stored encrypted, and card details stay with Shopify.

What connecting does

  • Order status. The agent asks for the order number plus the email used at checkout. For an order with no email, it compares the last digits of the phone number on the order instead (at least 7). Knowing an order number alone never unlocks an order. It replies with status and a tracking link. Shopify's standard order access covers about the last 60 days. See order status.
  • Catalogue. An initial catalog sync runs in the background when you connect, reading up to 2,000 products so the agent can recommend them at once. After that, Shopify's product webhooks keep changes flowing in. See answer product questions.
  • One store per workspace. For a second store, create a second workspace and connect it there.

If Shopify refuses AskVault's access after you connect, the Shopify row on the Apps tab says Needs you and explains what went wrong. Click Connect again (it reuses your shop address) or Try again, whichever the row offers.

To pull one product in sooner, edit and save it in Shopify. To re-read a page you already crawled, select it on the Knowledge page and use Resync selected.

Shopify actions

Starter+

Besides order status and product recommendations, four actions go beyond answering from text. Search Products and Get Cart need Starter and are on by default once your store is connected, unless you switch them off. Update Cart and Tag an Order need Growth and are off until you switch them on. All four are in Automation › Skills (new dashboard: Behaviour › Actions).

In development: selling on every plan. Connecting your store, Search Products, Get Cart and Update Cart will work on every plan, Free included. Each reply still costs message credits as usual. Tag an Order keeps the Growth plan.

ActionWhat it doesWhat it needs
Search ProductsSearches your live catalogue and replies with product cards: image, current price, link. When an item is on sale, the card also shows its regular price struck through.Your Shopify connection.
Get CartReads the cart the shopper's widget reports in this conversation and links to your store's cart page.Your Shopify connection and the chat widget on your store.
Update CartAdds a variant to the shopper's cart. The agent is told to ask for a yes first; AskVault does not yet enforce that step itself.A Storefront API access token, which AskVault has no way to add yet, so this action cannot run today.
Tag an OrderAdds tags such as return-requested to an order so your own Shopify flows pick them up.Permission to write orders. AskVault does not request it yet, so this action cannot run today.

Without the token, Update Cart reports a configuration problem. So does Get Cart when the widget has not reported a cart, rather than claiming the cart is empty.

Show how far a cart is from free shipping

Rolling out, not yet switched on. When it is on, the chat adds one line after a shopper adds a product to your cart from the chat: "Add $12.50 more for free shipping", or "You've got free shipping" once the cart total reaches it. The total is your store's own cart total, after discounts and before shipping. The chat widget's own cart adds up list prices, before any discounts, so it only says "Free shipping on orders of $50 or more" and never shows how much is left.

AskVault takes the amount from your Shopify settings: your automatic free-shipping discounts and your shipping rates that are free above an order total. For that it asks for two read-only permissions, read_shipping and read_discounts. A store connected earlier gets them only when you connect Shopify again. Until then AskVault uses your confirmed shipping facts. The line appears only when every shipping zone gets free shipping from the same order total, in one currency.

When AskVault can't read all of it, it uses the free-delivery amount in your confirmed shipping facts instead. That happens before you approve the two permissions, when a rate comes from a carrier, when more than one shipping profile has rates, or when your store sets its shipping in Markets. If neither source gives one amount, the line doesn't appear. AskVault never guesses an amount and never converts currencies, so a shopper paying in another currency sees no line. A change to your Shopify settings reaches the chat within about 20 minutes.

See the shopper's real cart in the chat

In development, not yet available. This describes how it will work once it is switched on.

When the chat adds products to your store's cart, its cart button shows the shopper's real Shopify cart, including items added from your theme. Each line shows the product, its option, the subscription plan when the shopper chose one, the quantity and the line price, with the product photo when Shopify has one. Below the lines are any discount codes on the cart, the names of automatic discounts on the whole order, and your store's own subtotal. A discount on a single product shows in that line's price. The chat never works out a saving itself.

The cart in the chat is read-only: it never changes quantities or removes items. A View cart link takes shoppers to your cart page for that. A product added from the chat may not show on your theme's cart icon until the page reloads. Checkout opens your store's checkout. The chat lists up to 20 lines and says how many more are in a bigger cart. If the cart can't be read, the chat says so and links to your cart page.

Nudge shoppers on the cart page

Growth+

Create a proactive rule that opens the chat on pages whose address contains /cart. In the previous dashboard open Automation › Proactive; in the new one open Automation in the sidebar, then Proactive. AskVault never sees Shopify's checkout, so there is no built-in abandoned-checkout trigger.

What the agent does not do

  • It does not create orders, exchanges, discount codes or partial refunds.
  • It does not send follow-ups after an order ships.
  • It does not know how many are left. Search Products says whether an option is available now. Otherwise stock and prices are as of the last read.
  • It quotes prices in your storefront's single configured currency.

When a shopper needs something else, the agent can hand the chat to your team.

Check it worked

  1. Your storefront shows the chat launcher in a private window.
  2. A question about your return policy gets an answer that links to your policy page.
  3. After connecting, a test order number and its email return the order status.

If it doesn't work

The launcher does not appear. Open the store in a private window, because Shopify caches themes for signed-in admins. Check you edited the published theme, not a draft.

Two chat bubbles appear. Another chat app, such as Shopify Inbox, is still installed. Remove it or move one launcher to the other side under Appearance.

"I couldn't find that order." Ask the shopper for the exact order number, including the #, and the checkout email. Orders older than about 60 days cannot be looked up.

Answers are out of date. Select the changed pages on the Knowledge page and click Resync selected. See keep your knowledge up to date.