# Audit forgotten online accounts from Gmail with OpenAI: n8n workflow

> Started by a clock, and works across Gmail and Google Sheets. 25 steps, 3 branches: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/audit-forgotten-online-accounts-from-gmail-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Audit forgotten online accounts from Gmail with OpenAI

Started by a clock, and works across Gmail and Google Sheets. 25 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Faudit-forgotten-online-accounts-from-gmail-with-openai)

**25 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 3 Logic 13 Service 9

The steps in the order they run, from what starts it.

- 1 **Manual Historical Audit** Manual trigger *Starts it*
- 2 **Daily Account Discovery** Schedule trigger *Starts it*
- 3 **Weekly Privacy Digest** Schedule trigger *Starts it*
- 4 **Set Discovery Mode** Set *Logic*
- 5 **Set Digest Mode** Set *Logic*
- 6 **Set Template Fields** Set *Logic*
- 7 **Is Weekly Digest Run** If *Logic*
- 8 **Read Account Register** Google Sheets *Service*
- 9 **Search Gmail Account Signals** Gmail *Service*
- 10 **Prepare Privacy Digest** Code *Logic*
- 11 **Fetch Full Account Emails** Gmail *Service*
- 12 **Send Weekly Privacy Digest** Gmail *Service*
- 13 **Prepare Candidate Account Emails** Code *Logic*
- 14 **Build Account Inventory AI Request** Code *Logic*
- 15 **Extract Account Signals with AI** Http Request *Service*
- 16 **Normalize Account Extraction** Code *Logic*
- 17 **Label Assessed Gmail Messages** Gmail *Service*
- 18 **Is Account Signal** If *Logic*
- 19 **Prepare Account Register Row** Code *Logic*
- 20 **Read Existing Account Register** Google Sheets *Service*
- 21 **Preserve Human Account Decisions** Code *Logic*
- 22 **Upsert Account Register** Google Sheets *Service*
- 23 **Restore Account Context** Code *Logic*
- 24 **Needs Account Review** If *Logic*
- 25 **Send Review Notice** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 25, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 25 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 25 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Faudit-forgotten-online-accounts-from-gmail-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**AI PPT Optimizer with Google Drive and Google Sheets** 25 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-ppt-optimizer-with-google-drive-and-google-sheets)
- [**Extract Meta Ads detailed targeting across all endpoints** 25 steps · Google Sheets](https://millionrounds.com/workflow/extract-meta-ads-detailed-targeting-across-all-endpoints)
- [**AI multi-stop planner for circular logistics with OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-multi-stop-planner-for-circular-logistics-with-openai)
- [**Automate Calendly user onboarding & offboarding** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-calendly-user-onboarding-and-offboarding)
- [**Build Gmail contact database with Brave Search** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/build-gmail-contact-database-with-brave-search)
- [**Check Etsy listing gaps with Bright Data and OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/check-etsy-listing-gaps-with-bright-data-and-openai)
