Templates / Audit forgotten online accounts from Gmail with OpenAI and Google Sheets

Audit forgotten online accounts from Gmail with OpenAI and Google Sheets

Ready for 3.0

by Olivier ✓ · 11 views · created 2026-07-28 · Personal Productivity, 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-10-19.

What this workflow does

This workflow has 25 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Gmail and Google Sheets. It also calls openrouter.ai over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Set Discovery Mode (Edit Fields (Set)): sets 1 field: executionMode
  2. Set Digest Mode (Edit Fields (Set)): sets 1 field: executionMode
  3. Set Template Fields (Edit Fields (Set)): sets 13 fields: gmailDiscoveryQuery, gmailTestQuery, processedGmailLabel…
  4. Is Weekly Digest Run (If): checks a condition and branches into true / false
  5. Read Account Register (Google Sheets): uses Google Sheets
  6. Search Gmail Account Signals (Gmail): get many (message)
  7. Prepare Privacy Digest (Code): runs custom JavaScript code
  8. Fetch Full Account Emails (Gmail): get (message)
  9. Send Weekly Privacy Digest (Gmail): uses Gmail
  10. Prepare Candidate Account Emails (Code): runs custom JavaScript code

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

Services it uses

GmailGoogle Sheets

HTTP calls to: openrouter.ai

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 (8)

From the author

Quick overview This workflow audits your Gmail for account-related emails, uses an AI model via OpenRouter to extract service details and risk signals, and maintains a deduplicated account register in Google Sheets, with optional review alerts and a weekly…

Excerpt from Olivier'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.