Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every week, ClickRuntime goes through your project folder in OneDrive and every folder inside it.

  2. It reads each document that changed this week, and AI sums each one up in a sentence.

  3. AI then writes a three-line overview of the week across all the documents.

  4. 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

RunsWeekly
Get one digest of a whole project foldertoday, 9:00Succeeded
Email · Clients: 6 documents this weekMost activity was on the Northwind renewal. Northwind/renewal-terms.md: Proposes a 2-year term at 8% discount.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
ai_summary_of_nested_folder_contents.pyexample
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?
Only files that are new or modified since the previous run are downloaded and summarized, which keeps the digest focused and avoids repeating old material. Unchanged documents are skipped entirely. Unchanged documents are skipped entirely, so each digest stays short and focused on this week's activity.
Which file types can be read?
Text-based documents such as PDF, Word and plain text are the best fit. Spreadsheets and slide decks can be read for their text, while images, videos and password-protected files are skipped or listed by name only.
How does it treat confidential folders?
The run reads only the folder you connect, with the permissions of the account you authorize, and your OneDrive token is stored as a secret. Point it at a folder that suits the audience of the email.
What permissions does it need?
read. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.