Automation library · Data collection

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

25 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 3Logic 13Service 9

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

  1. 1Manual Historical AuditManual triggerStarts it
  2. 2Daily Account DiscoverySchedule triggerStarts it
  3. 3Weekly Privacy DigestSchedule triggerStarts it
  4. 4Set Discovery ModeSetLogic
  5. 5Set Digest ModeSetLogic
  6. 6Set Template FieldsSetLogic
  7. 7Is Weekly Digest RunIfLogic
  8. 8Read Account RegisterGoogle SheetsService
  9. 9Search Gmail Account SignalsGmailService
  10. 10Prepare Privacy DigestCodeLogic
  11. 11Fetch Full Account EmailsGmailService
  12. 12Send Weekly Privacy DigestGmailService
  13. 13Prepare Candidate Account EmailsCodeLogic
  14. 14Build Account Inventory AI RequestCodeLogic
  15. 15Extract Account Signals with AIHttp RequestService
  16. 16Normalize Account ExtractionCodeLogic
  17. 17Label Assessed Gmail MessagesGmailService
  18. 18Is Account SignalIfLogic
  19. 19Prepare Account Register RowCodeLogic
  20. 20Read Existing Account RegisterGoogle SheetsService
  21. 21Preserve Human Account DecisionsCodeLogic
  22. 22Upsert Account RegisterGoogle SheetsService
  23. 23Restore Account ContextCodeLogic
  24. 24Needs Account ReviewIfLogic
  25. 25Send Review NoticeGmailService

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.