Chatspark
K
K

Shopify

Enable your AI agent to look up order status, track shipments, check inventory, and get product information directly from your Shopify store.

6 min read

Updated February 2026

Overview

The Shopify integration allows your AI agent to access real-time data from your Shopify store. Customers can ask about their orders, check product availability, and get shipping updates — all through natural conversation.

This integration is perfect for e-commerce businesses looking to automate common customer inquiries like “Where's my order?” and “Is this product in stock?”

Available Actions

ActionDescription
Get Order StatusLook up order status and details by order number or customer email
Track ShipmentGet tracking information and delivery status for shipped orders
Get Product InfoRetrieve product details, pricing, variants, and availability
Check InventoryCheck real-time stock levels for specific products
Get Customer OrdersList all orders for a customer by email address

Prerequisites

Before setting up the Shopify integration, you'll need:

  • A Shopify store with an active subscription
  • Admin access to your Shopify store
  • A custom app with Admin API access token

Setup Instructions

Step 1: Create a Custom App in Shopify

  1. Log in to your Shopify admin
  2. Go to SettingsApps and sales channels
  3. Click Develop apps (enable custom app development if prompted)
  4. Click Create an app
  5. Give your app a name (e.g., “ChatSpark Integration”)
  6. Click Create app

Step 2: Configure API Scopes

  1. In your new app, click Configure Admin API scopes
  2. Enable the following scopes:
    • read_orders — For order lookups
    • read_products — For product info
    • read_inventory — For stock checks
    • read_customers — For customer order history
  3. Click Save

Step 3: Get Your Access Token

  1. Click Install app to install it on your store
  2. After installation, go to API credentials
  3. Under Admin API access token, click Reveal token once
  4. Copy the token immediately — it won't be shown again
Save Your Token
The Admin API access token is only shown once. Copy and store it securely before leaving the page.

Step 4: Enable in ChatSpark

  1. In ChatSpark, go to AI Actions
  2. Find Shopify in the Library and click Enable
  3. Select the chatbot(s) that should have access
  4. Enter your Store URL and Admin API Access Token
  5. Click Save

Configuration Fields

FieldDescriptionExample
Store URLYour Shopify store's myshopify.com URLyour-store.myshopify.com
Admin API Access TokenThe access token from your custom appshpat_xxxxx...

Testing Your Integration

After setup, test the integration:

  1. Open your chatbot widget
  2. Try asking: “What's the status of order #1001?”
  3. The AI should look up and return the order details

Other test queries:

  • “Is the Blue Widget in stock?”
  • “Track my shipment for order #1002”
  • “Show me my recent orders” (requires customer email)

Troubleshooting

Invalid or expired token

If you see authentication errors, your access token may be invalid. Create a new custom app and generate a fresh token.

Missing order data

Ensure your custom app has the read_orders scope enabled. You may need to reinstall the app after adding scopes.

Rate limiting

Shopify has API rate limits. ChatSpark automatically handles rate limiting with retries, but if you have very high volume, you may need to upgrade your Shopify plan.

Need Help?
If you're having trouble with the Shopify integration, contact our support team with your store URL and we'll help you troubleshoot.

Previous

Salesforce

Next

Square