🎬 Generate and auto-evaluate Facebook ad headlines using GPT-4o-mini

⚑ 536 views · 🎬 Content Creation & Video

Description

Generate and Auto-Evaluate Facebook Ad Headlines using GPT-4o-mini

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.


⚑ Section 1: Capture the Brief & Build the Prompt

Benefit: Ensures consistent, structured prompts so the AI receives clear context every time.


✍️ Section 2: Draft the Headline

Benefit: Produces creative copy instantly without waiting on a human writer.


πŸ“‹ Section 3: Define Scoring Criteria

Benefit: Builds an objective, repeatable evaluation rubric automatically.


πŸ” Section 4: Evaluate the Headline

Benefit: Turns subjective copy quality into measurable numbers.


πŸ”„ Section 5: Decide & Iterate (if needed)

Benefit: Keeps iterating until the AI headline meets your standards.


πŸ“© Section 6: Deliver the Result

Benefit: Automates delivery of the polished, AI-approved headline to your inbox or team.


πŸ“Š Workflow Overview

SectionPurposeKey NodesBenefit
⚑ Capture BriefCollect product info & prep promptFormTrigger, SetStructured AI input
✍️ Draft HeadlineGenerate first headlineLLM_HeadlineWriterModel, Agent_HeadlineWriterInstant creative draft
πŸ“‹ Define CriteriaBuild scoring rubricLLM_EvalCriteriaModel, Agent_EvalCriteriaBuilderObjective evaluation
πŸ” Evaluate HeadlineScore headline & summarizeLLM_HeadlineEvaluatorModel, Agent_HeadlineEvaluatorTransparent quality check
πŸ”„ Decide & IterateAccept or refine headlineLLM_BottomLineModel, Agent_IterationDecision, IfOnly good results move forward
πŸ“© Deliver ResultShare the final copyGmailAutomates delivery

βœ… Final Benefits


πŸ”— Nodes Used

Gmail, AI Agent, OpenAI Chat Model, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup