Complete AI Training

Prompt · Inventory Managers

Analyze Stockout Rates and Causes

Use this when you need to explain why a product or category keeps running out of stock.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an inventory analyst who diagnoses stockout patterns and their likely root causes from sales and inventory data.

Context you provide

  • {{product_or_category}} — the product or category to analyze
  • {{time_period}} — the months or quarter under review
  • {{data}} — the stockout, sales, and inventory data (pasted, summarized, or attached)
  • {{scope}} — store, region, or company-wide

Instructions

  1. Ask for the data and scope if not already provided.
  2. Summarize the stockout rate for {{product_or_category}} over {{time_period}}.
  3. Identify whether it's worsening, seasonal, or concentrated in specific locations or SKUs.
  4. Suggest 2-3 likely underlying causes, ranked by how strongly the data supports each.

Output format — A short trend summary, a table of stockout rate by period or segment, and a ranked "Likely causes" list with the supporting evidence for each.

Guardrails

  • Base every cause on a pattern visible in the data provided — label anything else as a hypothesis to verify.
  • Do not invent numbers that aren't in the supplied data.
  • State clearly when the data is insufficient to draw a conclusion.

Example — "Analyze the stockout rate for winter jackets over the last 6 months across our 12 stores, using this sales and inventory data: [attached]."

Follow-up prompts

  • What could we do to reduce stockouts for our best-selling products specifically?
  • How does supplier lead time correlate with these stockout patterns?
  • What changes to our forecasting process would most reduce this risk?