Large Language Models can generate creative content, but quality varies. If you rely on a single output, results are inconsistent.
Problem: No ranking layer, no validation, and no structured evaluation logic. A single model can produce weak jokes, even with a good prompt.
Goal: Generate 3 jokes using a lightweight model (GPT-5-mini), then use a stronger model (GPT-5) to score (1–10) and select the best one.
Implemented a multi-step orchestration workflow in n8n: Manual Trigger → 3 parallel GPT-5-mini nodes → Merge (append) → Merge (final) → GPT-5 judge with structured result.
Generate 1 short joke (max 5 sentences). Make it genuinely funny, unexpected, and playful. Clean and safe. Output ONLY the joke text.
[
{ "output_text": "Joke #1..." },
{ "output_text": "Joke #2..." },
{ "output_text": "Joke #3..." }
]
You will receive 3 items. Each item contains one joke in field "output_text". Score each joke 1–10. Pick the best one. Return structured result: Joke 1 (score X/10) Joke 2 (score X/10) Joke 3 (score X/10) Best joke: #N Reason: short explanation
Download the n8n workflow JSON export and import it directly into your n8n instance.