Manage your Shopify store with voice commands through your Omi device. Get analytics, manage orders, and handle customers β all hands-free!
- π Analytics Dashboard - Get sales, orders, and revenue insights
- π¦ Order Management - View, search, and create orders with voice
- π₯ Customer Management - Search customers and add new ones instantly
- π Secure OAuth - Industry-standard Shopify OAuth 2.0 authentication
- Install the Shopify app from the Omi App Store
- Enter your store domain (e.g.,
your-store.myshopify.com) - Authorize the app in Shopify
- Start using voice commands!
| Command | Description |
|---|---|
| "Show my analytics for today" | Get today's sales and orders |
| "What were my sales last 7 days?" | Analytics for the past week |
| "Show analytics from Nov 28 to Dec 2" | Custom date range (e.g., BFCM) |
| "What were my BFCM sales from Thursday to Monday" | Custom date range analytics |
| "Show my recent orders" | List latest orders |
| "Get details for order #1001" | View specific order info |
| "Show pending orders" | Filter by payment status |
| "Create an order for [email protected]" | Create a new order |
| "Show my customers" | List your customers |
| "Search customer [email protected]" | Find a specific customer |
| "Create a customer for [email protected]" | Add new customer |
| Field | Value |
|---|---|
| App Name | Shopify |
| Category | Business & Productivity |
| Description | Manage your Shopify store with voice commands. Get analytics, view orders, create orders, and manage customers β all hands-free through Omi. |
| Author | Omi Community |
| Version | 1.0.0 |
- β External Integration (required for chat tools)
- β Chat (for voice command responses)
| URL Type | URL |
|---|---|
| App Home URL | https://spacious-undiscouragingly-kelle.ngrok-free.dev/ |
| Auth URL | https://spacious-undiscouragingly-kelle.ngrok-free.dev/ |
| Setup Completed URL | https://spacious-undiscouragingly-kelle.ngrok-free.dev/setup/shopify |
| Chat Tools Manifest URL | https://spacious-undiscouragingly-kelle.ngrok-free.dev/.well-known/omi-tools.json |
Note: The Auth URL is the same as App Home URL because Shopify requires users to enter their store domain before OAuth. Omi automatically appends
?uid=USER_IDto these URLs.
Add this redirect URI to your Shopify app in the Shopify Partner Dashboard:
https://spacious-undiscouragingly-kelle.ngrok-free.dev/auth/shopify/callback
| Field | Value |
|---|---|
| Client ID | YOUR_CLIENT_ID_HERE |
| Client Secret | YOUR_CLIENT_SECRET_HERE |
The app uses the following Shopify API scopes:
read_all_orders- Read all ordersread_analytics- Read store analyticsread_customers- Read customer datawrite_customers- Create/update customerswrite_draft_orders- Create draft ordersread_draft_orders- Read draft ordersread_orders- Read orderswrite_orders- Create/update orders
This app exposes a manifest endpoint at /.well-known/omi-tools.json that Omi automatically fetches when the app is created or updated.
https://spacious-undiscouragingly-kelle.ngrok-free.dev/.well-known/omi-tools.json
| Tool | Description |
|---|---|
get_analytics |
Get store analytics (sales, orders, revenue) |
get_orders |
List recent orders with filters |
get_order_details |
Get detailed info about a specific order |
create_order |
Create a new order (auto-creates customer if new) |
get_customers |
List/search customers |
create_customer |
Create a new customer |
- Python 3.8+
- Shopify Partner Account
- ngrok (for local development)
# Navigate to the plugin directory
cd plugins/shopify
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Copy environment file and configure
cp .env.example .env
# Edit .env with your ngrok URL
# Run the server
python main.pySHOPIFY_CLIENT_ID=YOUR_CLIENT_ID_HERE
SHOPIFY_CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE
SHOPIFY_REDIRECT_URI=https://your-ngrok-url.ngrok-free.app/auth/shopify/callback
PORT=8080
REDIS_URL= # Optional: for production use# Terminal 1: Run the server
cd plugins/shopify
source venv/bin/activate
python main.py
# Terminal 2: Start ngrok
ngrok http 8080| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Home page / App settings |
/health |
GET | Health check |
/auth/shopify |
GET | Start OAuth flow |
/auth/shopify/callback |
GET | OAuth callback |
/setup/shopify |
GET | Check setup status |
/disconnect |
GET | Disconnect store |
/.well-known/omi-tools.json |
GET | Chat tools manifest |
/tools/get_analytics |
POST | Chat tool: Get analytics |
/tools/get_orders |
POST | Chat tool: Get orders |
/tools/get_order_details |
POST | Chat tool: Get order details |
/tools/create_order |
POST | Chat tool: Create order |
/tools/get_customers |
POST | Chat tool: Get customers |
/tools/create_customer |
POST | Chat tool: Create customer |
- Go to Railway and sign in
- Click "New Project" β "Deploy from GitHub repo"
- Select your repository and choose the
plugins/shopifyfolder
- In your Railway project, click "+ New" β "Database" β "Add Redis"
- Railway automatically creates and connects the Redis instance
- The
REDIS_URLenvironment variable is set automatically
Go to your service's Variables tab and add:
| Variable | Value |
|---|---|
SHOPIFY_CLIENT_ID |
YOUR_CLIENT_ID_HERE |
SHOPIFY_CLIENT_SECRET |
YOUR_CLIENT_SECRET_HERE |
SHOPIFY_REDIRECT_URI |
https://YOUR-APP.up.railway.app/auth/shopify/callback |
Add your Railway URL as a redirect URI:
https://YOUR-APP.up.railway.app/auth/shopify/callback
Update your app URLs in the Omi App Store:
| URL Type | Value |
|---|---|
| App Home URL | https://YOUR-APP.up.railway.app/ |
| Auth URL | https://YOUR-APP.up.railway.app/ |
| Setup Completed URL | https://YOUR-APP.up.railway.app/setup/shopify |
| Chat Tools Manifest URL | https://YOUR-APP.up.railway.app/.well-known/omi-tools.json |
- Complete the Shopify OAuth flow by entering your store domain and authorizing the app
- Verify your Shopify app has the correct API scopes enabled
- Check that your store's API access is not restricted
- Ensure line items have valid title, quantity, and price
- Verify customer email is valid
- Make sure the redirect URI in Shopify Partner Dashboard matches exactly
MIT License - feel free to modify and distribute.
For issues or feature requests, please open an issue on GitHub or contact the Omi community.
Made with β€οΈ for Omi