Templates / Coordinate robot swarms with OpenAI GPT-5 and real-time Slack alerts

Coordinate robot swarms with OpenAI GPT-5 and real-time Slack alerts

Ready for 3.0

by Cheng Siong Chin ✓ · 80 views · created 2026-05-09 · 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 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI Chat Model and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Parse Sensor Data (Edit Fields (Set)): sets 9 fields: robotId, robotType, timestamp…
  2. Parse Command Input (Edit Fields (Set)): sets 6 fields: command, missionId, targetZone…
  3. Get All Robot States (Data table): get
  4. Store Robot State (Data table): create or update
  5. Check Critical Conditions (If): checks a condition and branches into true / false
  6. Execute Mission Command (Edit Fields (Set)): sets 6 fields: missionId, status, assignedRobots…
  7. Swarm AI Coordinator (AI Agent): runs an AI agent, with model: OpenAI GPT-; 3 tools (Path Planning Tool, Task Allocation Tool, Formation Control Tool); memory: Swarm Coordination Memory
  8. Publish to Swarm Channel (Slack): uses Slack
  9. Prepare AI Context (Edit Fields (Set)): sets 4 fields: alertType, robotId, severity…
  10. Log Normal Operation (Edit Fields (Set)): sets 3 fields: status, robotId, message

…plus 4 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 (10)

From the author

How It Works This workflow automates multi-robot swarm coordination for robotics engineers, autonomous systems researchers, and industrial automation teams managing fleets of robots in real time. It solves the problem of decentralized robot supervision,…

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.