Ask Nova, get SQL + charts
Meet Nova Database REST APIOne key per partner. No credentials shared.
Build an API AutomationScheduled sync to 6+ platforms
Explore API to SQLQuery APIs with SQL, no code
Explore AI Database MCPClaude, Cursor, ChatGPT & Grok talk to your data
Connect AIQuery Streams transforms your Shopify store data into SQL-queryable tables, letting you import live orders, products, customers, and inventory directly into Microsoft Excel. No API coding, no manual exports—just write SQL queries and get real-time e-commerce data in your spreadsheet. Sign up free at QueryStreams.com and start querying your Shopify store in minutes.
Orders, products, inventory, customers, fulfillments, and more
Orders and line items refresh every 5 minutes for near-real-time sales tracking
Your Shopify API credentials are stored securely on your network, never in the cloud
Works with Basic, Shopify, Advanced, and Plus — no special plan required
What Shopify Data Can You Access?
Query Streams syncs your Shopify Admin API data to an AES-256 encrypted local cache, transforming it into SQL-queryable tables. Every table includes a raw_data JSON column with the complete API response—including multi-currency amounts, custom note attributes, tax lines, and more.
Sales & Orders
ordersSales orders with status, amounts, and customer infoorder_line_itemsIndividual items with SKU, quantity, and pricingfulfillmentsShipment and tracking informationtransactionsPayment transactions with gateway detailsrefundsRefund records with line item breakdownabandoned_checkoutsCart abandonment for recovery campaigns
Products & Catalog
productsProduct catalog with title, vendor, and statusvariantsProduct variants with SKU, pricing, and inventorycollectionsCustom and smart product collectionsprice_rulesDiscount rules and promotionsdiscount_codesCoupon codes with usage counts
Inventory
inventory_levelsStock quantities by locationlocationsWarehouses and store locations
Customers
customersProfiles with order history and lifetime valuedraft_ordersPending and incomplete orders
Prerequisites
Sign up free — no credit card required
Windows service installed on your network. Install guide
Active Shopify store on any plan (Basic, Shopify, Advanced, or Plus)
A custom app in Shopify Dev Dashboard with Admin API scopes (we’ll create this)
Desktop version with the Query Streams add-in installed
Setup Guide
Step 1: Install the Query Streams Network Agent
- Log in to my.querystreams.com
- Navigate to Network Agents in the left sidebar
- Click Download Agent and run the Windows installer
- The agent installs as a Windows service and connects automatically
- Your agent appears as “Online” in the portal within 30 seconds
Step 2: Create a Shopify Custom App
Query Streams uses Shopify’s Client Credentials flow for secure authentication. You’ll create a custom app in the Shopify Dev Dashboard:
- Go to partners.shopify.com and log in
- Navigate to Apps → Create app → Create app manually
- Name your app (e.g., “Query Streams Data Connector”) and click Create app
- In your app settings, go to Configuration → Admin API integration → Configure
- Select the required scopes:
read_orders,read_products,read_customers,read_inventory,read_locations,read_fulfillments,read_price_rules,read_discounts - Click Save, then go to the Overview tab
- Copy your Client ID (32-character hex string)
- Click Show secret to reveal your Client Secret
- Install the app on your store
Query Streams only requests read scopes. It never creates, updates, or deletes orders, products, customers, or any Shopify data.
Step 3: Add the Shopify Connector
- Open the Network Agent interface at
http://localhost:1823 - Click Add Connection and select Shopify
- Enter your Store URL (e.g.,
your-store.myshopify.com), Client ID, and Client Secret - Click Test Connection — Query Streams exchanges credentials for an access token
- On success, you’ll see your store name, plan, and verified API scopes
- Click Next to configure sync schedules and install pre-built queries
Step 4: Configure Your Sync Schedule
All 16 tables sync by default. Disable any table by setting its interval to Never. Click Save — the initial sync starts immediately.
Step 5: Install the Microsoft Excel Add-in
- Open Microsoft Excel
- Go to Insert → Get Add-ins (or Office Add-ins)
- Search for “Query Streams”
- Click Add to install — the Query Streams panel appears on the right side of Excel
- Sign in with your Query Streams account credentials
- Or install directly: Install Query Streams for Microsoft Excel
You’re connected! Open the Query Streams panel in Excel, click Saved Queries, and find your Shopify folder with pre-built queries for daily sales, top products, inventory alerts, and more. Select any query and click Run to pull live data.
Example Shopify SQL Queries
SELECT
DATE(created_at) AS order_date,
COUNT(*) AS order_count,
SUM(total_price) AS revenue,
AVG(total_price) AS avg_order_value
FROM shopify.orders
WHERE financial_status = 'paid'
AND created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY DATE(created_at)
ORDER BY order_date DESC;
SELECT
p.title AS product,
p.vendor,
SUM(li.quantity) AS units_sold,
SUM(li.price * li.quantity) AS revenue
FROM shopify.order_line_items li
JOIN shopify.products p ON li.product_id = p.id
JOIN shopify.orders o ON li.order_id = o.id
WHERE o.financial_status = 'paid'
AND o.created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY p.id, p.title, p.vendor
ORDER BY revenue DESC
LIMIT 20;
SELECT
p.title AS product,
v.title AS variant,
v.sku,
il.available AS stock_qty,
l.name AS location
FROM shopify.inventory_levels il
JOIN shopify.variants v ON il.inventory_item_id = v.inventory_item_id
JOIN shopify.products p ON v.product_id = p.id
JOIN shopify.locations l ON il.location_id = l.id
WHERE il.available < 10
AND l.active = true
ORDER BY il.available ASC;
Share Shopify Reports Without Sharing Credentials
Open any Shopify query in the Query Builder → click the Sharing tab → enter email addresses → click Share. Recipients get live Shopify data in their Excel add-in — without access to your API credentials, store admin, or SQL code. Perfect for sharing sales dashboards with finance, operations, or external partners.
Frequently Asked Questions
99.99 not 9999), so no conversion is needed in your SQL queries. Multi-currency amounts are available in the raw_data JSON column.Related Guides
Category: API Connectors
Tags: Shopify, Excel, API, E-commerce, SQL, Orders, Inventory, Real-Time Data
Meta Description: Connect Shopify to Microsoft Excel with SQL. Query orders, products, inventory, and customers live — no API coding required. Step-by-step setup guide.

