Automation library · Money admin

Expense organizer with Google Drive and Gemini

Started by someone submitting a form, and works across Gmail, Google Drive and S3. It hands the judgement calls to Gemini. 21 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 1Model 3Logic 8Service 9

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

  1. 1On form submissionForm triggerStarts it
  2. 2Google Gemini Chat Model1Lm Chat Google GeminiModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4personalIfLogic
  5. 5businessIfLogic
  6. 6sharedIfLogic
  7. 7IfIfLogic
  8. 8AI AgentAgentModel
  9. 9Code1CodeLogic
  10. 10CodeCodeLogic
  11. 11Send a message1GmailService
  12. 12Code2CodeLogic
  13. 13Extract from FileExtract From FileService
  14. 14Merge2MergeLogic
  15. 15Upload fileGoogle DriveService
  16. 16Upload a file1S3Service
  17. 17Upload file1Google DriveService
  18. 18Upload a fileS3Service
  19. 19Upload file2Google DriveService
  20. 20Upload a file2S3Service
  21. 21Send a messageGmailService

How it's built

Starts on
Someone submitting a form
Steps
21, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Drive, S3
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive and S3 accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 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 21 steps before you point it at anything that matters.