# Route revenue transactions and assess AI outputs with Claude: n8n workflow

> Started by a clock, and works across n8n data table. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/route-revenue-transactions-and-assess-ai-outputs-with-claude (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

# Route revenue transactions and assess AI outputs with Claude

Started by a clock, and works across n8n data table. It hands the judgement calls to Claude. 30 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Froute-revenue-transactions-and-assess-ai-outputs-with-claude)

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

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 19 Logic 6 Service 4

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Anthropic Model - Revenue Agent** Lm Chat Anthropic *Model*
- 3 **Revenue Validation Output Parser** Output Parser Structured *Model*
- 4 **Anthropic Model - Governance Agent** Lm Chat Anthropic *Model*
- 5 **Governance Output Parser** Output Parser Structured *Model*
- 6 **Anthropic Model - Payout Tool** Lm Chat Anthropic *Model*
- 7 **Payout Output Parser** Output Parser Structured *Model*
- 8 **Anthropic Model - Compliance Tool** Lm Chat Anthropic *Model*
- 9 **Compliance Output Parser** Output Parser Structured *Model*
- 10 **Anthropic Model - Risk Tool** Lm Chat Anthropic *Model*
- 11 **Risk Output Parser** Output Parser Structured *Model*
- 12 **Tax Calculation Tool** Tool Code *Model*
- 13 **Anthropic Model - Reporting Agent** Lm Chat Anthropic *Model*
- 14 **Reporting Output Parser** Output Parser Structured *Model*
- 15 **Workflow Configuration** Set *Logic*
- 16 **Revenue Signal Agent** Agent *Model*
- 17 **Governance Agent** Agent *Model*
- 18 **Payout Calculation Agent Tool** Agent Tool *Model*
- 19 **Compliance Check Agent Tool** Agent Tool *Model*
- 20 **Risk Assessment Agent Tool** Agent Tool *Model*
- 21 **Reporting Agent** Agent *Model*
- 22 **Generate Sample Revenue Data** Code *Logic*
- 23 **Route by Validation Status** Switch *Logic*
- 24 **Route by Risk Level** Switch *Logic*
- 25 **Store Final Report** Data Table *Service*
- 26 **Store Failed Validations** Data Table *Service*
- 27 **Store Approved Transactions** Data Table *Service*
- 28 **Store High Risk Transactions** Data Table *Service*
- 29 **Merge Storage Results** Merge *Logic*
- 30 **Aggregate Results** Aggregate *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 30, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** n8n data table
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 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 30 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%2Froute-revenue-transactions-and-assess-ai-outputs-with-claude)
- **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.

[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Smart human takeover & auto pause AI-powered Facebook Messenger** 32 steps · calls a model · n8n data table](https://millionrounds.com/workflow/smart-human-takeover-and-auto-pause-ai-powered-facebook-mess)
- [**Build a Headless AI Chat API with Memory and History** 26 steps · calls a model · n8n data table](https://millionrounds.com/workflow/build-a-headless-ai-chat-api-with-memory-and-history)
- [**Email-to-task automation with Outlook and Microsoft To Do** 26 steps · calls a model · Gmail, Google Tasks](https://millionrounds.com/workflow/email-to-task-automation-with-outlook-and-microsoft-to-do)
- [**Smart message batching AI-powered Facebook Messenger chatbot use** 25 steps · calls a model · n8n data table](https://millionrounds.com/workflow/smart-message-batching-ai-powered-facebook-messenger-chatbot)
- [**Analyze and modernize university curricula with OpenAI** 24 steps · calls a model · in-memory vectors, n8n data table](https://millionrounds.com/workflow/analyze-and-modernize-university-curricula-with-openai)
- [**Segment players and predict churn with OpenAI** 23 steps · calls a model · in-memory vectors, n8n data table](https://millionrounds.com/workflow/segment-players-and-predict-churn-with-openai)
