All posts
·Ask AI Team

How to Connect Shopify to ChatGPT (Step-by-Step Guide)

shopifychatgptopenaitutorial

If you want to ask ChatGPT real questions about your Shopify store — revenue, orders, products, customers, inventory — you need a way to give it access to your actual data. Here's exactly how to do it using Ask AI Data Connector and a Custom GPT.

What you'll be able to do

Once connected, you can ask ChatGPT things like:

  • "What was my revenue this week compared to last week?"
  • "Which products are my top sellers this month?"
  • "Show me customers who haven't ordered in 90 days"
  • "Which products are running low on stock?"
  • "Give me a summary of this week's performance"

ChatGPT queries your real Shopify data and gives you actual answers — not generic advice based on its training data.

Why you need a connector

ChatGPT doesn't have access to your Shopify store by default. It can't see your orders, products, or customers. When you ask it about your business, it can only give generic advice.

Ask AI Data Connector sits between your Shopify store and ChatGPT. It syncs your store data, encrypts it, and exposes it through an API that ChatGPT can call via a Custom GPT. You get real answers from real data.

Prerequisites

  • A Shopify store
  • A ChatGPT Plus or Team account (Custom GPTs require a paid plan)
  • 5 minutes

Step 1: Sign up for Ask AI Data Connector

Go to ask-ai-data-connector.co.uk/signup and create a free account. You can sign up with email or Google. No credit card required — you get a 3-day free trial.

Step 2: Connect your Shopify store

From your dashboard, go to Data Sources and click Shopify. You'll be redirected to Shopify to authorise read-only access. We never modify your store data.

The sync starts automatically and typically takes under a minute for most stores. You'll see your order, product, and customer counts appear on the dashboard once it's done.

Step 3: Connect other data sources (optional)

While you're here, you can also connect Klaviyo, Google Analytics, Meta Ads, Gorgias, Xero, and 14 other tools. The real power is asking questions that span multiple sources — like "Which Klaviyo campaigns drove the most Shopify revenue?" or "Compare my Meta Ads ROAS to my Google Ads ROAS."

Step 4: Get your API key and OpenAPI spec

Navigate to AI Tools in your dashboard and click ChatGPT. You'll see:

  1. Your API key — this authenticates ChatGPT's requests to your data
  2. The OpenAPI specification URL — ChatGPT uses this to understand what queries it can make

Copy both of these — you'll need them in the next step.

Step 5: Create a Custom GPT

  1. Open chatgpt.com

  2. Click your profile → My GPTsCreate a GPT

  3. In the Configure tab:

    • Name: Something like "My Shopify Assistant" or your store name
    • Description: "Queries my live Shopify store data"
    • Instructions: "You have access to my Shopify store data through the Ask AI API. Use the available actions to answer questions about orders, revenue, products, customers, and inventory. Always use real data — never guess or make up numbers."
  4. Scroll down to ActionsCreate new action

  5. Click Import from URL and paste your OpenAPI specification URL

  6. Under Authentication, select API Key, enter your API key, and set the header to Authorization with the prefix Bearer

  7. Click Save

Step 6: Start asking questions

Open your new Custom GPT and try:

"What were my top 10 products by revenue this month?"

ChatGPT will call the Ask AI API, query your Shopify data, and return real numbers from your store.

Try a few more:

"How does this week's revenue compare to last week?"

"Which customers have the highest lifetime value?"

"Are any of my best sellers running low on stock?"

Tips for better results

  • Be specific with time ranges: "Revenue this month vs last month" works better than "How's revenue going?"
  • Ask follow-up questions: "Why did revenue drop?" → "Which products lost the most sales?" → "Were any of those out of stock?"
  • Use cross-source data: If you've connected Klaviyo or GA4, try "Which email campaigns drove the most orders this month?" or "What's my conversion rate from Google organic traffic?"
  • Ask for formats: "Give me a table of my top 10 products" or "Summarise this as bullet points"

ChatGPT vs Claude vs Gemini — which should I use?

Ask AI works with all of them. Here's the quick comparison:

  • ChatGPT — best if you're already a ChatGPT user. Custom GPTs are easy to set up and share with your team.
  • Claude — best for deep analysis. Claude's MCP integration gives it the most seamless data access.
  • Gemini — works via function calling. Good if you're in the Google ecosystem.
  • Perplexity — supports MCP. Good for research-style queries with citations.

You can set up more than one — they all use the same data.

Is my data secure?

  • Read-only access — we can never modify your Shopify store
  • AES-256-GCM encryption for all stored credentials and tokens
  • Your API key controls access — only your Custom GPT can query your data
  • Data is never used to train AI models — not by us, and OpenAI doesn't train on Custom GPT API calls

Common questions

Does this work with the free version of ChatGPT? No — Custom GPTs require ChatGPT Plus ($20/month) or a Team/Enterprise plan.

How often does the data sync? Data syncs automatically on a schedule. Most sources update every few hours. You can also trigger a manual sync from your dashboard.

Can I share the Custom GPT with my team? Yes — if you're on ChatGPT Team, you can publish the GPT to your workspace. Your team members will be able to query the same data.

What if I also want to use Claude? You can set up both. Go to AI Tools in your dashboard and follow the Claude MCP setup — it takes 2 minutes. Both tools query the same underlying data.

Get started

The whole process takes about 5 minutes: Sign up here, connect Shopify, and create your Custom GPT.

Ready to try it?

Connect your e-commerce data to AI in under 5 minutes.

Get started free