# E-commerce Sales & Customer Analyzer

> Turn Shopify, WooCommerce, or Amazon CSV exports into automated sales reports and customer segment insights.

E-commerce Sales & Customer Analyzer is a free AI agent skill on Agensi by Preethi, in E-commerce. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Preethi](https://www.agensi.io/creators/preethi)
- Category: [E-commerce](https://www.agensi.io/skills/ecommerce)
- Version: 1.0
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/e-commerce-sales-customer-analyzer
- Tags: ecommerce, pandas, data-analysis, shopify, woocommerce, python

## About this skill

Manual data analysis in Excel or Power BI is slow and error-prone. This skill automates the extraction of actionable business intelligence from raw e-commerce CSV exports, providing immediate clarity on revenue, customer behavior, and product performance.

### What it does
- **KPI Extraction** calculates gross revenue, net revenue, AOV, and cancellation rates.
- **Customer Segmentation** identifies high-value customers based on order frequency and lifetime value.
- **Geographic Analysis** breaks down sales by city to identify regional performance trends.
- **Product Insights** surfaces top-selling products and categories by volume and revenue.
- **Payment Auditing** tracks cancellation and return rates by payment method to spot friction.

### How it works
1. **Data Discovery** looks for a relational file set (customers/orders/products) or a flat Shopify/WooCommerce export.
2. **Column Mapping** verifies required headers for order ID, date, quantity, and unit price, prompting for manual mapping if headers are non-standard.
3. **Automated Processing** executes the analysis script to generate a structured `metrics.json` and a series of visualization PNGs.
4. **Insight Reporting** generates a Markdown report with plain-English takeaways and concrete business recommendations.

### Frameworks & tools
Built for Python environments using `pandas` for data manipulation and `matplotlib` for chart generation. Compatible with standard CSV exports from Shopify, WooCommerce, and Amazon.

### Why this beats prompting it yourself
Generic prompts often hallucinate math or fail to account for "net revenue" (excluding cancellations). This skill uses a fixed DAX-style logic model to ensure total orders match distinct IDs and provides standardized thresholds for high-value customer segments.

### Use cases
- Generating monthly board reports from Shopify CSV exports.
- Identifying churned customers for targeted win-back email campaigns.
- Analyzing which payment methods have the highest failure or cancellation rates.
- Comparing product category performance across different cities.

### Known limitations
Requires a Python environment with pandas and matplotlib installed. Does not support real-time API syncing; requires manual CSV uploads or local folder access.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the E-commerce Sales & Customer Analyzer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which e-commerce platforms and AI agents are compatible with this skill?

The skill is designed for any Python-enabled AI agent. It is fully compatible with standard CSV exports from Shopify, WooCommerce, and Amazon, as well as custom relational datasets.

### How does this skill handle complex math differently than a standard AI prompt?

Unlike generic prompts that can hallucinate calculations, this skill uses a specialized logic model to ensure data integrity. It accurately distinguishes between gross and net revenue by accounting for cancellations and returns.

### What exactly is included in the purchase of the E-commerce Sales Analyzer?

You will receive the complete skill package, including the Python-based logic for data processing, the visualization engine for generating charts, and documentation on how to map your specific CSV headers.

### Does this skill require a live API connection to my Shopify or WooCommerce store?

The skill is built for local or secure environment execution and does not require a real-time API connection. It processes your data through manual CSV uploads or local folder access, keeping your sales data within your control.

### What kind of actionable insights can I expect in the final report?

Beyond raw numbers, the skill identifies high-value customer segments and regional performance trends. It concludes every analysis with a Markdown report featuring plain-English recommendations for inventory and marketing.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
