Templates / Notify on anomalous Google Drive access and send weekly email summaries

Notify on anomalous Google Drive access and send weekly email summaries

Ready for 3.0

by Dele Tosh @ Protomated ✓ · 4 views · created 2026-09-04 · SecOps, AI Summarization

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 21 nodes and runs on a schedule (cron 0 * * * *) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls admin.googleapis.com over HTTP.

How it runs

Trigger: On a schedule (cron 0 * * * *) (plus 1 other trigger).

  1. Fetch Recent Google Drive Activity (HTTP Request): calls admin.googleapis.com (GET)
  2. Fetch Weekly Google Drive Data (HTTP Request): calls admin.googleapis.com (GET)
  3. Split Drive Activity Records (Split Out): splits a list into separate items
  4. Split Weekly Drive Activity Records (Split Out): splits a list into separate items
  5. Normalize Drive Access Event Data (Code): runs custom JavaScript code
  6. Normalize Weekly Drive Access Event (Code): runs custom JavaScript code
  7. Filter: keeps only the items that match a condition
  8. Filter: keeps only the items that match a condition
  9. Aggregate Hourly Access By User (Code): runs custom JavaScript code
  10. Aggregate Weekly Access By User (Code): runs custom JavaScript code

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

HTTP calls to: admin.googleapis.com

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Quick Overview This workflow monitors Google Workspace Drive audit logs on an hourly and weekly schedule, detecting bulk downloads, access bursts, and new access IPs, then emailing security alerts and a weekly activity digest while also logging both messages…

Excerpt from Dele Tosh @ Protomated'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.