Weekly
Get one digest of a whole project folder
Every document in a folder and its subfolders is summarised into a single weekly email.
- Runs
- Weekly
- Apps
- OneDrive
- AI
- Yes, uses the built-in AI allowance
- Access
- read
Send this to your assistant
Create a ClickRuntime automation: every Friday at 3pm, summarise all documents in OneDrive Projects/Alpha and its subfolders and email me one digest grouped by subfolder.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A program manager keeps a OneDrive project folder organized as Client, then Phase, then Deliverables, then a dozen subfolders of contracts, drafts, meeting notes and spreadsheets. Several people add to it daily. When a stakeholder asks where things stand, the answer means opening folder after folder, skimming documents, and hoping nothing important was updated in a place you did not look.
Once a week, the folder tree is walked recursively, including every subfolder. Documents that were added or changed since the last run are downloaded and read by ClickRuntime's built-in AI, which writes a short summary of each and an overall digest of what is new in the project. The full email goes to you or your team.
It works for legal matters, construction projects, consulting engagements, audits and any shared folder with many contributors.
What you get out of it
Status without a document hunt
One email replaces an hour of clicking through subfolders. You can answer a client's question about progress using what actually changed this week and not what you remember. That also means the weekly update to a client is accurate, specific and written with the real file names to hand.
Important edits are not buried deep
A revised contract three levels down gets the same visibility as a top-level file, because every subfolder is covered by the walk and summarized. The summary mentions the folder path, so you know exactly where to look when something needs a closer read.
New team members catch up faster
A person joining mid-project can read a few weeks of digests to see how the work developed, instead of asking colleagues to explain each folder. They can also see which topics received the most attention, which is hard to learn from a folder listing.
Fewer status meetings
If the weekly digest already says that the draft was revised and the budget file updated, the meeting can be shorter or skipped entirely. Regular written updates make it clear that work is moving, which reduces anxious check-ins from stakeholders.
A running log of project activity
Saved digests create a dated history of deliverables and revisions, which helps when a dispute arises about what was shared and when. That record is dated and generated automatically, so it is more trustworthy than a memory of events.
How it works
What happens, step by step
Every week, ClickRuntime goes through your project folder in OneDrive and every folder inside it.
It reads each document that changed this week, and AI sums each one up in a sentence.
AI then writes a three-line overview of the week across all the documents.
You get one email with the overview at the top and the one-line summaries below.
Before it runs live
- Connect OneDrive
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other OneDrive steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, credentials, http, ai, notify
GRAPH = "https://graph.microsoft.com/v1.0"
ROOT = "Clients"
def walk(h, item_id):
for i in http.get(f"{GRAPH}/me/drive/items/{item_id}/children", headers=h).json()["value"]:
if "folder" in i:
yield from walk(h, i["id"])
else:
yield i
@on_trigger
def run(event):
h = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}
root = http.get(f"{GRAPH}/me/drive/root:/{ROOT}", headers=h).json()["id"]
since = (datetime.now(timezone.utc) - timedelta(days=7)).isoformat()
summaries = []
for f in walk(h, root):
if f["lastModifiedDateTime"] > since and f["name"].endswith((".txt", ".md", ".csv")):
text = http.get(f"{GRAPH}/me/drive/items/{f['id']}/content", headers=h).text[:6000]
summaries.append(f"{f['name']}: " + ai.generate(text, system="Summarise in one sentence.", max_output_tokens=80).text)
if not summaries:
return {"docs": 0}
overall = ai.generate("\n".join(summaries), system="Write a 3-line overview of this week's documents.", max_output_tokens=150).text
notify.email_me(f"{ROOT}: {len(summaries)} documents this week", overall + "\n\n" + "\n".join(summaries))
return {"docs": len(summaries)}FAQ
Common questions
Does it summarize every file or only changed ones?
Which file types can be read?
How does it treat confidential folders?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Archive old files from a temp folder weekly
Files that have sat untouched for months move to Archive, and you get a list of what moved.
See how it worksBack up an export to OneDrive every night
A dated copy of your data export is saved nightly, older copies are pruned, and you hear if it fails.
See how it worksRefresh a workbook in OneDrive every day
A workbook stored in OneDrive gets fresh values daily and you get the new total.
See how it worksKeep exploring
Set up “Get one digest of a whole project folder” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.