Reconcile bank transactions and generate reports with GPT-4 and Gmail
Ready for 3.0What this workflow does
This AI workflow has 31 nodes and runs on a schedule (every day at 02:00). Along the way it connects OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day at 02:00).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: bankApiUrl, accountingSystemApiUrl, journalEntryApiUrl…
- Fetch Bank Transactions (HTTP Request): calls an HTTP API
- Fetch Accounting System Data (HTTP Request): calls an HTTP API
- Combine Financial Data (Merge): merges the data from its input branches
- Transaction Classifier Agent (AI Agent): runs an AI agent, with model: OpenAI GPT; 1 tool (Calculator); output parser: Transaction Classification Schema
- Account Reconciliation Agent (AI Agent): runs an AI agent, with model: OpenAI; 1 tool (Calculator); output parser: Reconciliation Schema
- Journal Entry Generator Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-; 1 tool (Calculator); output parser: Journal Entry Schema
- Error Detection Agent (AI Agent): runs an AI agent, with 1 tool (Calculator); output parser: Error Detection Schema
- Post Journal Entries to System (HTTP Request): calls an HTTP API (POST)
- Check for Errors (If): checks a condition and branches into true / false
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Gmail Tool
n8n-nodes-base.gmailTool - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Aggregate
n8n-nodes-base.aggregate
From the author
How It Works This workflow automates end-to-end financial transaction processing for finance teams managing high-volume bank data. It eliminates manual reconciliation by intelligently classifying transactions, detecting anomalies, and generating executive…