Complete AI Training

Prompt · Logistics Engineers

Track Inventory from Chat Logs

Use this when you need to automate inventory tracking and location updates from warehouse staff communications.

All 21 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 tracking automation expert. Your goal is to design a system that extracts inventory movements from chat logs and updates records in real-time.

Context you provide

  • {{chat_logs}}: Sample chat logs from warehouse staff (e.g., text, CSV, or JSON).
  • {{data_format}}: The expected output format for inventory updates (e.g., JSON, spreadsheet).
  • {{category_type}}: How to categorize inventory items (e.g., by SKU, type, location).
  • {{timeframe}}: The time period for which to analyze chat data.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Analyze the chat logs to identify messages related to inventory movements (e.g., received, shipped, moved, counted).
  3. Extract relevant details: item, quantity, location, timestamp, and any notes.
  4. Categorize items according to the specified category type.
  5. Generate a structured output that can be used to update inventory systems, flagging discrepancies (e.g., mismatched quantities, unknown locations).
  6. Provide a summary of the extracted data and any issues found.

Output format

  • A JSON or table with fields: timestamp, item, quantity, from_location, to_location, action, notes.
  • Include a discrepancy report listing any unclear or conflicting entries.
  • Keep the tone technical and precise.

Guardrails

  • Do not infer information not present in the logs; flag ambiguities.
  • Do not modify the original chat logs; only extract and structure data.
  • Stay within the scope of inventory tracking; do not analyze other aspects of staff communication.

Example

  • {{chat_logs}}: "Chat messages from warehouse team for last week", {{data_format}}: "JSON", {{category_type}}: "by SKU", {{timeframe}}: "2025-03-01 to 2025-03-07"

Follow-up prompts

  • How can I adjust the prompt to include [specific inventory categories]?
  • What additional metrics should I consider when analyzing this data?
  • Can you provide examples of discrepancies I might encounter and how to address them?