Templates / Decide multi‑agent vs simple workflows using Azure OpenAI GPT‑4o‑mini

Decide multi‑agent vs simple workflows using Azure OpenAI GPT‑4o‑mini

Ready for 3.0

by Rahul Joshi ✓ · 188 views · created 2026-03-02 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Azure OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract Request Body (Code): runs custom JavaScript code
  2. Multi-Agent Architecture Decision Agent (AI Agent): runs an AI agent, with model: Azure OpenAI GPT-4o-mini
  3. Parse Decision, Agents & Steps (Code): runs custom JavaScript code
  4. Build HTML Architecture Report (Code): runs custom JavaScript code
  5. Return HTML Report to Caller (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Azure OpenAI Chat Model

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (5)

From the author

📘 Description This workflow acts as an AI Multi-Agent Architecture Advisor for n8n. It receives a problem statement via webhook, uses Azure OpenAI (gpt-4o-mini) to decide whether the problem needs a multi-agent design or a simple workflow, then returns a…

Excerpt from Rahul Joshi'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.