Templates / Validate newsletter quality with GPT-5 quality gate before sending

Validate newsletter quality with GPT-5 quality gate before sending

Ready for 3.0

by Emir Belkahia ✓ · 125 views · created 2025-11-11 · Social Media, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs when another workflow calls it. Along the way it connects Gmail and OpenAI Chat Model.

How it runs

Trigger: When another workflow calls it.

  1. Send newsletter to LLM Judge (Gmail): uses Gmail
  2. Give the email some time to arrive (Wait): pauses before continuing
  3. Get the newsletter (Gmail): get
  4. Simplify output before giving to Agent (Edit Fields (Set)): sets 1 field: html
  5. Judge 👩‍⚖️ (AI Agent): runs an AI agent, with model: GPT5 as the input to review is heavy; output parser: Expected Format
  6. Judge happy ? (If): checks a condition and branches into true / false
  7. Inform human that there are errors (Gmail): uses Gmail
  8. Send approval to parent workflow (Edit Fields (Set)): sets 1 field: output.status
  9. Ask Human to review Newsletter (Gmail): send and wait for a reply

Services it uses

GmailOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Newsletter Quality Assurance with LLM Judge This sub-workflow validates newsletter quality before sending to customers. It's triggered by the main newsletter workflow and acts as an automated quality gate to catch data issues, broken layouts, or missing…

Excerpt from Emir Belkahia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.