Built with n8n + OpenAI
This workflow captures a product description, generates ad headlines, evaluates them with custom criteria, decides whether another draft is needed, and finally sends the best version via Gmail.
Benefit: Ensures consistent, structured prompts so the AI receives clear context every time.
Benefit: Produces creative copy instantly without waiting on a human writer.
Benefit: Builds an objective, repeatable evaluation rubric automatically.
💬 LLM_HeadlineEvaluatorModel → Supplies reasoning power.
🔍 Agent_HeadlineEvaluator → Applies the 5 criteria to the generated headline and outputs:
Benefit: Turns subjective copy quality into measurable numbers.
💬 LLM_BottomLineModel → Interprets the evaluation results.
🤔 Agent_IterationDecision → Decides:
🔀 If_NeedMoreIterations → Branches:
Benefit: Keeps iterating until the AI headline meets your standards.
Benefit: Automates delivery of the polished, AI-approved headline to your inbox or team.
Section | Purpose | Key Nodes | Benefit |
---|---|---|---|
⚡ Capture Brief | Collect product info & prep prompt | FormTrigger, Set | Structured AI input |
✍️ Draft Headline | Generate first headline | LLM_HeadlineWriterModel, Agent_HeadlineWriter | Instant creative draft |
📋 Define Criteria | Build scoring rubric | LLM_EvalCriteriaModel, Agent_EvalCriteriaBuilder | Objective evaluation |
🔍 Evaluate Headline | Score headline & summarize | LLM_HeadlineEvaluatorModel, Agent_HeadlineEvaluator | Transparent quality check |
🔄 Decide & Iterate | Accept or refine headline | LLM_BottomLineModel, Agent_IterationDecision, If | Only good results move forward |
📩 Deliver Result | Share the final copy | Gmail | Automates delivery |