# AI agent debate simulation for text refactoring on a schedule
This automation orchestrates a multi-round debate between configurable AI agents with distinct roles, personalities, and objectives to refine input text. After analysis, revision proposals, and discussion, the system generates a consolidated final version. The workflow is triggered by a cron schedule or manually in n8n, enabling flexible, repeatable use.
## Who it´s for
- AI agent developers testing model behavior in debates
- Editors and copywriters needing multi-perspective text review
- Product managers simulating expert reactions to ideas
- Educators and researchers in AI and cognitive science
## What the automation does
- Starts via cron schedule or manual trigger in n8n
- Initiates a debate among multiple AI agents with unique roles
- Each agent analyzes the input, suggests edits, and justifies them
- Debate proceeds over multiple rounds with structured JSON output enforced
- Produces a final rewritten text, round summary, and collective result
- Powered by Mistral Cloud models with strict JSON schema compliance
## What´s included
- Ready-to-use n8n workflow with LangChain and SplitInBatches support
- Trigger logic: cron_schedule and manual execution
- Integrations strictly with listed services: Mistral Cloud, Global Variables (n8n-nodes-globals)
- Basic textual guide for setup and adaptation
## Requirements for setup
- n8n instance with access to custom nodes
- Mistral Cloud API key
- Installed n8n-nodes-globals package for variable management
## Benefits and outcomes
- Deep, multidimensional text analysis from diverse perspectives
- Improved clarity, logic, and structure through simulated expert discussion
- Automated peer-review process without human involvement
- Ability to test AI agents in role-based, group-thinking scenarios
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet