Templates / Route ERP tasks across departments with GPT-4, Slack, Gmail and human approval

Route ERP tasks across departments with GPT-4, Slack, Gmail and human approval

Ready for 3.0

by Cheng Siong Chin ✓ · 157 views · created 2026-05-09 · Engineering, AI Chatbot

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 44 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Gmail, Slack, OpenAI Chat Model and HTTP Request.

How it runs

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

  1. Orchestrator Agent (AI Agent): runs an AI agent, with model: Orchestrator Model; 2 tools (Orchestrator ERP Tool, Orchestrator Calculator); memory: Orchestrator Memory; output parser: Orchestrator Parser
  2. Fetch Pending Tasks (Data table): get
  3. Route by Department (Switch): routes items into 3 branches
  4. Aggregate: combines items into one
  5. Engineering Agent (AI Agent): runs an AI agent, with model: Engineering Model; 2 tools (Engineering ERP Tool, Engineering Calculator); memory: Engineering Memory; output parser: Engineering Parser
  6. Finance Agent (AI Agent): runs an AI agent, with model: Finance Model; 2 tools (Finance ERP Tool, Finance Calculator); memory: Finance Memory; output parser: Finance Parser
  7. HR Agent (AI Agent): runs an AI agent, with model: HR Model; 1 tool (HR ERP Tool); memory: HR Memory; output parser: HR Parser
  8. Admin Agent (AI Agent): runs an AI agent, with model: Admin Model; 1 tool (Admin ERP Tool); memory: Admin Memory; output parser: Admin Parser
  9. Generate Daily Report (AI Agent): runs an AI agent, with model: Reporting Model; 1 tool (Reporting Calculator); memory: Reporting Memory; output parser: Reporting Parser
  10. Combine Agent Results (Merge): merges the data from its input branches

…plus 5 more steps. See the full node list below.

Services it uses

GmailSlackOpenAI Chat ModelHTTP Request

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

From the author

How It Works This workflow automates enterprise resource planning (ERP) operations across Engineering, Finance, HR, and Admin departments for operations managers, ERP administrators, and business process owners who need intelligent task routing with human…

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.