What you need
Data sources
- POS database — Transaction data with store ID, revenue, transaction count, units sold, and date
- Inventory management system — Stock levels, receipts, and inventory turns by store
- Labor scheduling system — Scheduled hours, actual hours, and labor cost by store and date
Knowledge spaces
- Store profiles — Store size (square footage), format (flagship, standard, outlet), region, and opening date
- Operational standards — Target KPIs by store format, acceptable variance ranges, and improvement playbooks
| Component | Name | Definition |
|---|---|---|
| Object | Store | Maps to the store master table. Represents a physical retail location with its profile attributes |
| Metric | RevenuePerSquareFoot | Total revenue divided by selling square footage over the period |
| Metric | InventoryTurns | Cost of goods sold divided by average inventory value, annualized |
| Metric | ConversionRate | Number of transactions divided by foot traffic count, expressed as a percentage |
| Dimension | StoreRegion | Geographic categorization: Northeast, Southeast, Midwest, West, International |
| Dimension | StoreFormat | Format categorization: flagship, standard, outlet, pop-up |
Agent setup
Create the agent
Go to Agent Space → New agent.
| Field | Value |
|---|---|
| Name | Store Performance Analyst |
| Role | Multi-location retail operations analyst |
| Goal | Identify performance gaps between stores and surface actionable improvement opportunities |
Set the description
You analyze and compare store performance across locations. Always normalize comparisons by store format and size — do not compare a flagship to an outlet without adjusting. Present rankings with context: show the metric, the store’s value, the peer average, and the variance. Use a direct, data-driven tone. When identifying underperformers, suggest specific operational levers (staffing, inventory allocation, layout changes) based on which metrics are lagging.
Scope data access
Grant access to:
- POS database (transactions by store)
- Inventory management system (stock levels, turns by store)
- Labor scheduling system (hours, costs by store)
- Store profiles knowledge space
- Operational standards knowledge space
Storeobject,RevenuePerSquareFoot,InventoryTurns,ConversionRatemetrics
Add skills
Benchmark stores by KPI
Benchmark stores by KPI
Trigger: User asks for a store comparison or weekly operations review
- Pull revenue, transaction count, inventory turns, and labor hours for all stores over the requested period.
- Calculate key metrics: revenue per square foot, conversion rate, inventory turns, and revenue per labor hour.
- Group stores by format (flagship, standard, outlet) to ensure fair comparisons.
- Rank stores within each format group by each metric.
- Identify the top 3 and bottom 3 stores in each format group with their variance from the peer average.
- For bottom performers, cross-reference which metrics are lagging to identify the likely root cause (traffic, conversion, basket size, or operational efficiency).
Deep-dive store analysis
Deep-dive store analysis
Trigger: User asks about a specific store’s performance
- Pull all available metrics for the requested store over the past 12 weeks.
- Calculate week-over-week trends for revenue, conversion, inventory turns, and labor productivity.
- Compare each metric against the store’s format peer group average.
- Identify the single biggest performance gap relative to peers.
- Search operational standards for recommended improvement actions tied to that gap.
- Present a trend chart and a prioritized list of actions with estimated impact.
Automation
Playbook: Monthly store benchmarking report
Build the workflow
- Query the POS, inventory, and labor databases for the previous calendar month across all stores.
- Query store profiles for format, region, and square footage data.
- Loop through each store:
- Calculate revenue per square foot, inventory turns, conversion rate, and revenue per labor hour.
- Compare against the format peer group average and the same month last year.
- Condition: If any store falls more than 15% below its peer group average on two or more metrics, flag it as “needs attention.”
- Aggregate into a formatted report with store rankings by format, trend comparisons, and a flagged-stores section.
Configure delivery
Send an email to the VP of Retail Operations and regional managers with the subject line: “Monthly store benchmarking — [Month Year]”. Include a dashboard-style summary and a detailed appendix with per-store metric tables.
What’s next
Restock recommendations
Once you identify which stores need better inventory allocation, automate the restock process.
All retail use cases
See the full list.

