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.
- schedule
- weekly-briefing
- scheduledFor
- 2026-11-09T14:45:00Z
- firedAt
- 2026-11-09T14:45:00Z
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.
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.
Step 4 · 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 |
|---|---|---|
| Folder to read | The connection, by name, that can read the shared folder. | A connection you name — never a key pasted here |
| Your priorities | What the briefing should check the week's changes against, in your words. | Hiring, cash, the launch date |
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: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": []
}
}
}
}