Automation library · AI assistants

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.

LargeCalls a model: Claude

30 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 19Logic 6Service 4

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Anthropic Model - Revenue AgentLm Chat AnthropicModel
  3. 3Revenue Validation Output ParserOutput Parser StructuredModel
  4. 4Anthropic Model - Governance AgentLm Chat AnthropicModel
  5. 5Governance Output ParserOutput Parser StructuredModel
  6. 6Anthropic Model - Payout ToolLm Chat AnthropicModel
  7. 7Payout Output ParserOutput Parser StructuredModel
  8. 8Anthropic Model - Compliance ToolLm Chat AnthropicModel
  9. 9Compliance Output ParserOutput Parser StructuredModel
  10. 10Anthropic Model - Risk ToolLm Chat AnthropicModel
  11. 11Risk Output ParserOutput Parser StructuredModel
  12. 12Tax Calculation ToolTool CodeModel
  13. 13Anthropic Model - Reporting AgentLm Chat AnthropicModel
  14. 14Reporting Output ParserOutput Parser StructuredModel
  15. 15Workflow ConfigurationSetLogic
  16. 16Revenue Signal AgentAgentModel
  17. 17Governance AgentAgentModel
  18. 18Payout Calculation Agent ToolAgent ToolModel
  19. 19Compliance Check Agent ToolAgent ToolModel
  20. 20Risk Assessment Agent ToolAgent ToolModel
  21. 21Reporting AgentAgentModel
  22. 22Generate Sample Revenue DataCodeLogic
  23. 23Route by Validation StatusSwitchLogic
  24. 24Route by Risk LevelSwitchLogic
  25. 25Store Final ReportData TableService
  26. 26Store Failed ValidationsData TableService
  27. 27Store Approved TransactionsData TableService
  28. 28Store High Risk TransactionsData TableService
  29. 29Merge Storage ResultsMergeLogic
  30. 30Aggregate ResultsAggregateLogic

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.