Dillo Flows
Briefings & reports, template v1

Weekly briefing from a shared folder

Once a week, the documents that changed in a folder you name are read and drafted into a one-page briefing, checked against your priorities. You approve it before it counts as the week's briefing.

Starts when: Every Monday 6:45am. Produces: Briefing ready for your approval. Steps: 4
Sample run — illustrative, not a record of a real run
schedule
weekly-briefing
scheduledFor
2026-11-09T14:45:00Z
firedAt
2026-11-09T14:45:00Z
1Write it back2Read and summarize3A person decides4The result

Sample result: Briefing drafted from 4 changed documents. Approved by you. Briefing ready.

What each step does

Step 1 · Write it back

The outcome is posted back through the connection you name. The secret stays sealed; the step carries the name only.

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.

Folder changes · ListYour priorities

Step 3 · A person decides

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.

Briefing draft · Summary

Step 4 · The result

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

Briefing draft · Summary

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
Folder to readThe connection, by name, that can read the shared folder.A connection you name — never a key pasted here
Your prioritiesWhat the briefing should check the week's changes against, in your words.Hiring, cash, the launch date

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 connection, by name, that can read the shared folder.

Connections are named, sealed, and never shown again. Add one in the console's setup, then pick it here by name.

What the briefing should check the week's changes against, in your words.

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

The definition

The whole mechanism, before you take it. Package checksums: sha256:f24eead76696… · sha256:f2092a5e5046… · sha256:59ed428cf865…. 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": "weekly-briefing-from-a-shared-folder",
      "version": 1,
      "name": "Weekly briefing from a shared folder",
      "category": "briefings-reports",
      "outcome": "Once a week, the documents that changed in a folder you name are read and drafted into a one-page briefing, checked against your priorities. You approve it before it counts as the week's briefing.",
      "outputName": "Briefing ready for your approval",
      "fits_when": [
        "weekly_briefing"
      ],
      "needs": [
        "connection:folder"
      ]
    },
    "trigger": {
      "type": "timer.fired",
      "source": "platform",
      "manifestFields": {
        "schedule": "string!",
        "scheduledFor": "iso!",
        "firedAt": "iso!"
      },
      "schedule": {
        "label": "Every Monday 6:45am",
        "intervalMinutes": 10080
      }
    },
    "inputConvention": "envelope",
    "variables": [
      {
        "name": "folderConnection",
        "kind": "connection",
        "label": "Folder to read",
        "instruction": "The connection, by name, that can read the shared folder."
      },
      {
        "name": "priorities",
        "kind": "string",
        "label": "Your priorities",
        "instruction": "What the briefing should check the week's changes against, in your words.",
        "example": "Hiring, cash, the launch date",
        "default": ""
      }
    ],
    "sample": {
      "input": {
        "schedule": "weekly-briefing",
        "scheduledFor": "2026-11-09T14:45:00Z",
        "firedAt": "2026-11-09T14:45:00Z"
      },
      "output": "Briefing drafted from 4 changed documents. Approved by you. Briefing ready."
    }
  },
  "flow.json": {
    "name": "Weekly briefing from a shared folder",
    "inputConvention": "envelope",
    "steps": [
      {
        "type": "http",
        "method": "GET",
        "url": "https://example.com/folder/changes",
        "connectionFromVariable": "folderConnection"
      },
      {
        "type": "ai",
        "task": "summarize",
        "untrustedInput": true,
        "text": {
          "segments": [
            {
              "text": "Changed documents this week: "
            },
            {
              "field": {
                "source": "step",
                "stepIndex": 0,
                "path": [
                  "body"
                ],
                "label": "Folder changes · List"
              }
            },
            {
              "text": ". Draft a one-page briefing against these priorities: "
            },
            {
              "field": {
                "source": "variable",
                "name": "priorities",
                "label": "Your priorities"
              }
            }
          ]
        }
      },
      {
        "type": "human",
        "kind": "approval",
        "prompt": {
          "segments": [
            {
              "text": "Approve this week's briefing? "
            },
            {
              "field": {
                "source": "step",
                "stepIndex": 1,
                "path": [
                  "summary"
                ],
                "label": "Briefing draft · Summary"
              }
            }
          ]
        },
        "due": 259200,
        "onExpire": "continue"
      },
      {
        "type": "output",
        "value": {
          "segments": [
            {
              "text": "Briefing ready: "
            },
            {
              "field": {
                "source": "step",
                "stepIndex": 1,
                "path": [
                  "summary"
                ],
                "label": "Briefing draft · Summary"
              }
            }
          ]
        }
      }
    ]
  },
  "rules.json": {
    "rulesets": [],
    "permissions": {
      "approvals": {
        "approveBeforeSteps": [
          2
        ],
        "rejectRequiresComment": true,
        "dueSeconds": 259200,
        "onExpire": "continue"
      },
      "connections": {
        "required": [
          {
            "nameFromVariable": "folderConnection",
            "usedBySteps": [
              0
            ]
          }
        ],
        "optional": []
      }
    }
  }
}

All templates   See the system: Link Map