- Analyze sales data and identify top-selling products
- Find products that are frequently bought together
- Track inventory levels and identify low-stock items
- Generate sales reports and trends
Prerequisites
- Export your Shopify shop name:
export SHOPIFY_SHOP_NAME=your_shop_name. - Export your Shopify access token:
export SHOPIFY_ACCESS_TOKEN=your_access_token. - Export your OpenAI API key:
export OPENAI_API_KEY=your_openai_key. - Grant the access token the
read_orders,read_products,read_customers, andread_analyticsAdmin API scopes.