Assess credential risk and route mitigation actions with GPT-4o-mini
Ready for 3.0Ready 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-12-01.
What this workflow does
This AI workflow has 21 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Workflow Configuration (Edit Fields (Set)): sets 5 fields: validationThresholdScore, verificationRequiredScore, criticalRiskThreshold…
- Generate Sample Credential Data (Code): runs custom JavaScript code
- Coordination Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Coordination Agent; 3 tools (Risk Assessment Agent Tool, Credential Validation Agent Tool, Credential Verification Agent Tool)
- Route by Risk Level (Switch): routes items into 4 branches
- Process Critical Risk (Edit Fields (Set)): sets 5 fields: processingAction, notificationRequired, escalationTeam…
- Process High Risk (Edit Fields (Set)): sets 5 fields: processingAction, notificationRequired, escalationTeam…
- Process Medium Risk (Edit Fields (Set)): sets 5 fields: processingAction, notificationRequired, escalationTeam…
- Process Low Risk (Edit Fields (Set)): sets 5 fields: processingAction, notificationRequired, escalationTeam…
- Merge: merges the data from its input branches
- Final Report (Edit Fields (Set)): sets 4 fields: reportGeneratedAt, workflowStatus, totalCredentialsProcessed…
Services it uses
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 (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge
From the author
How It Works This workflow automates comprehensive enterprise risk assessment and mitigation planning for organizations managing complex operational, financial, and compliance risks. Designed for risk managers, internal audit teams, and executive leadership,…