Monitor revenue tax compliance and auto-correct anomalies with Anthropic, MagicCSV, Gmail and WhatsApp
Ready for 3.0What 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).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: accountingApiUrl, accountingApiKey, taxAgentEmail…
- Fetch Revenue Data (n8n): work with execution
- Tax Categorization Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Categorization; output parser: Categorization Output Parser
- Anomaly Detection Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Anomaly Detection; output parser: Anomaly Detection Output Parser
- Correction Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Correction; 1 tool (MCP Client Tool); output parser: Correction Output Parser
- Sync to Accounting Software (HTTP Request): calls an HTTP API (POST)
- Format Compliance Summary (Edit Fields (Set)): sets 6 fields: summaryTitle, reportDate, totalTransactionsReviewed…
- Send Summary to Tax Agent (Gmail): uses Gmail
- Send WhatsApp Alert (WhatsApp Business Cloud): send
Services it uses
Other Anthropic + Gmail templates (192) · Other WhatsApp + Gmail templates (75) · Other Anthropic + WhatsApp templates (20)
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - n8n
n8n-nodes-base.n8n - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool
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,…