Templates / Audit contract governance risk with OpenAI, Slack and email routing

Audit contract governance risk with OpenAI, Slack and email routing

Ready for 3.0

by Cheng Siong Chin ✓ · 66 views · created 2026-02-25 · Document Extraction, AI Summarization

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 24 nodes and runs on a schedule (every 15 minutes). Along the way it connects OpenAI Chat Model and Slack.

How it runs

Trigger: On a schedule (every 15 minutes).

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: riskThresholdLow, riskThresholdMedium, riskThresholdHigh…
  2. Simulate Contract Audit Data (Code): runs custom JavaScript code
  3. Contract Validation Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Governance Orchestrator Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Calculator, Risk Assessment Agent Tool, Compliance Checker Agent Tool); output parser: Structured Output Parser
  5. Route by Risk Level (Switch): routes items into 3 branches
  6. Prepare Low Risk Notification (Edit Fields (Set)): sets 2 fields: notificationType, message
  7. Prepare Medium Risk Notification (Edit Fields (Set)): sets 2 fields: notificationType, message
  8. Prepare High Risk Notification (Edit Fields (Set)): sets 3 fields: notificationType, emailSubject, emailBody
  9. Merge: merges the data from its input branches
  10. Send Slack Notification (Slack): uses Slack

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

Services it uses

OpenAI Chat ModelSlack

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 (12)

From the author

How It Works This workflow automates contract governance auditing by deploying a multi-agent AI system that validates contracts, assesses risk, checks compliance, and routes alerts based on risk level. Designed for legal, procurement, and compliance teams, it…

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.