←All posts

How to create a weekly index of new files in a shared Google Drive folder

Track files newly observed in a shared Drive folder and produce a weekly linked index. Handle subfolders, moved files, baseline scans and incomplete results.

Create a weekly index of new files by comparing the IDs currently visible in a selected Drive folder with a saved inventory. Record files when they are first observed, then publish one dated list with their names, locations and links.

Decide what “new” means before building the report. A document created last year but moved into the project folder today is new to the folder. A document edited today may have been there for months. Creation and modification timestamps alone do not answer both questions.

Choose the scope and the meaning of new

This guide uses newly observed in the selected folder tree. The first complete scan establishes a baseline. Later scans record previously unseen file IDs with a first-observed timestamp, and the weekly index reports those additions.

That definition is useful for a team asking “What has appeared in our project folder?” It is an inventory comparison, not a complete event history. A file added and removed between scans may never be observed.

Write down these settings:

SettingExample policy
Root folderOne approved project folder ID
SubfoldersInclude all accessible descendants
ShortcutsList separately, do not follow automatically
BaselineExisting files are recorded, not announced as new
Scan frequencyOnce each working day
Weekly cutoffFriday at 15:00 in the team’s timezone
DestinationOne private review document

If you only need files created during a date range, use that simpler definition and label the report accordingly. Do not call a creation-date report a complete list of files added to a folder.

Option 1: Review the folder and keep a simple list

For a small project folder, inspect its contents weekly and add useful links to a shared note. Sort and filter the folder to find likely additions, then check whether each file is new to the project or merely recently edited.

Keep the index short: filename, folder, link and a sentence explaining why the team should read it, if that context is known. Avoid copying document content into the index when the link is enough.

A consistent folder structure makes this easier. Google’s Drive organisation guide describes folders and basic organisation controls. Agree where finished deliverables and working files belong before trying to report on them.

Manual review is often the right choice when there are only a few additions or when someone already curates the folder. Automation is more useful when files arrive across many subfolders and the team repeatedly misses them.

Option 2: Build the weekly index with Pillow

Pillow is an AI assistant that builds editable workflows from plain-English instructions through its workflow builder.

Give it the root folder, scope and reporting schedule. Ask it to keep a durable inventory and describe additions using the first-observed date, so the report does not imply a precise upload history it has not collected.

Build a disabled workflow that prepares a weekly index of files newly
observed in a Google Drive folder. Ask for the root folder, subfolder
policy, timezone, scan schedule, weekly cutoff and private destination.
Use the first complete scan as a baseline without announcing all existing
files as new. Save file IDs, names, parent folders, links and first-seen
times. On later scans, identify IDs not previously observed in scope.
Keep recently edited existing files separate from newly observed files.
List shortcuts separately and do not follow them outside the approved
scope. Record folders that could not be read and mark incomplete scans.
Do not treat an inaccessible folder as empty or advance a successful
checkpoint after an incomplete scan.
Prepare one report per weekly period with file links and folder paths.
Preserve manual annotations, avoid repeating already reported additions,
and label first-seen times accurately. Do not move, share or delete files,
or send the report. Show the baseline and scope before enabling it.
Download Pillow

Copy the prompt above, then open Pillow to build your automation.

Option 3: Compare Drive inventories in n8n

Use a scheduled Drive search, a durable inventory store and a separate weekly report step. The n8n Drive search operation supports selecting a drive or folder and returning file metadata.

Do not assume a search of a parent folder includes all descendants. Drive’s parent query returns direct children; searching a whole tree requires traversing the child folders. Google Drive search behaviour.

For a folder-tree scan:

  1. Put the root folder ID in a queue.
  2. List that folder’s direct children and follow every result page.
  3. Add child folders to the queue, keeping a visited-ID set.
  4. Add file records to the current inventory with their IDs and parent locations.
  5. Keep shortcuts separate according to the chosen policy.
  6. Compare the completed inventory with the saved baseline and prior observations.
  7. Record new file IDs and their first-observed timestamps.

If a folder cannot be read, retain its prior inventory and record the failure. Do not replace its stored contents with an empty list. Otherwise, a restored connection could make the entire folder appear newly populated next week.

Build a baseline without flooding the first report

Run the first scan as setup. Show the folder count, file count and exclusions, then confirm that this is the intended scope. Mark those file IDs as baseline records rather than new additions.

Suppose a fictional project contains 240 files on Monday. On Tuesday, three new IDs appear. The first weekly index should list those three additions, not 243 files. If an older document is moved into the scope on Wednesday, it appears as newly observed even though its original creation date is old.

Save both the source creation date, if available, and the first-observed date. Label them separately. This gives readers useful context without implying that the scan knows exactly when the file entered the folder.

When you expand the scope to another existing subfolder, baseline that addition deliberately. Otherwise, a scope change can look like a sudden burst of new project documents. Record the scope version with each report so the difference is explainable.

Make one readable weekly report

Group additions by project subfolder and list filename, link, first-observed date and file type. Include a short coverage line: root folder, scan period, latest complete scan and any excluded areas.

For example, a useful entry is “Supplier checklist, 02 Inputs, first observed 5 November, spreadsheet”. A generic “New document uploaded” message gives the reader too little information to decide whether to open it.

Keep the report factual unless a person supplies a description or you deliberately add a content-reading step. A filename can suggest a document’s purpose, but it does not prove that a proposal is approved or a deliverable is final.

Use a stable report key from root-folder scope plus weekly period. Update the generated list within that report instead of creating another document whenever the report step retries. Preserve manual annotations in a separate section.

If the list is long, show a short summary and link the complete index. State any display limit. “First 25 of 73 additions” is honest; silently dropping the remaining entries is not.

Handle moves, renames and repeat appearances

A renamed file keeps its file ID, so it should update the inventory rather than appear as a new document. Moving a file between included subfolders should also preserve its identity while updating its location.

For a file that leaves the scope and later returns, choose a policy. This guide treats it as previously seen and can list it separately as returned. If you want every re-entry announced, store entry episodes rather than only one lifetime first-seen date.

Keep disappearance distinct from deletion. A file may have moved, become inaccessible or been excluded by changed settings. Do not create a deletion report unless the source information supports that conclusion.

Store which additions have been included in a completed weekly report. If report generation fails, preserve those pending additions. Advance the reporting checkpoint only after the report is saved successfully, with a recoverable report ID for retries.

Questions about weekly Drive indexes

Can this report the exact time a file was added to a folder?

Not from periodic inventory scans alone. It records when the workflow first observed the file. If precise movement history is required, use an appropriate activity-history source and define its coverage separately.

Will a newly edited document appear as new?

Not under this design. Existing file IDs remain existing files. You can add an Updated files section using a separate rule, but label it clearly and avoid mixing the two categories.

Should the report automatically be emailed to everyone with folder access?

Use an explicit recipient list if you later add delivery. Folder access does not necessarily identify the intended audience for a digest. Prepare and review the index before adding a sending step.

Keep going

Browse all guides