Decide multi‑agent vs simple workflows using Azure OpenAI GPT‑4o‑mini
Ready for 3.0Ready 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.
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.
- Extract Request Body (Code): runs custom JavaScript code
- Multi-Agent Architecture Decision Agent (AI Agent): runs an AI agent, with model: Azure OpenAI GPT-4o-mini
- Parse Decision, Agents & Steps (Code): runs custom JavaScript code
- Build HTML Architecture Report (Code): runs custom JavaScript code
- Return HTML Report to Caller (Respond to Webhook): sends the response back to the webhook caller
Services it uses
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.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook
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…