Coordinate smart factory operations with OpenAI GPT-4.1-mini and Slack alerts
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-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).
- Workflow Configuration (Edit Fields (Set)): sets 5 fields: productionApiUrl, supplyChainApiUrl, slackChannelId…
- Fetch Production Data (HTTP Request): calls an HTTP API
- Fetch Supply Chain Data (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Operations Validation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Validation Agent; output parser: Validation Output Parser
- Cross-Factory Coordination Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Coordination Agent; 3 tools (Scheduling Agent Tool, Procurement Agent Tool, Quality Escalation Agent Tool); output parser: Coordination Output Parser
- Route by Priority (Switch): routes items into 2 branches
- Critical Alert - Slack (Slack): uses Slack
- High Priority Alert - Slack (Slack): uses Slack
- Log Routine Operations (Edit Fields (Set)): sets 8 fields: logTimestamp, coordinationId, priorityLevel…
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 (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack
From the author
How It Works This workflow automates cross-factory operations management by deploying a multi-agent AI system that validates production data, coordinates scheduling, procurement, and quality escalation, then routes outcomes by priority. Designed for…