Skip to content

Draft a PRD

Analyses a product brief and drafts a focused PRD with acceptance criteria into a Notion page.

Template product-prd-draft
Works on A document (Notion)
Where a person acts Approve write — a person approves or rejects, waiting up to 24h
Agents it calls by name productAnalyst, prdWriter

Drawn from the template spec at build time. Bookkeeping nodes that only record status are left out; amber nodes are where a person acts.

flowchart TD
  n_resolveWorkspace["Resolve workspace"]
  n_checkSource{"Check source?"}
  n_analyzeBrief[["Analyze brief<br/><small>agent: productAnalyst</small>"]]
  n_readSource["Read source"]
  n_draftPrd[["Draft PRD<br/><small>agent: prdWriter</small>"]]
  n_publishOutcome["Publish outcome"]
  n_checkAuto{"Check auto?"}
  n_humanApproval>"Approve write<br/><small>person: approval</small>"]
  n_writeOutcome["Write outcome"]
  n_doneRejected(["Done<br/><small>done rejected</small>"])
  n_done(["Done"])
  n_resolveWorkspace --> n_checkSource
  n_checkSource -->|"yes"| n_analyzeBrief
  n_checkSource -->|"no"| n_readSource
  n_analyzeBrief --> n_draftPrd
  n_readSource --> n_analyzeBrief
  n_draftPrd --> n_publishOutcome
  n_publishOutcome --> n_checkAuto
  n_checkAuto -->|"yes"| n_humanApproval
  n_checkAuto -->|"no"| n_writeOutcome
  n_humanApproval -->|"approved"| n_writeOutcome
  n_humanApproval -->|"rejected"| n_doneRejected
  n_humanApproval -->|"timed out"| n_doneRejected
  n_writeOutcome --> n_done
  class n_humanApproval gate

Seeded content rather than a proven flow. The connector, the agents, and the governance it relies on exist, but only the engineering flow has a complete, exercised end-to-end path today. See product overview §8.

Every built-in template is seeded into the workflow library and can be cloned, edited on the visual canvas, and versioned — see architecture for the node types. The spec lives in packages/shared/src/workflow/templates/productPrdDraft.ts.

© 2026 Jorge Barnaby

Source-available under FSL-1.1-MIT

Source on GitHub

Built with Astro and Starlight