Templates / Orchestrate AI risk analysis and severity-based routing with Anthropic and OpenAI

Orchestrate AI risk analysis and severity-based routing with Anthropic and OpenAI

Ready for 3.0

by Cheng Siong Chin ✓ · 45 views · created 2026-01-25 · Engineering, AI RAG

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 21 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Workflow Configuration (Edit Fields (Set)): sets 4 fields: max_http_requests, compliance_standards, severity_threshold…
  2. Engineering Orchestration Agent (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 2 tools (Risk Analysis Agent Tool, Compliance Verification Agent Tool); output parser: Structured Output Parser
  3. Calculate Risk Score (Code): runs custom JavaScript code
  4. Fetch Historical Data (HTTP Request): calls an HTTP API
  5. Route by Severity (Switch): routes items into 3 branches
  6. Enrich Critical Issues (Code): runs custom JavaScript code
  7. Process High Severity (Edit Fields (Set)): sets 3 fields: high_priority_flag, review_deadline, assigned_reviewer
  8. Merge: merges the data from its input branches
  9. Aggregate: combines items into one
  10. Prepare Final Report (Edit Fields (Set)): sets 4 fields: report_generated_at, total_issues_count, workflow_execution_id…

…plus 4 more steps. See the full node list below.

Services it uses

Anthropic Chat ModelOpenAI 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 (14)

From the author

How It Works This workflow automates complex data engineering operations by orchestrating multiple specialized AI agents to analyze datasets, calculate risk metrics, and route findings based on severity levels. Designed for data engineers, analytics teams,…

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.