Automation library · Research and reporting

Reconcile bank transactions and generate reports with OpenAI

Started by a clock, and works across Gmail. It hands the judgement calls to OpenAI. 31 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

31 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 20Logic 5Service 5

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

  1. 1Daily Accounting RunSchedule triggerStarts it
  2. 2OpenAI GPT-4Lm Chat Open AiModel
  3. 3Transaction Classification SchemaOutput Parser StructuredModel
  4. 4Reconciliation SchemaOutput Parser StructuredModel
  5. 5Journal Entry SchemaOutput Parser StructuredModel
  6. 6Error Detection SchemaOutput Parser StructuredModel
  7. 7Financial Statement SchemaOutput Parser StructuredModel
  8. 8Tax Report SchemaOutput Parser StructuredModel
  9. 9Calculator ToolTool CalculatorModel
  10. 10Gmail ToolGmail ToolService
  11. 11OpenAI GPT-Lm Chat Open AiModel
  12. 12OpenAI GPT-5Lm Chat Open AiModel
  13. 13OpenAI GPT-6Lm Chat Open AiModel
  14. 14OpenAI GPTLm Chat Open AiModel
  15. 15OpenAILm Chat Open AiModel
  16. 16Workflow ConfigurationSetLogic
  17. 17Tax Agent Communication AgentAgentModel
  18. 18Transaction Classifier AgentAgentModel
  19. 19Account Reconciliation AgentAgentModel
  20. 20Journal Entry Generator AgentAgentModel
  21. 21Error Detection AgentAgentModel
  22. 22Financial Statement Generator AgentAgentModel
  23. 23Tax Report Generator AgentAgentModel
  24. 24Fetch Bank TransactionsHttp RequestService
  25. 25Fetch Accounting System DataHttp RequestService
  26. 26Aggregate All ResultsAggregateLogic
  27. 27Post Journal Entries to SystemHttp RequestService
  28. 28Check for ErrorsIfLogic
  29. 29Combine Financial DataMergeLogic
  30. 30Format Final ReportSetLogic
  31. 31Send Summary EmailGmailService

How it's built

Starts on
A clock
Steps
31, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Gmail
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

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