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

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

Ready for 3.0

by Cheng Siong Chin ✓ · 82 views · created 2026-02-25 · Engineering, AI RAG

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: productionApiUrl, supplyChainApiUrl, slackChannelId…
  2. Fetch Production Data (HTTP Request): calls an HTTP API
  3. Fetch Supply Chain Data (HTTP Request): calls an HTTP API
  4. Merge: merges the data from its input branches
  5. Operations Validation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Validation Agent; output parser: Validation Output Parser
  6. 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
  7. Route by Priority (Switch): routes items into 2 branches
  8. Critical Alert - Slack (Slack): uses Slack
  9. High Priority Alert - Slack (Slack): uses Slack
  10. Log Routine Operations (Edit Fields (Set)): sets 8 fields: logTimestamp, coordinationId, priorityLevel…

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

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…

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.