Processes
A folder in workflows/ is one Process, and its index file states the owner Role, the Metric and the target.
A folder in workflows/ is one Process, and its index.mdx states the owner Role, the Metric and the target. It implements how work runs.
workflows/renewals/index.mdxthe Processnotice-at-60-days.mdxa Workflow, literateweekly-unanswered.tsa Workflow, plain TypeScript
Reference
index.mdx: frontmatter is the Process; the body says what it is for.
| Key | Type | Holds |
|---|---|---|
owner | Role path | The Role accountable for it |
team | Team id | The Team it belongs to; the owner's by default |
metric | Metric id | What it moves |
target | number | The value the owner is judged on |
stakes | low | high | Default stakes for its Workflows |
Examples
Minimal
---
owner: customer/ success-manager
---Leaseline
---
owner: customer/ success-manager
metric: renewals.answeredRate
target: 0.95
stakes: low
---
Every resident hears about their renewal at 60 days and answers before the end date.What it builds
The StartupBuilder compiles the folder.
- a
Processowned by the Role, on its Dashboard - each file beside
index.mdxas one of its Workflows - a folder inside the folder as a sub-Process
Routing
workflows/ is $.renewals in the SDK and renewals in MCP. Each Workflow is a member: $.renewals.noticeAt60Days.
Good to know
- A Startup's own automations are small Processes. There is no separate folder for triggers.