Standard、Pro 和 Enterprise 套餐
概述
The Shopify integration lets your AI chatbot answer product questions using live data from your Shopify store. Paste in your shop domain and a token from a custom app you create once, and the chatbot will know about every active product in your catalog.
When a visitor asks about a product, the AI finds the most relevant matches, describes them in natural language, and (with Dynamic Product Cards enabled) can render them as visual product cards with images, prices, and buy buttons that link straight to your store.
工作原理
- You create a Shopify custom app in your store admin and enable the
read_products permission
- You paste the access token and your shop domain into our settings page
- We sync your catalog automatically — each product becomes searchable by the chatbot
- Visitors ask about products and the AI answers with real product names, prices, and links
Setting Up the Integration
Connecting takes about two minutes and doesn't require any code.
Step 1: Create a custom app in Shopify
- In your Shopify admin, go to
Settings → Apps and sales channels → Develop apps
- Click Create an app and name it anything (e.g. Asyntai Integration)
Step 2: Enable the required permission
- Under Configure Admin API scopes, tick
read_products
- 点击 Save
提示: Only read_products is needed. You don't need read_orders or any protected customer data access for the catalog sync.
Step 3: Install the app and copy the token
- Click Install app at the top of the page
- Click Reveal token once under the API credentials tab
- Copy the token — it starts with
shpat_
重要提示: Shopify only shows this token one time. Copy it straight into Asyntai or save it somewhere secure. If you lose it, you'll need to uninstall and reinstall the app to generate a new one.
Step 4: Paste into Asyntai
- Open the Shopify Integration page in Asyntai
- Paste your shop domain (e.g.
yourstore.myshopify.com)
- Paste the
shpat_... access token
- Click Connect & start sync
The first sync kicks off automatically in the background. Depending on the size of your catalog, it takes anywhere from seconds to a few minutes.
What Gets Synced
- Product name, vendor, type, and tags
- Price (including currency) and price range if variants differ
- Inventory and stock status when available
- Description (HTML stripped down to clean text)
- Main product image URL
- Product page URL built from your shop domain and handle
Only active products are indexed. Drafts and archived products are skipped so the chatbot never recommends items visitors can't buy.
Showing Products as Rich Cards
Enable Dynamic Product Cards to have the AI render synced Shopify products as rich visual cards with images, prices, and buy buttons — instead of plain text. Shopify products work beautifully with this feature because every synced product has structured data (name, price, image, URL).
Re-syncing Your Catalog
Click Sync now on the Shopify Integration page any time you want to pull the latest product changes. The sync is incremental — unchanged products are skipped, so repeated syncs are fast and cheap.
提示: If you edit a product in Shopify, the change won't appear in the chatbot until you re-sync. We don't auto-refresh yet (webhook-based syncing is planned).
Order Tracking
This integration handles product data only. For the chatbot to answer questions about a visitor's order status, we recommend a different approach:
- Use User Context to pass the logged-in customer's recent orders from your Shopify storefront directly into the chat. This works for any Shopify plan, requires no extra permissions, and puts live order info in the chatbot's hands instantly.
The Shopify API does expose orders, but accessing the customer email (needed to verify the visitor before revealing order details) requires Protected Customer Data approval and is only available on Shopify, Advanced, and Plus plans — which we consider too heavy a requirement for a chatbot integration. User Context sidesteps all of that.
断开连接
Click Disconnect on the Shopify Integration page to stop syncing. This removes the synced products from the chatbot's knowledge. Your Shopify store is untouched; you can reconnect any time.
If you delete the custom app in your Shopify admin, the next sync attempt will fail and our system will automatically mark the integration as disconnected.
Plan Requirements
- Your Asyntai plan: Standard or Pro
- Your Shopify plan: any paying plan that allows custom apps (Basic, Shopify, Advanced, Plus, or a Partner development store)
Alternative: Real-Time Data Feed
If you prefer not to create a custom app, you can point our Real-Time Data Feed (or Real-Time Data Feed Max for large catalogs) at your Shopify store's public products JSON endpoint instead:
https://yourstore.myshopify.com/products.json
This endpoint is public — no API token needed. It returns up to 250 products per page and supports pagination. The trade-off: you only get published products visible to the public storefront, with fewer fields than the Admin API provides, and you lose the fine-grained control a connected integration offers (like only syncing active products).
When to choose which: Use the Shopify integration if you want the richest sync with the least setup friction. Use Real-Time Data Feed if you'd rather not install a custom app in your Shopify store and are fine with the publicly available product data.