Library › Legal & Compliance AI › Legal teams

Extract contract end and notice dates into a CSV block

  • For Legal teams
  • You practice Asking for a format you can use
  • Time about 5 minutes
  • Level Beginner

About this exercise

Turn the contract register notes into one CSV code block. Header line exactly: Contract,End date,Notice period,Auto-renews. One row per contract. Dates as YYYY-MM-DD. Use the latest end date after any amendment. If a field is not in the notes, write Not stated. Auto-renews is Yes, No or Not stated. Output only the code block.

Common mistakes when you ask AI for this

  • Using the old date. The AI picks Orchid's original June end date. Try: Say: "Use the latest end date after any amendment."
  • Guessing missing fields. The AI invents a notice period for Marrow & Finch or dates for Calder. Try: Say: "If a field is not in the notes, write Not stated."
  • Table instead of CSV. The AI makes a markdown table. Try: Say: "One CSV code block with this exact header line."
  • Chatty extras. The AI adds explanations around the block. Try: Say: "Output only the code block."

What a strong prompt includes

  • Exact header
  • CSV code block
  • Latest date after amendment
  • Not stated rule
  • Date format

Practice this now ↑

Related exercises