Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Forms & Surveys

Forms & Surveys

Validate civil service exam questions with an AI council using Google Gemini

When you run it, it processes form answers with Google Gemini.

What it does

# 🤖 "AI Council" Content Validator Welcome to the "AI Council" Content Validator template in n8n. This advanced workflow demonstrates a multi-agent AI system designed to collaboratively generate, refine, and rigorously validate content before it reaches final approval. It leverages distinct AI personas to ensure high-quality, reliable outputs. At the heart of this workflow are three specialized agents working in sequence. First, the Generator drafts the initial content based on your starting prompt in the Initialize State node. Next, the Solver reviews the initial draft, addresses any apparent shortcomings, and polishes the text to improve its overall quality. Finally, the Examiner acts as the strict final judge. It critically evaluates the polished output against predefined criteria and provides a strict JSON decision indicating whether the content is approved or rejected, along with specific, constructive feedback. The true power of this template lies in its automated validation loop. If the Examiner rejects the content, the workflow parses the feedback and loops back, giving the Generator and Solver up to three attempts to iterate and improve the draft. Once approved, the workflow gracefully exits the loop and delivers your highly-refined Final Approved Output. ## ⚙️ How to Setup 1. Open the Generator, Solver, and Examiner nodes. 2. Connect your preferred AI model credentials (e.g., OpenAI, Anthropic, etc.) to each. 3. Modify the initial prompt in the Initialize State node to fit your specific use case. 4. Click Execute Workflow to watch the council debate!

The steps

  1. When clicking 'Execute Workflow'
  2. Initialize State
  3. Generator
  4. Solver
  5. Examiner
  6. Extract JSON String
  7. Parse Decision
  8. If Rejected & Iteration < 3
  9. Update State
  10. Final Approved Output

Similar automations