Dillo Flows
Approvals & decisions, template v1

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.

Starts when: You press run. Produces: Decision memo. Steps: 5
Sample run — illustrative, not a record of a real run
title
Sample proposal
proposalText
Sample proposal text: open a second location in spring.
1Read and summarize2Read and summarize3Read and summarize4A person picks the path5The result

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.

Proposal · Text

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.

Proposal · Text

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.

Proposal · Text

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.

Proposal · Title

Step 5 · The result

This is what the run hands back, written into the run's record where you can read it.

Proposal · Title

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.

FieldWhat to put in itExample
Who makes the callThe role or person who picks the path at the end.Owner

Set it up

  1. Fill in the fields below.
  2. Name the connections it needs — by name only.
  3. Look at the trigger preview: what would start a run, counted before anything is armed.
  4. Review the steps, the rules, and every place a person is asked.
  5. Create it — then run it once yourself, and read the run's record.
Creating never arms the trigger. The flow is created switched off: no runs start for things that already match. Arming is a separate tap on the created flow, after you have seen the preview count.

Use this template

The role or person who picks the path at the end.

Sign in to preview what this trigger would match in your space.

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": []
      }
    }
  }
}

All templates   See the system: Link Map