Triage legal conflict checks from Slack with GPT-4o-mini and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on Slack events (plus 1 other trigger). Along the way it connects Slack, OpenAI Chat Model, MCP Client and Google Sheets.
How it runs
Trigger: On Slack events (plus 1 other trigger).
- Prepare Authenticated Input (Code): runs custom JavaScript code
- Generate Event Key (Code): runs custom JavaScript code
- Read Events from Sheets (Google Sheets): uses Google Sheets
- Check Duplicate Status (If): checks a condition and branches into true / false
- Prepare Agent Data Input (Code): runs custom JavaScript code
- Detect Conflict Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Model; 1 tool (MCP Client Processor)
- Analyze Conflict Data (Code): runs custom JavaScript code
- Evaluate Potential Conflict (If): checks a condition and branches into true / false
- Build Conflict Alert Message (Code): runs custom JavaScript code
- Build No Conflict Message (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (When Slack Message Received).
Nodes used (10)
- Slack Trigger
n8n-nodes-base.slackTrigger - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Google Sheets Tool
n8n-nodes-base.googleSheetsTool
From the author
Quick overview This workflow listens for new Slack messages, runs an OpenAI-powered conflict-intake agent that queries a Google Sheets–backed MCP tools endpoint, replies in the original Slack thread with a preliminary conflict summary, and appends an audit…