Coordinate smart factory operations with OpenAI GPT-4.1-mini and Slack alerts

Go to Workflow
0 views
Built by Cheng Siong Chin Cheng Siong Chin
Created on June 05, 2026

Description

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 manufacturing operations managers, supply chain coordinators, and factory floor teams, it eliminates manual coordination delays and ensures critical issues trigger immediate alerts. A schedule trigger fetches production and supply chain data in parallel, merges them, then passes to an Operations Validation Agent for data integrity checks. A Cross-Factory Coordination Agent orchestrates three sub-agents—Scheduling, Procurement, and Quality Escalation—producing consolidated coordination outputs. Results are routed by priority: high and critical cases trigger dedicated Slack alerts, while routine operations are logged for standard review.

Setup Steps
Set schedule trigger interval to match operational review frequency.
Add OpenAI API credentials to all OpenAI Model nodes.
Connect production and supply chain data sources to fetch nodes.
Configure Slack credentials for high-priority and critical alert channels.
Define priority routing thresholds in the Route by Priority rules node.

Prerequisites
Slack workspace with bot token
Production and supply chain data sources (API or database)
Use Cases
Automated cross-factory scheduling conflict detection and resolution
Customization
Add sub-agents for logistics, maintenance, or inventory optimisation
Benefits
Automates cross-factory coordination across scheduling, procurement, and quality




Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured