Simulate debates between AI agents using Mistral to optimize answers
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs on a schedule (every week at 12:00) (plus 2 other triggers). Along the way it connects Mistral Cloud Chat Model and Globals (community).
How it runs
Trigger: On a schedule (every week at 12:00) (plus 2 other triggers).
- Configure Workflow Args (Global Constants): uses Global Constants
- Prepare Input (Edit Fields (Set)): sets 4 fields: input, current_round, round_summary…
- Guarantee Input (Edit Fields (Set)): sets 5 fields: input, current_round, constants…
- Round Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Split Out: splits a list into separate items
- Wait: pauses before continuing
- Debate Actor Abstraction (AI Agent): runs an AI agent, with model: Mistral Cloud Chat Model; memory: Simple Memory; output parser: JSON Output Parser
- Wait: waits 1 seconds
- Wait: waits 1 seconds
- Debate Loop (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Debate Actor Abstraction (v1.6), Debate Environment (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Debate Actor Abstraction (v1.6), Debate Environment (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Global Constants
n8n-nodes-globals.globalConstants - Manual Trigger
n8n-nodes-base.manualTrigger - Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Wait
n8n-nodes-base.wait
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. AI Arena - Debate of AI Agents to Optimize Answers and Simulate Diverse Scenarios Overview Version: 1.0 The AI Arena Workflow is designed to facilitate a…