Templates / Audit Google Drive file permissions for access control management

Audit Google Drive file permissions for access control management

Ready for 3.0

by Jimleuk ✓ · 2,738 views · created 2025-04-14 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs on a schedule (every day at 06:00). Along the way it connects Google Sheets, Gmail and Google Drive.

How it runs

Trigger: On a schedule (every day at 06:00).

  1. Create New Sheet (Google Sheets): create
  2. Get Recently Active Documents (Google Drive): work with file folder
  3. Has Shared with External Users (Filter): keeps only the items that match a condition
  4. For Each File (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Flatten Rows (Edit Fields (Set)): sets or maps fields
  6. Rows to Items (Split Out): splits a list into separate items
  7. Permissions To Items (Split Out): splits a list into separate items
  8. Append to New Sheet (Google Sheets): append
  9. Filter: keeps only the items that match a condition
  10. Send Email Report (Execute Once) (Gmail): uses Gmail

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsGmailGoogle Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

This n8n template reviews and audits recently active Google Drive files and reports on files with excessively open permissions. This shows how you can automate simple compliance tasks for access control management. File Sharing Permissions are routinely…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.