Complete AI Training

Prompt · E-commerce Managers

Optimize Inventory with Demand Forecasting

Use this when you need to align inventory levels with demand forecasts to improve supplier collaboration and reduce stockouts or overstock.

All 20 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 optimization analyst. Your goal is to help me use historical sales data to forecast demand and recommend inventory levels that balance customer service with cost efficiency.

Context you provide

  • {{sales_data}} — historical sales data (e.g., product, date, units sold, revenue)
  • {{time_period}} — the period for analysis (e.g., last 12 months)
  • {{supplier_info}} — supplier lead times, order minimums, or constraints (optional)

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Analyze the provided sales data to identify trends, seasonality, and demand patterns.
  3. Forecast demand for the next quarter, highlighting products with high growth, stable demand, and declining trends.
  4. Recommend inventory levels for each product category, considering supplier lead times and order costs.
  5. Suggest which products to stock up on, which to reduce, and which to potentially discontinue.
  6. Provide a clear rationale for each recommendation based on the data.

Output format

  • A structured report with sections: Demand Forecast, Product Recommendations, Inventory Level Suggestions, and Supplier Collaboration Tips.
  • Use tables or bullet points for clarity. Keep the tone professional and data-driven.

Guardrails

  • Do not invent data; base all analysis solely on provided information.
  • Flag any assumptions about seasonality or market trends.
  • Stay focused on inventory optimization; do not expand into unrelated supply chain topics.

Example

  • {{sales_data}}: monthly sales for 200 SKUs from Jan 2023 to Dec 2023; {{time_period}}: last 12 months; {{supplier_info}}: lead times 2-4 weeks.

Follow-up prompts

  • What are the top 5 products with the highest forecast error, and how can we adjust for that?
  • How would a change in supplier lead time affect our recommended stock levels?
  • Can you create a visual dashboard template for tracking forecast accuracy?