Library › Leadership AI › Consultants

Output a delivery-delay issue tree as nested JSON

  • For Consultants
  • You practice Asking for a format you can use
  • Time about 5 minutes
  • Level Intermediate

About this exercise

Build an issue tree for late deliveries as JSON in one code block: an object with the key problem and the key branches (an array of exactly 3 objects, each with name and questions, where questions is an array of exactly 2 strings). Branches must not overlap and must cover the cases in the notes. At most 30 lines inside the block and nothing outside it.

Common mistakes when you ask AI for this

  • Overlapping branches. The AI makes 'process' and 'people' branches. Try: Say: "Branches follow the three stages: no overlap."
  • Wrong shape. The AI adds levels or more questions. Try: Say: "Exactly 3 branches with 2 question strings each."
  • Treating beliefs as facts. The AI states customers order later. Try: Say: "Only as a question to test."
  • Extra text. The AI explains the tree. Try: Say: "Only the code block."
  • Too many lines. The AI pretty-prints. Try: Say: "At most 30 lines inside."

What a strong prompt includes

  • Keys
  • Counts
  • Stages
  • No overlap
  • One block

Practice this now ↑

Related exercises