Templates / Detect financial anomalies and reconcile revenue with GPT-4o and API integrations

Detect financial anomalies and reconcile revenue with GPT-4o and API integrations

Ready for 3.0

by Cheng Siong Chin ✓ · 321 views · created 2026-01-02 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on a schedule (every month at 02:00). Along the way it connects OpenAI Chat Model.

How it runs

Trigger: On a schedule (every month at 02:00).

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: financialApiUrl, revenueSystemApiUrl, taxAgentApiUrl…
  2. Fetch Financial Transactions (HTTP Request): calls an HTTP API
  3. Anomaly Detection Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Anomaly Detector; 3 tools (Calculator, Verification Agent Tool, Historical Pattern Analysis Tool); output parser: Anomaly Detection Output Parser
  4. Check for Anomalies (If): checks a condition and branches into true / false
  5. Prepare Revenue Adjustments (Edit Fields (Set)): sets 1 field: adjustments
  6. Send Anomaly Alert (Send Email): sends an email over SMTP
  7. Update Revenue Entries (HTTP Request): calls an HTTP API (POST)
  8. Notify Tax Agent (HTTP Request): calls an HTTP API (POST)

Services it uses

OpenAI Chat Model

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 (11)

From the author

How It Works This workflow automates financial oversight for accounting teams, tax professionals, and financial controllers managing monthly transaction volumes. It solves the challenge of identifying and correcting revenue discrepancies, tax calculation…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.