# Weekly summary of changed files in a shared folder

Every Friday at 15:00 UTC, reads up to 15 files changed this week in a cloud drive folder, summarizes each one, and emails you a single digest.

**Use cases:** Content, Automation

**Tags:** cloud drive, loop, schedule, email

[Create this agent](https://seclai.com/agent-examples/create/drive_folder_digest)

## How it starts

Trigger: template input.
Runs on a schedule.

## What it needs

- **Cloud drive connection** — Connect Google Drive, OneDrive or Dropbox under cloud drives first.

## Steps

- List the folder
- Pick this week's changes
- For each changed file
  - For each item: Read the file
  - Summarize the file
  - Keep the summary
- Anything changed?
  - If yes: Write the digest
  - Email the digest
