To connect Shopify to Claude, you can use two connectors from Claude’s directory that do different jobs. Shopify’s own connector, listed since April 2026, runs the store: it can build a new store, manage inventory, create discount codes, review orders and customers, and show store analytics. The Windsor.ai connector analyzes the business: it gives Claude your Shopify orders, customers, products and refunds next to your ad platforms, GA4 and CRM.
For the Windsor.ai route, connect your store at onboard.windsor.ai/app/shopify with the Client ID and Client Secret of an app you create in the Shopify Dev Dashboard, then add the Windsor.ai connector in Claude. Start a new chat and ask about margins, repeat buyers or which ad campaigns bring revenue. In Claude Code, the Windsor.ai plugin reads the same store (Claude Code steps).
Many stores use both: Shopify’s connector to run the store, and Windsor.ai when the question needs data from outside Shopify.
🚀 Connect Shopify to Claude with Windsor.ai. Free forever plan, no credit card → onboard.windsor.ai/app/shopify.
3 steps to automatically sync Shopify data to Claude via Windsor MCP
Setup is a one-time connection in Windsor.ai and one click in Claude.
📖 Follow our quick step-by-step guide to connect your Shopify data to Claude.
Prerequisites for Shopify to Claude Integration
Before you begin, ensure you have the following ready:
- A Windsor.ai account: the free forever plan covers one store with the last 30 days of data.
- A Shopify app for your store: You create it in the Shopify Dev Dashboard, and it gives you the Client ID and Client Secret that Windsor.ai asks for. The Shopify Configuration Guide shows each step.
- A Claude account: Claude on the web and the desktop app work on every plan, Free included. Claude Code requires a paid Claude plan or an Anthropic Console account (see the Claude Code overview).
Step 1: Connect your Shopify store to Windsor.ai
- Log in to onboard.windsor.ai.
- Select Shopify as your data source.
- Click Connect Shopify Store and enter your shop name, Client ID and Client Secret. To get the Client ID and Client Secret, create an app for your store in the Shopify Dev Dashboard as shown in the Shopify Configuration Guide.

Windsor.ai then reads your store through the Shopify API, with fields from customer_total_spent to order_net_sales.
Step 2: Activate the Windsor.ai connector in Claude
In Claude, select Plugins in the sidebar, search for Windsor and click Add. Next, in the Connectors row, press Connect and log in to your Windsor.ai account. You can also open the Windsor.ai listing in the Claude directory and click Add.

Depending on your Claude settings, Claude may ask for your approval before it runs a Windsor.ai tool. To be asked every time before a change, open the Windsor.ai page under Plugins, go to Permissions and set the Windsor.ai tool that runs actions to Always ask.
Step 3: Start querying your Shopify data
Start a new chat and ask a question about your store, for example:
- “What is my average Customer Lifetime Value (LTV) for customers who used a {WELCOME10} discount code vs. those who didn’t?”
- “Which products sell in low volume but have the highest repeat purchase rate?”
- “Analyze my refunds (order_refunds_subtotal) by product and tell me which SKUs are losing the most revenue to returns.”
Ask Claude for a chart when a table is hard to read, as in the report below.

How to connect Shopify to Claude Code
Claude Code reads the store you connected in step 1, so finish that first. The Windsor.ai plugin comes from Windsor.ai’s GitHub marketplace:
/plugin marketplace add windsor-ai/claude-windsor-ai-plugin /plugin install windsor-ai@windsor-ai
From a terminal, the same two steps are claude plugin marketplace add windsor-ai/claude-windsor-ai-plugin and claude plugin install windsor-ai@windsor-ai. Skip the windsor-ai listing in Anthropic’s official marketplace for now: it is pinned to plugin version 1.0.0; current Claude Code does not start that version’s Windsor.ai server.
Sign-in is a separate step. Inside Claude Code, the /mcp menu lists plugin:windsor-ai:windsor-ai; choose it and complete the Windsor.ai sign-in that opens in your browser. To confirm your store is connected, run /windsor-ai:windsor-sources, which lists your connected data sources. Already added Windsor.ai to your claude.ai account? Log Claude Code in with that account and the connector appears in /mcp without the plugin; API key logins don’t get it. Then ask in plain words, for example:
Show Shopify net sales, orders and refunds by week for the last 30 days.
To keep the rows for a script or a spreadsheet, ask Claude Code to write them to a CSV file in your repository:
Pull last month's Shopify orders with order_name, order_created_at, order_net_sales, order_discount_code and order_customer_last_visit_utm_campaign. Save them to shopify_orders.csv and add a summary of net sales per UTM campaign.
If you build Shopify apps or themes, install Shopify’s AI Toolkit as a separate Claude Code plugin with claude plugin install shopify-ai-toolkit@claude-plugins-official, or use Shopify’s Dev MCP server (@shopify/dev-mcp).
Official Shopify Claude connector vs. Windsor.ai vs. other methods
- Shopify’s own connector (in Claude’s directory): best for running the store by chat. Its listing says it can build a new store with Shopify’s AI store builder, manage inventory across locations, create discount codes, review orders and customer details, and pull store analytics. It reads and changes your store.
- Windsor.ai connector (in Claude’s directory): best for questions that need more than store data, such as revenue by ad campaign after refunds, or repeat purchase rate by traffic source. It gives Claude 375+ sources next to Shopify, and it can update a product or mark an order as fulfilled (how write actions work).
- Shopify’s AI Toolkit in Claude Code: a plugin for developers, described in Shopify’s AI Toolkit documentation. It gives Claude Code Shopify’s docs and API schemas, checks GraphQL, Liquid and extension code, and runs store tasks through Shopify CLI. It does not combine Shopify with ad or analytics data.
- A CSV export from the Shopify admin: for a one-off check. Claude analyzes that file only and cannot refresh it.
Claude can use several connectors in the same chat, so Shopify’s connector and Windsor.ai can run side by side.
Can Claude build a Shopify store for me?
Yes, through Shopify’s own connector. Its directory listing describes turning a business idea into a store with Shopify’s AI store builder: you describe what you sell, and the store and products are created from the chat. Windsor.ai does not build stores; it analyzes the data once the store is selling.
Can I use Claude Design for my Shopify store?
Claude Design, from Anthropic Labs since April 2026, makes prototypes, slides and one-pagers from a chat. Anthropic does not describe it as a store builder. Some Shopify page-builder apps offer their own Claude connectors to turn a design into a store page. Windsor.ai is not part of that workflow.
Should I use the official Shopify connector or Windsor.ai?
Use Shopify’s connector for most changes in the store, such as inventory and discount codes. Use Windsor.ai when the question needs data that Shopify does not hold, such as ad spend from Meta Ads or Google Ads, site behaviour from GA4, or deals from your CRM, next to Shopify revenue.
Things you can do with your Shopify data in Claude
Use cases that work with Shopify data in Claude:
-
Sales & profitability analysis: Claude can analyze
order_gross_sales,order_total_discountsandorder_net_salesto show net sales after discounts and returns, month by month. -
Deep customer insights: Use fields like
customer_total_spent,customer_orders_count, andorder_total_priceto let Claude identify your highest-value customers and what they have in common. -
New vs. returning customer analysis: Segment orders by
order_new_or_returning_customerandorder_created_atto compare revenue, order counts, and repeat purchase patterns. Identify which channels and products drive first-time vs. repeat purchases. -
Churn prevention: Identify customers who haven’t purchased in 60 days but have a high
customer_orders_count. Then ask Claude to draft a personalized “Win-back” email. -
Inventory velocity: Ask Claude to compare
line_item__quantitysales trends withproduct_variant_inventory_available_quantityto estimate whichline_item__skuwill run out in the next 14 days. -
B2B/wholesale discovery: Use
customer_tagsto separate retail from wholesale buyers and compare their average order value fromorder_total_priceandorder_count. -
Marketing ROI by channel: Connect your sales back to the source. Using
order_customer_last_visit_sourceandorder_customer_last_visit_utm_source, Claude can tell you if your latest influencer campaign or TikTok ad brought repeat buyers or one-time buyers.
Shopify analytics prompt ideas for Claude
Questions such as which customers bring the most revenue, or which SKUs run out next week, usually mean exporting Shopify data to a spreadsheet. With the connector, Claude reads the fields below directly.
1. Are you making money on each order?
Discounts and refunds take part of every month’s gross sales, and the share changes from month to month.
Claude can analyze order-level data such as:
order_gross_salesorder_total_discountsorder_net_sales
to show each month’s net sales after discounts and returns. For profit, also ask for order_cost_of_goods_sold, which needs a cost per item on your products in Shopify.
Example prompt:
Compare order_gross_sales, order_total_discounts, and order_net_sales by month.
Which month had the highest net margin percentage, and how much revenue did discounts cost me?
2. Which customers are your most valuable?
In many stores a small group of repeat buyers accounts for a large share of revenue.
Using fields such as:
customer_total_spentcustomer_orders_countorder_total_price
Claude can identify high-value customers and purchasing patterns.
Example prompt:
Identify the top 10% of customers based on customer_total_spent.
What is their average customer_orders_count and average order value compared to the rest of the customer base?
Use the answer to describe the buyers your ads should look for.
3. Are you losing repeat customers without noticing?
Customers who ordered several times and then stopped are often the easiest revenue to win back.
Claude can detect churn risks by analyzing:
customer_orders_countorder_created_at
Example prompt:
Find customers with a customer_orders_count greater than 3 whose most recent order_created_at is more than 60 days ago.
Draft a personalized win-back email referencing the last line_item__title they purchased.
4. Which products will run out soon, based on how fast they sell?
A best-seller that runs out stops earning until the next delivery.
By analyzing fields such as:
line_item__quantityline_item__skuorder_created_atproduct_variant_inventory_available_quantity
Claude can estimate how fast each product sells and how many days of stock are left.
Example prompt:
Identify my top 10 selling SKUs over the last 30 days.
For each SKU:
- Calculate daily sales velocity
- Estimate days until stockout (based on recent trends)
Highlight:
- Products at risk of running out within 21 days
- Slow-moving products with declining demand
Provide a prioritized reorder list.
5. Which marketing channels bring high-value customers?
Some channels bring one-time discount buyers and others bring customers who come back.
Using fields like:
order_customer_last_visit_sourceorder_customer_last_visit_utm_sourcecustomer_total_spent
Claude can analyze which channels drive the highest long-term value.
Example prompt:
Compare order_customer_last_visit_source and order_customer_last_visit_utm_source values.
Which traffic source produces customers with the highest customer_total_spent over time?
6. Which products are dragging your margins down?
Products that rarely sell still cost money to buy and store. Claude can analyze product sales activity and identify inventory that is no longer moving.
Example prompt:
Identify active SKUs with zero sales in the last 60 days.
Calculate their total inventory value from product_inventory_value and suggest a discount or bundle to clear the stock.
7. How many new vs. returning customers do you have?
The split between first-time and repeat buyers shows whether growth comes from new customers or from retention. Claude can segment your orders with:
order_new_or_returning_customerorder_created_atcustomer_total_spent
Example prompt to compare the amount and revenue:
For the last 90 days, calculate the total number of orders and revenue from new customers vs. returning customers and their average order value.
Example prompt to define the top-performing channels:
Identify which marketing channels bring the highest proportion of new customers vs. returning customers.
Example prompt to discover the best-selling products:
Analyze repeat purchase rates by product category and highlight which items drive loyalty among returning buyers.
Bonus: Which advertising campaigns generate the highest true ROAS?
Ad platforms report the conversions and revenue they attribute to themselves, which rarely matches what the store took in. To compare each campaign’s spend with Shopify revenue, Claude needs both sources (two sources need a paid plan, from $19 a month billed annually for 3 sources):
Shopify data:
order_total_priceorder_total_discountsorder_customer_last_visit_utm_campaign
Advertising data, for example Meta Ads:
campaignspendclicks
Claude matches orders to campaigns by the UTM campaign value. This works only when your ad URLs carry utm_campaign with the campaign name. Orders without a UTM value stay unmatched; ask Claude to report how many.
Example prompt:
Match Shopify orders with Facebook Ads campaigns using order_customer_last_visit_utm_campaign.
For the last 30 days, calculate for each campaign:
- total ad spend
- total Shopify revenue (order_total_price)
- ROAS
Rank campaigns by ROAS and highlight the best-performing ones.
Shopify data that you can stream into Claude with Windsor.ai
Windsor.ai returns 450 Shopify data fields. The main groups:
Sales & transactional data
Order totals, discounts and refunds, in the order’s currency.
-
Key fields:
order_total_price,order_net_sales,order_gross_sales,order_total_discounts, andorder_currency.
Customer intelligence
Lifetime spend, order count and whether an order came from a new or returning customer.
-
Key fields:
customer_total_spent,customer_orders_count, andorder_new_or_returning_customer.
Product & inventory performance
Quantities sold per SKU, product status and available stock.
-
Key fields:
line_item__sku,line_item__quantity,line_item__title,product_statusandproduct_variant_inventory_available_quantity.
Marketing and channel performance
The source and UTM values of the customer’s last visit before the order, and the sales channel.
-
Key fields:
order_customer_last_visit_source,order_customer_last_visit_utm_source,order_customer_last_visit_utm_campaign, andorder_sales_channel.
The manual way to send Shopify data to Claude
If you only need a one-time snapshot of your store, you can follow these steps to connect Shopify to Claude:
- Export orders: Navigate to Shopify Admin -> Orders -> Export. Select “All Orders” and choose “CSV for Excel, Numbers, or other spreadsheet programs.”
- Export customers: Go to Customers -> Export to get your buyer history.
- Data cleaning: Open the files in Excel to remove sensitive PII (like full addresses) and ensure date formats are consistent.
- Upload to Claude: Open Claude.ai, start a new chat, and use the attachment icon to upload your cleaned CSVs.
- Prompt: Use a prompt like: “I have attached my Shopify order and customer data. Please analyze these files to identify which product categories have the highest repeat purchase rate.”
Limits of a manual export:
- Orders, customers and products export as separate files, so Claude has to join them, and any mismatch in IDs or dates shows up in the answer.
- An export is a snapshot: orders and refunds after the export are missing.
Limits to know before you start
- Shopify gives apps the last 60 days of orders by default. Older orders need the
read_all_ordersscope on your app (Shopify’s access scopes); the Shopify Configuration Guide shows how to request it. - Windsor.ai’s free forever plan (no credit card) covers 1 data source and 1 account with the last 30 days of data. Longer history, more stores or Shopify next to ad platforms needs a paid plan: Basic is $19/month for 3 sources, Standard is $99/month for 7 (annual billing, see pricing).
- Shopify limits how many API requests each app can make, and each app has its own limit (Shopify’s API limits). Windsor.ai’s requests go through the app you created for Windsor.ai.
- Windsor.ai changes Shopify through two write actions, updating a product and marking an order as fulfilled (checked 3 December 2026). They need the
write_productsorwrite_merchant_managed_fulfillment_ordersscope on your app; without these scopes, Windsor.ai only reads the store. Payment card details are not part of the data.
Why Claude’s numbers can differ from Shopify admin
When a total in Claude does not match a Shopify report, check these four things first:
- Time zone: Shopify’s reports use the store’s time zone. If the answer groups orders by a different time zone, orders placed near midnight fall on a different day.
-
Which total: Shopify’s Total sales adds shipping, taxes and duties to net sales. Compare net sales with
order_net_sales, and the amount customers paid withorder_total_price. - Refund dates: Shopify’s sales reports count a refund on the day it was made. A total grouped by order date counts it in the month of the order.
-
Filters: use the same date range and sales channel (
order_sales_channel) in both.
Sending Shopify data to Google Sheets or BigQuery
Claude reads Shopify through the connector, so asking questions in a chat needs no export. For a stored copy that other tools read, such as a Data Studio dashboard or a warehouse table, Windsor.ai can write the same data to Google Sheets, BigQuery, Snowflake and other destinations on a schedule you set. Destinations are included on every Windsor.ai plan.
Conclusion
Shopify’s own connector runs the store from Claude, and Shopify’s AI Toolkit helps developers in Claude Code. The Windsor.ai connector puts Shopify revenue, customers and products next to your ad and analytics data, so Claude can answer margin, retention and channel questions. Start with the margin prompt, then the ROAS prompt if you run ads.
🚀 Connect Shopify to Claude. Free forever plan, no credit card → onboard.windsor.ai/app/shopify.
FAQs
Do I need both the Shopify connector and Windsor.ai?
Only if you want both jobs done. Use Shopify’s connector to manage inventory or discounts from Claude. Add Windsor.ai when your questions need ad spend, site analytics or CRM data next to Shopify revenue, such as revenue per ad campaign after refunds.
Can I connect ChatGPT to my Shopify store?
Yes. Windsor.ai’s ChatGPT plugin gives ChatGPT the same Shopify orders, customers and products as Claude. The steps are in how to connect Shopify to ChatGPT.
How far back can Claude see my Shopify orders?
Shopify gives apps the last 60 days of orders unless the app has the read_all_orders scope; the Shopify Configuration Guide shows how to request it. Windsor.ai’s free forever plan returns the last 30 days, and paid plans return longer history.
How current is the Shopify data in Claude?
Windsor.ai caches the result of an identical query for up to 6 hours. For orders from the last few hours, use Clear Cache in Windsor.ai’s Data Preview (once every 2 hours), or set up a scheduled refresh to a destination, which skips the cache.
Can I analyze multiple Shopify stores at once?
Yes. Agencies can connect several Shopify stores in Windsor.ai, one Dev Dashboard app per store (or one app for stores in the same Shopify Plus organization), and ask Claude to compare average order value across stores this month. Each store counts as one account.
Does Windsor.ai change anything in my Shopify store?
Yes, through two Windsor.ai write actions: updating a product (title, description, status, tags, price or compare-at price) and marking an order as fulfilled. Each needs a write scope on your app, write_products or write_merchant_managed_fulfillment_orders. Whether Claude pauses for your approval first depends on your Claude permission settings. The write actions documentation covers how write actions work.
Does it support Shopify metafields and tags?
Yes. Fields such as product_metafield_value, customer_metafield_value and customer_tags are available, so Claude can group products or customers by your own labels, for example retail versus wholesale.
Can I track discount code effectiveness?
Yes. Claude can compare orders with and without order_discount_code, and how much order_total_discounts took from order_net_sales, per code and per month.
Can I see where my customers are coming from?
Yes. With order_sales_channel, order_customer_last_visit_source and the UTM fields, Claude can show which channels bring first orders and which bring repeat buyers.
Do I need to be a developer to set this up?
No. There is no code to write. You create an app for your store in the Shopify Dev Dashboard by filling in a form, then enter its Client ID and Client Secret in Windsor.ai. The Shopify Configuration Guide shows each screen.
Can I use Shopify data in Claude Code?
Yes. Once the store is connected in Windsor.ai, Claude Code needs the Windsor.ai plugin from Windsor.ai’s marketplace: /plugin marketplace add windsor-ai/claude-windsor-ai-plugin, then /plugin install windsor-ai@windsor-ai. You log in by running /mcp and selecting the Windsor.ai server. Orders, customers and products can then be saved to CSV or JSON files in your project. Shopify’s AI Toolkit is a different plugin, for building apps and themes. Commands and a sample prompt: Shopify in Claude Code.
Can Claude see my customers' credit card information?
No. The Windsor.ai connector pulls sales, product and customer data through the Shopify API. Payment card details are not part of it.


