Revenue Hoy
vs ayer
Órdenes Hoy
Margen Bruto
utilidad
Pendientes
esperando confirmación
📋 Órdenes Recientes
#CLIENTETOTALESTADOPAGOHACE
Cargando...
📦 Stock Rápido
PRODUCTODISP.STATUS
Cargando...
📈 Revenue 30 días (MXN)
DOM
LUN
MAR
MIÉ
JUE
VIE
SÁB
Confirmado Pendiente Entregado Enviado Cancelado
🧴 Catálogo Perla Negra
Cargando productos...
📊 Ventas por Producto (30d)
PRODUCTOUNIDADESREVENUE% DEL TOTAL
Cargando...
Total Clientes
únicos
Repeat Buyers
+2 pedidos
Avg Order Value
MXN por orden
Top Customer
👥 Clientes & Ventas
CLIENTEPEDIDOSTOTAL GASTADOÚLTIMO PEDIDOSTATUSCANAL
Cargando clientes...
📈 Ventas Acumuladas por Semana (MXN)
● Configurando conexión...
Store URL no configurada
🔗 MCP Connection
ProtocolModel Context Protocol v1.0
TransportHTTP / SSE
Shopify APIAdmin REST API 2024-01
Last Sync
Orders Synced
Products Synced
Customers Synced
🛠️ Sync Configuration
Auto-syncEvery 15 min
Scope: Orders✓ Active
Scope: Products✓ Active
Scope: Customers✓ Active
Scope: Inventory✓ Active
Webhook: orders/create⚠ Pending setup
Webhook: products/update⚠ Pending setup
📦 Shopify Orders (últimos 20)
SHOPIFY #CLIENTETOTALSTATUSFULFILLMENTCANALFECHA
Conecta Shopify para ver órdenes en tiempo real
📋 Sync Log
[SYSTEM] Shopify MCP module loaded
[SYSTEM] Waiting for SHOPIFY_STORE_URL and SHOPIFY_API_KEY in environment...
🔧 Setup Guide
Para conectar Shopify:
1. Instala la app "Custom App" en Shopify Admin
2. Crea un private app con scopes:
read_orders, read_products
read_customers, read_inventory
3. Agrega en .env:
SHOPIFY_STORE_URL=perla-negra.myshopify.com
SHOPIFY_API_KEY=shpat_xxx
4. Reinicia el agente: docker compose restart
El agente sincronizará automáticamente órdenes → perla_negra_orders