# Reconcile bank transactions and generate reports with OpenAI: n8n workflow

> 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...

Source: https://millionrounds.com/workflow/reconcile-bank-transactions-and-generate-reports-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Freconcile-bank-transactions-and-generate-reports-with-openai)

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

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 20 Logic 5 Service 5

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

- 1 **Daily Accounting Run** Schedule trigger *Starts it*
- 2 **OpenAI GPT-4** Lm Chat Open Ai *Model*
- 3 **Transaction Classification Schema** Output Parser Structured *Model*
- 4 **Reconciliation Schema** Output Parser Structured *Model*
- 5 **Journal Entry Schema** Output Parser Structured *Model*
- 6 **Error Detection Schema** Output Parser Structured *Model*
- 7 **Financial Statement Schema** Output Parser Structured *Model*
- 8 **Tax Report Schema** Output Parser Structured *Model*
- 9 **Calculator Tool** Tool Calculator *Model*
- 10 **Gmail Tool** Gmail Tool *Service*
- 11 **OpenAI GPT-** Lm Chat Open Ai *Model*
- 12 **OpenAI GPT-5** Lm Chat Open Ai *Model*
- 13 **OpenAI GPT-6** Lm Chat Open Ai *Model*
- 14 **OpenAI GPT** Lm Chat Open Ai *Model*
- 15 **OpenAI** Lm Chat Open Ai *Model*
- 16 **Workflow Configuration** Set *Logic*
- 17 **Tax Agent Communication Agent** Agent *Model*
- 18 **Transaction Classifier Agent** Agent *Model*
- 19 **Account Reconciliation Agent** Agent *Model*
- 20 **Journal Entry Generator Agent** Agent *Model*
- 21 **Error Detection Agent** Agent *Model*
- 22 **Financial Statement Generator Agent** Agent *Model*
- 23 **Tax Report Generator Agent** Agent *Model*
- 24 **Fetch Bank Transactions** Http Request *Service*
- 25 **Fetch Accounting System Data** Http Request *Service*
- 26 **Aggregate All Results** Aggregate *Logic*
- 27 **Post Journal Entries to System** Http Request *Service*
- 28 **Check for Errors** If *Logic*
- 29 **Combine Financial Data** Merge *Logic*
- 30 **Format Final Report** Set *Logic*
- 31 **Send Summary Email** Gmail *Service*

## 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.

## 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%2Freconcile-bank-transactions-and-generate-reports-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)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate ESG compliance routing and reporting with OpenAI** 30 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/automate-esg-compliance-routing-and-reporting-with-openai)
- [**Extract & analyze competitor reviews with Firecrawl** 32 steps · calls a model · Gmail](https://millionrounds.com/workflow/extract-and-analyze-competitor-reviews-with-firecrawl)
- [**Document analysis & chatbot creation with Llama and Gemini** 33 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/document-analysis-and-chatbot-creation-with-llama-and-gemini)
- [**Orchestrate sustainability lifecycle analytics with OpenAI** 33 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/orchestrate-sustainability-lifecycle-analytics-with-openai)
- [**Research web topics and email a Claude report with Gmail** 29 steps · calls a model · Gmail](https://millionrounds.com/workflow/research-web-topics-and-email-a-claude-report-with-gmail)
- [**Weekly stock/ETF analysis with Claude and Gmail** 33 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/weekly-stock-etf-analysis-with-claude-and-gmail)
