Proposal stress-test
A proposal is read three ways — money, customer, and whether it can actually be done — and written up as a short memo with a recommendation. The call is yours, picked from named options.
- title
- Sample proposal
- proposalText
- Sample proposal text: open a second location in spring.
Sample result: Memo written: money view, customer view, execution view, with a recommendation. You picked: Revise. Decision memo ready.
What each step does
Step 1 · Read and summarize
An AI step does this part. Today it runs on a simulated stand-in, labelled simulated on every run, until a real model is wired. This step reads text that arrived from outside — an email, a document, a form. Treat its output as a draft from untrusted input: that is why a person checks what it produces before anything leaves.
Step 2 · Read and summarize
An AI step does this part. Today it runs on a simulated stand-in, labelled simulated on every run, until a real model is wired. This step reads text that arrived from outside — an email, a document, a form. Treat its output as a draft from untrusted input: that is why a person checks what it produces before anything leaves.
Step 3 · Read and summarize
An AI step does this part. Today it runs on a simulated stand-in, labelled simulated on every run, until a real model is wired. This step reads text that arrived from outside — an email, a document, a form. Treat its output as a draft from untrusted input: that is why a person checks what it produces before anything leaves.
Step 4 · A person picks the path
The run stops and asks the person named in your settings. The decision window is 72 hours; if it lapses, the run carries on without a decision, and the lapse is on the record. Rejecting always takes a comment. The person picks from named options: Proceed, Revise, Drop. The pick is recorded as a named choice, never read out of prose.
Step 5 · The result
This is what the run hands back, written into the run's record where you can read it.
What you'll fill in
These are the only things the template asks of you. Examples teach the shape — they are never values your flow runs on; what you type (or the stated starting value) is what gets used.
| Field | What to put in it | Example |
|---|---|---|
| Who makes the call | The role or person who picks the path at the end. | Owner |
Set it up
- Fill in the fields below.
- Name the connections it needs — by name only.
- Look at the trigger preview: what would start a run, counted before anything is armed.
- Review the steps, the rules, and every place a person is asked.
- Create it — then run it once yourself, and read the run's record.
Use this template
The definition
The whole mechanism, before you take it. Package checksums: sha256:66a416431286… · sha256:aa22a358a160… · sha256:a56944b4132e…. A flow made from this template carries this template's name and version in its record, and exports in the standard bundle with that provenance.
Advanced · the three files, as written
{
"trigger.json": {
"template": {
"slug": "proposal-stress-test",
"version": 1,
"name": "Proposal stress-test",
"category": "approvals-decisions",
"outcome": "A proposal is read three ways — money, customer, and whether it can actually be done — and written up as a short memo with a recommendation. The call is yours, picked from named options.",
"outputName": "Decision memo",
"fits_when": [
"proposals"
],
"needs": []
},
"trigger": {
"type": "manual",
"source": "platform",
"manifestFields": {
"title": "string!",
"proposalText": "string!"
}
},
"inputConvention": "payload",
"variables": [
{
"name": "deciderRole",
"kind": "string",
"label": "Who makes the call",
"instruction": "The role or person who picks the path at the end.",
"example": "Owner",
"default": "Decider"
}
],
"sample": {
"input": {
"title": "Sample proposal",
"proposalText": "Sample proposal text: open a second location in spring."
},
"output": "Memo written: money view, customer view, execution view, with a recommendation. You picked: Revise. Decision memo ready."
}
},
"flow.json": {
"name": "Proposal stress-test",
"inputConvention": "payload",
"steps": [
{
"type": "ai",
"task": "summarize",
"untrustedInput": true,
"text": {
"segments": [
{
"text": "Read this proposal for its money: costs, revenue, risk. Proposal: "
},
{
"field": {
"source": "trigger",
"name": "proposalText",
"label": "Proposal · Text"
}
}
]
}
},
{
"type": "ai",
"task": "summarize",
"untrustedInput": true,
"text": {
"segments": [
{
"text": "Read this proposal for the customer: who it helps, who it hurts. Proposal: "
},
{
"field": {
"source": "trigger",
"name": "proposalText",
"label": "Proposal · Text"
}
}
]
}
},
{
"type": "ai",
"task": "summarize",
"untrustedInput": true,
"text": {
"segments": [
{
"text": "Read this proposal for whether it can be done: time, people, dependencies. Proposal: "
},
{
"field": {
"source": "trigger",
"name": "proposalText",
"label": "Proposal · Text"
}
}
]
}
},
{
"type": "human",
"kind": "path",
"prompt": {
"segments": [
{
"text": "Three reads of "
},
{
"field": {
"source": "trigger",
"name": "title",
"label": "Proposal · Title"
}
},
{
"text": " are in the record. Pick the path."
}
]
},
"choices": [
"Proceed",
"Revise",
"Drop"
],
"due": 259200,
"onExpire": "continue"
},
{
"type": "output",
"value": {
"segments": [
{
"text": "Decision memo ready for "
},
{
"field": {
"source": "trigger",
"name": "title",
"label": "Proposal · Title"
}
}
]
}
}
]
},
"rules.json": {
"rulesets": [],
"permissions": {
"approvals": {
"approveBeforeSteps": [
3
],
"rejectRequiresComment": true,
"dueSeconds": 259200,
"onExpire": "continue"
},
"connections": {
"required": [],
"optional": []
}
}
}
}