The company
Turn a process on or off
Every Process ships with defaults; say which to turn on, pause or change, and your agent sets it.
For developers
Every Process your Startup runs comes with defaults. Say what to turn on, pause or change, and your agent flips it and sets the Setting.
For developers
Needs Startup
What you get
- 1Role review Process, onProcess
- 1Setting: the Role review goes out Fridays at fourSetting
- 1report each Friday, with every number and its targetAction
Your agent does
You, to your agent
Turn on the Monday Role review.
Which processes are running?
Pause the weekly Role review until we launch.
# 1. Process.enable
curl -X POST https: //api.sb/ leaseline.app/ processes/ process_role_review/ enable \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
# 2. Setting.update
curl -X PATCH https: //api.sb/ leaseline.app/ settings/ setting_1 \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
-H "Content-Type: application/ json" \
-d '{"value": "fri 16: 00", "key": "roleReview.at"}'
import { $ } from 'startup-builder'
await $.Process.enable({ process: 'process_role_review' })
await $.Setting.update({ id: 'setting_1', value: 'fri 16: 00', key: 'roleReview.at' })
npx startup-builder do Process.enable --json '{"process": "process_role_review"}'
npx startup-builder do Setting.update --json '{"id": "setting_1", "value": "fri 16: 00", "key": "roleReview.at"}'
{
"name": "do",
"arguments": {
"code": "await $.Process.enable({ process: 'process_role_review' })\nreturn await $.Setting.update({ id: 'setting_1', value: 'fri 16: 00', key: 'roleReview.at' })"
}
}
Change it
- Pause it until we launch.
- Send it to my cofounder too.
- Show me every Process that is off.
Under the hood
- Systems
- Nouns
- Process, Workflow, Trigger, Setting, Action
- Events
Process.enabled,Process.paused
A paused Process finishes the Action in progress and starts no new one. Each Setting is a sentence you can say back: the Role review day you ask for is the value it stores.