- CategoryEcommerce
- AuthOAuth
- Scopes9
Overview
Connect your Shopify store so the AI agent can look up orders, answer product questions and check live stock. You connect it from Connections > Integrations with your store name and the Client ID and Client Secret of a Shopify app you own, then approve the access on Shopify. The connection only reads from your store. A new order can also start a campaign, for example a WhatsApp thank-you to the buyer.
What MessageMind can do with it
- The AI agent finds an order by its number and tells the customer where it stands: fulfillment and payment status, items, totals, shipping method, tracking and refunds.
- Products you import into AI Training can be suggested by the AI agent with their prices, options and product page links.
- With Sync Products on, products you add, edit or delete in Shopify are updated in your catalog.
- Live stock checks lets the AI agent read the current stock of the exact product or option a customer asks about.
- You can describe each order status in your own words, and the AI agent uses that description when it explains an order.
- A campaign with the Order Created trigger starts for every new Shopify order, and the buyer is added to your contacts.
Requirements
- A Starter, Professional or Enterprise plan.
- Your own Shopify app, created in the Shopify Dev Dashboard. You need its Client ID and Client Secret.
- A Shopify login that is allowed to install apps on your store.
How to connect
- In the Shopify Dev Dashboard, open Apps and then your app.
- Add MessageMind's redirect URL to the app's allowed redirect URLs. MessageMind support gives you the URL (Help in the top bar).
- Copy the app's Client ID and Client Secret.
- Look up your store name. It's the part before .myshopify.com in your store's myshopify.com address, which Shopify lists under Settings > Domains.
- In MessageMind, open Connections > Integrations.
- Find the Shopify row under Ecommerce, or search for it.
- Click Connect on the row to open the Connect Your Shopify Store window. The Step-by-Step Guide link next to the title opens a video tutorial.
- Type your store name in Store Name, for example my-store.
- Paste the Client ID and Client Secret into their fields.
- Click Connect. Shopify opens and lists the read-only access being requested.
- Approve the access on Shopify.
- Shopify sends you back to the Integrations page with the message "Shopify Connected Successfully!". The Shopify row now shows a tick and a Disconnect button.
- Then import your products and turn on Sync Products and Live stock checks (see Configuration), so the AI agent can answer product and stock questions.
Authentication and permissions
- Mechanism
- You paste your Shopify app's Client ID and Client Secret into MessageMind, click Connect and approve the access on Shopify. There is nothing to renew afterwards.
- Credentials
- Your store name, plus the Client ID and Client Secret from your app in the Shopify Dev Dashboard (Apps, then your app).
Required scopes
read_ordersread_customersread_productsread_inventoryread_fulfillmentsread_locationsread_reportsread_discountsread_returns
Available data and actions
Reads
- Orders, found by order number: fulfillment and payment status, items with their options, quantities, SKUs and prices, subtotal, shipping, tax, discounts and total, shipping method and payment method.
- Shipments on an order, with carrier, tracking number, tracking link, shipped date, delivered date and estimated delivery.
- Refunds, cancellations with their reason, return status and the order note.
- The customer on the order, partly hidden: first name and last initial, a masked email, the last four digits of the phone, the city, region, country and postcode of the addresses, and how many orders they have placed.
- Your active products when you import them: name, description, product type, price, options with their prices, SKU, pictures and product page link.
- New, edited and deleted products while Sync Products is on.
- Stock of one product or option at the moment a customer asks, while Live stock checks is on. It is never stored.
- New orders, including the buyer's name, email and phone, for campaigns that use the Order Created trigger.
AI agent use cases
- A customer writes on WhatsApp: "Where is my order 1042?" The AI agent looks it up and replies that it shipped yesterday, with the carrier and the tracking link.
- Someone on your website chat asks whether the hoodie comes in medium. The AI agent checks the live stock of that option in Shopify and answers.
- A shopper on Instagram describes the gift they are looking for. The AI agent suggests matching products from your imported catalog with prices and links.
- A customer asks if their refund went through. The AI agent reads the refund amount and date from the order.
- Your orders sit as Unfulfilled for a day or two. You describe that status once, and the AI agent tells worried customers the order is being packed.
- Every new Shopify order starts a campaign that sends the buyer a WhatsApp thank-you template.
Configuration
- Click the gear button on the Shopify row in Connections > Integrations to open Shopify Settings. Make your changes and click Save. The message "Settings Updated Successfully!" confirms it, and Back returns you to the Integrations page.
- Sync Products starts off. Turn it on to keep your MessageMind catalog in step with Shopify: new and edited products are added or updated, and deleted ones are removed.
- Sync Products picks up products that are active and published to your Online Store.
- Live stock checks starts off. When it is on, the AI agent reads the stock of the product or option a customer asks about at that moment.
- Under Order Status Settings, click Add Status (Create new order status once you have one), enter a Name and a Description and click Create. Use the names Shopify shows on the order, such as Unfulfilled, Fulfilled, Partially Fulfilled, Paid or Refunded.
- The Order Created trigger is in Workspace > Campaigns, in the Shopify group of the Choose a trigger window. It has nothing to set up.
Example workflows
A customer asks where their order is
- A customer writes: "Hi, any news on order #1042?"
- The AI agent looks up order 1042 in Shopify. The number works with or without the # sign.
- It replies with the fulfillment status and, once the order has shipped, the carrier, tracking number and tracking link.
- If the customer asks what Partially Fulfilled means, the AI agent uses the description you wrote for that status.
Bring your Shopify products into MessageMind
- Connect Shopify first.
- Open AI Lab > AI Training and go to the Products section (Offerings for service businesses).
- Click Add Product and choose Import Products From Store.
- Pick the Shopify tile. Tick Existing products will be overwritten only if imported products should replace catalog products that have the same product link. Left unticked, the new data is merged into them.
- Click Continue. A progress bar shows the import, and your products appear in the list when it finishes.
- Open Connections > Integrations, click the gear on the Shopify row, turn on Sync Products and Live stock checks, and click Save.
Thank every new buyer on WhatsApp
- Connect Shopify first.
- Open Workspace, click Campaigns in the left rail and click Create campaign.
- Choose Create an Automation and give it a name.
- Click Add a Trigger and pick Order Created in the Shopify group.
- Add a Send WhatsApp Template step with your approved thank-you template. Order details such as Order Name and Total Price are available as variables.
- Switch the toggle at the top from Draft to Published and click Save.
- When someone places an order, the buyer is added to your contacts with the name, email and phone from the order, and the campaign starts once for that order.
- If the buyer replies, the AI agent answers and can look up the order for them.
Disconnect and reconnect
- Open Connections > Integrations and click Disconnect on the Shopify row. It happens straight away and shows "Integration Successfully Removed".
- The AI agent stops looking up orders and checking stock, product sync stops, and campaigns with the Order Created trigger get no new orders.
- Products you imported stay in your catalog and contacts created from orders stay in your contacts. Nothing is deleted in Shopify.
- Your app stays installed on your store and listed in the Shopify Dev Dashboard. Remove it in Shopify if you no longer need it.