Decide multi‑agent vs simple workflows using Azure OpenAI GPT‑4o‑mini
📘 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 styled HTML report showing the decision, recommended agents (if any), and the suggested step flow.
⚙️ Step-by-Step Flow Receive Problem Description via POST (Webhook) Accepts a POST payload containing a description field. Extract Request Body (Code) Strips the wrapper and outputs only the body JSON to simplify downstream prompts. Multi-Agent Architecture Decision Agent (AI Agent) Analyzes the problem description and outputs one of: Decision: Multi-Agent Required + agent definitions + workflow steps Decision: Not Required + minimal simplified workflow nodes Parse Decision, Agents & Steps (Code) Extracts three structured fields from the
AI output:
decision agents[] (name, purpose, node, reason) workflow_flow[] (ordered steps) Build HTML Architecture Report (Code) Renders a clean card-based HTML dashboard: Decision badge (multi vs simple) Agent cards (if present) Workflow flow chips (steps) Return HTML Report to Caller (Respond to Webhook) Returns the HTML report directly as the webhook response. 🧩 Prerequisites • Azure OpenAI credential with an active gpt-4o-mini deployment • n8n webhook endpoint exposed to the caller (or via tunnel) 💡 Key Benefits ✔ Fast “multi-agent vs simple” decisioning ✔ Outputs an actionable architecture, not generic advice ✔ HTML report is ready to embed in internal tools (Base44/UI) ✔ Structured parsing makes it easy to store or extend later
👥 Perfect For Automation agencies doing solution design calls Teams standardizing how they choose agent-based workflows Internal tooling that needs instant architecture recommendations
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Get Airtable data via AI and Obsidian Notes
I am submitting this workflow for the Obsidian community to showcase the potential of integrating Obsidian with n8n. Whi...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments