Templates / Monitor revenue tax compliance and auto-correct anomalies with Anthropic, MagicCSV, Gmail and WhatsApp

Monitor revenue tax compliance and auto-correct anomalies with Anthropic, MagicCSV, Gmail and WhatsApp

Ready for 3.0

by Cheng Siong Chin ✓ · 63 views · created 2026-01-18 · 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 17 nodes and runs on a schedule (every week at 09:00). Along the way it connects Gmail, Anthropic Chat Model, WhatsApp Business Cloud and MCP Client.

How it runs

Trigger: On a schedule (every week at 09:00).

  1. Workflow Configuration (Edit Fields (Set)): sets 4 fields: accountingApiUrl, accountingApiKey, taxAgentEmail…
  2. Fetch Revenue Data (n8n): work with execution
  3. Tax Categorization Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Categorization; output parser: Categorization Output Parser
  4. Anomaly Detection Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Anomaly Detection; output parser: Anomaly Detection Output Parser
  5. Correction Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Correction; 1 tool (MCP Client Tool); output parser: Correction Output Parser
  6. Sync to Accounting Software (HTTP Request): calls an HTTP API (POST)
  7. Format Compliance Summary (Edit Fields (Set)): sets 6 fields: summaryTitle, reportDate, totalTransactionsReviewed…
  8. Send Summary to Tax Agent (Gmail): uses Gmail
  9. Send WhatsApp Alert (WhatsApp Business Cloud): send

Services it uses

GmailAnthropic Chat ModelWhatsApp Business CloudMCP Client

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

From the author

How It Works This workflow automates tax compliance monitoring and revenue analysis for accounting teams and finance managers handling multi-source income data. It solves the critical problem of manually tracking revenue streams, identifying tax anomalies,…

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.