How an AI analyst answers business questions without SQL (using an online retailer as an example)

Introduction

A large online retailer of tools and equipment: more than 100,000 products, 800+ stores across the country, B2C and B2B sales. Every day, business users — category managers, marketers, logistics specialists, branch managers — ask dozens of questions about data:

"What is the margin for the DeWalt brand in the Ural region for July?"

"Which SKUs are going negative on turnover at the Novosibirsk hub?"

"Compare the conversion of the promo newsletter and the regular one over the last three campaigns."

Today, every such question requires an analyst who writes SQL, consolidates the data in Excel, and sends an answer — an hour later, or even the next day. An AI analyst changes the game.

Why this is painful

The bottleneck

At a company of this scale, the typical picture is:

The business loses money


What an AI analyst can do

1. A natural-language query → answer + chart

A business user asks a question as if asking a person — the agent generates the SQL itself, executes it, and visualizes it:

User: Sales of rotary hammers by region for July 2026
Agent: [Automatically builds a query to the DWH, after 3 seconds
       returns a table + a bar chart by region.
       Top 3: Moscow — 1,240 units, St. Petersburg — 890 units,
       Yekaterinburg — 670 units.]

Key feature: the agent doesn't just generate SQL, but also checks its correctness, explains the result in Russian, and suggests the next logical question.

2. Trend and anomaly analysis

3. Product analytics (for category managers)

4. Marketing analytics

5. Logistics and warehouse

6. B2B analytics


User scenarios

Scenario 1: A category manager makes a decision on stock

Manager: Which screwdrivers have been sitting in the warehouse for more than 120 days?

Agent: [After 3 seconds]
       Found 8 SKUs with turnover >120 days:
       1. Makita DF333D — 320 units, 230 days, stock worth 4.8 million ₽
2. DeWALT DCD701 — 180 pcs., 145 days, stock worth 2.3 million ₽
       ...
       Total frozen capital: 12.7 million ₽.
       Show sales dynamics for these items?

Manager: Show me. And suggest a discount to turn it over in 2 months.
Agent: Based on demand elasticity in the category, to
       sell off in 60 days a discount of 18–22% is needed.
       This will generate revenue of 9.1–9.7 million ₽ and free up
       warehouse volume. Launch the promotion KPI calculation?

Scenario 2: Branch manager looks for the cause of a decline

Branch director: Sales in Kazan fell by 15% in July.
                 What's the reason?
Agent: Analyzed data for Kazan for July 2026
       vs June 2026:
       - Overall decline: −14.8% (from 42.1 to 35.9 million ₽)
       - Main factors:
         • Drop in store traffic: −9%
           (facade renovation at Mega mall)
         • 3 hit SKUs dropped from the assortment
           (no supply from Bosch for 4 weeks)
         • Website conversion unchanged (3.2%)
       Detailed report — [link]. Show recommendations
       for recovery?

Scenario 3: Marketer evaluates promotion effectiveness

Marketer: Compare Black Friday 2025 and 2024. What worked,
            what didn't?
Agent: Black Friday 2025 vs 2024:
       - Revenue: +23% (from 180 to 221 million ₽) ✅
       - Average order value: +8% (from 9,200 to 9,950 ₽) ✅
       - E-mail newsletter conversion: −2 pp (from 8 to 6%) ❌
         Reason: the mailing base grew, but 40%
         of subscribers are inactive.
       - Most effective category: "Garden
         tools" (growth +340% driven by 50% discounts).
       Would you like a breakdown by channel and recommendations
       for 2026?

Scenario 4: Logistician checks warehouses

Logistician: Show hub utilization — where is the overflow?
Agent: Current occupancy:
       • Moscow: 92% ⚠️ (intake limit exceeded by 5 days)
       • Novosibirsk: 88%
       • Yekaterinburg: 68% — can redirect flow
         from Moscow.
       • Krasnodar: 95% 🔴 (emergency overflow —
         180 pallets with no space).
       I suggest: redirect shipments from Moscow and
       Krasnodar to Rostov-on-Don (utilization 54%) —
       storage savings ~340,000 ₽/month.
       Create a redirect task?

Scenario 5: CEO at the morning meeting

CEO: Show the top 5 categories by dynamics for the first half of the year
     and the main trends.
Agent: For H1 2026:
       🟢 Growing:
       1. Cordless tools: +34% (trend toward
          mobility, shift away from corded models)
       2. Protective equipment: +28% (tightening of
          occupational safety requirements in construction)
       3. Garden equipment: +22% (boom in suburban
          construction)
       🔴 Declining:
       4. Gas-powered tools: −11% (substitution by cordless)
       5. Hand tools: −5% (high competition
          with marketplaces)
       Monthly chart — [link]. Export
       to presentation?

Implementation economics: calculation for a retailer

Input data

Parameter Value
Business users (category managers, marketing, logistics, regions) ~75
In-house analysts 6
Average analyst salary (regions) 120,000 ₽/month
Insurance contributions (30%) 36,000 ₽/month
Workstation (PC, DWH access, BI licenses) 15,000 ₽/month
Total cost of one analyst 171,000 ₽/month
Average wait time for a simple report 4–8 hours
Average number of data requests per month ~3,000
Share of standard requests (sales of X in Y for Z, top-N, period comparison) ~70%
Average time per request for an analyst (SQL + Excel + verification) 25 minutes

Calculation of current costs

We assume that 6 analysts spend ~70% of their time on standard requests:

Item Calculation Annual amount
Payroll (120,000 × 12 × 6 people) 120,000 × 12 × 6 8,640,000 ₽
Insurance contributions (30%) 8,640,000 × 0.30 2,592,000 ₽
Workstations (BI licenses, DWH, PCs) 15,000 × 12 × 6 1,080,000 ₽
TOTAL ~12,312,000 ₽/year

Of this, ~70% (8,618,400 ₽/year) is the cost of time spent on standard requests that AI can automate.

Calculation of costs with an AI analyst

The AI analyst handles 70% of requests (simple and medium: queries, aggregations, period comparisons, top-N). Complex analytics (forecasting, clustering, predictive models) remains with humans.

Parameter Value
Requests handled by AI 2,100/month (70% of 3,000)
Requests for analysts 900/month — requires 2 analysts (instead of 6)
Annual analyst costs (2 people) 2 × 171,000 × 12 = 4,104,000 ₽/year
AI analyst — turnkey implementation (one-time) 500,000 ₽
Language model API: 2,100 requests/month × 12 × 1 ₽ ~25,000 ₽/year
TOTAL with AI analyst (annual) ~4,129,000 ₽/year

Final savings

Item Amount
Annual costs BEFORE 12,312,000 ₽
Annual costs AFTER 4,129,000 ₽
Implementation (one-time) 500,000 ₽
SAVINGS in the first year 7,683,000 ₽ (≈ 62%)
SAVINGS in subsequent years 8,183,000 ₽/year (≈ 66%)

Payback

Payback = 500,000 ÷ (8,183,000 ÷ 12) ≈ 0.7 months ≈ 3 weeks

Hidden savings: decision speed

The biggest effect is not in reducing the analyst headcount, but in the speed of decision-making:

Scenario Before AI With AI
Category manager found slow-moving inventory In 1–2 days (while the analyst prepares a report) In 30 seconds
Marketer adjusts ad bids The next day (based on yesterday's data) In real time
Logistician sees warehouse overflow When the warehouse is already full (reactive) 3 days before overflow (proactive)
Branch director reacts to a sales drop In a week (monthly report) The same day

With a 15% margin and monthly revenue of ~800 million ₽, every day of delay in deciding on stock reallocation or price adjustments means potential losses of hundreds of thousands of rubles.

Conservative estimate: accelerating decisions by 1 day on average saves ~2–3 million ₽ per year through optimization of stock, marketing, and pricing.

Non-financial effects


Summary

Metric Effect
Analyst headcount From 6 to 2 people
Time to get an answer From 4–8 hours to 3 seconds
Data access 24/7 for all 75 business users
Typical queries 70% automated
Savings on analysts ~8.2 million ₽/year
Hidden savings from faster decisions ~2–3 million ₽/year
Payback 3 weeks

An AI analyst is not just text-to-SQL. It is a bridge between the business and data that removes the intermediary. For a retailer, this means: the category manager optimizes the assortment in real time, the marketer adjusts campaigns on the fly, and the branch director sees a problem on the day it arises, not at the end of the month. And analysts finally do what they trained for — complex models and forecasts, rather than endless data extracts.