AutomationMart
Home/Browse/Improve AI agent system prompts with GPT-4o feedback analysis and email delivery
n8n

Improve AI agent system prompts with GPT-4o feedback analysis and email delivery

n8nn8n5 modulesv1.0
OpenAI

AI Agent System Prompt 'Auto-Tuner' This workflow configures an AI agent which provides an edited system prompt for an autonomous AI agent Based on the following pieces of information provided by the user in an input form: - Agent name - Agent purpose - What's working - What's not working - Current system prompt There are two additional form elements that I've marked as non-required but if you want to force more detail from the user you can mark these as required: - Example prompt - Example out

At a glance

Improve AI agent system prompts with GPT-4o feedback analysis and email delivery is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI
Modules
5
Price
Free
Version
v1.0
Improve AI agent system prompts with GPT-4o feedback analysis and email delivery workflow diagram

About this workflow

AI Agent System Prompt 'Auto-Tuner' This workflow configures an AI agent which provides an edited system prompt for an autonomous AI agent Based on the following pieces of information provided by the user in an input form: - Agent name - Agent purpose - What's working - What's not working - Current system prompt There are two additional form elements that I've marked as non-required but if you want to force more detail from the user you can mark these as required: - Example prompt - Example output This information gets sent to the AI agent which is configured with a system prompt of its own and the form elements are concatenated into a user prompt prompting the agent to evaluate the system prompt, deliver an improved version, and provide some notes for logging. The output structure is constrained with JSON. OpenAI 4o is recommended for its overall strong adherence to structured outputs. Once the agent delivers its improved system prompt, this gets passed to the user via email notification. The final delivery stage can be alternated according to user preference When This Is Useful Anyone working on AI agent configurations will likely be familiar with the pivotal importance of the system prompt in directing the desired behavior of the agent. Frequently this requires long hours of iteration before a consistent desired behaviour is achieved. Sometimes we can figure out what's working and not based on our own intuition and experience, but at other times soliciting the outside perspective of another AI tool can be a helpful way to consider alternative explanations or improve our own prompt engineering. This configuration is intended to speed up this iterative process and reduce the amount of time we spend working on system prompts to configure effective agent workflows

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Monitor Google Sheets rows and generate Perplexity AI and ChatGPT Assistant

Automatically monitor Google Sheets for new rows, generate chat responses with Perplexity AI and ChatGPT's assistant, and update rows with insights.

Free

Extract & summarize B2B leads from Crunchbase with Bright Data, GPT-4o & Google Sheets

Who this is for The Crunchbase B2B Lead Discovery Pipeline is designed for sales teams, B2B marketers, business analysts, and data operations teams who need a reliable way to extract, structure, and summarize company information from Crunchbase to fuel lead generation and market intelligence. This workflow is ideal for: 1. Sales Development Reps (SDRs) - Needing structured leads from Crunchbase 2. Marketing Analysts - Generating segmented outreach lists 3. Growth Teams - Identifying trending B2B

Free

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

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 📝 FormTrigger\CopywritingBrief → A simple form asks: “What is your product about?” ⚙️ Set\PromptForHeadline → Prepares the input by appending the instruction:

Free

Daily email digest with GPT-4 summaries to Google Docs

A Customizable n8n Automation That Turns Your Inbox Into A Daily Digest. The goal of this workflow is to offer a highly customizable foundation that users can tailor to fit their specific platform and setup. While the current version uses Gmail, it can easily be adapted to work with other providers by replacing the email node with alternatives such as IMAP Email Trigger, Microsoft Outlook, or any compatible Email node. This workflow can also be extended to work with platforms like Telegram, W

Free

Generate cold email icebreakers and subject lines with Google Sheets and OpenAI

Email List Personalization - Icebreaker & Subject Line Generator Reads an enriched lead list from Google Sheets, generates a personalized icebreaker + subject line for each lead using OpenAI, and writes results back to the same sheet -- ready for your email sequencer. --- Who is this for? SDRs, founders, and agency owners running cold outbound who want personalized first lines without spending 2-3 minutes per lead on manual research. Sits between your Apollo / Sales Nav export and Instantly / Sm

Free

Create onboarding video quizzes using WayinVideo, GPT-4o-mini and Google Sheets

Description Paste any onboarding video URL into a simple form and the workflow handles everything automatically. It transcribes the video, sends the full transcript to an AI that writes the exact number of quiz questions you requested, and saves the complete quiz directly to your Google Sheet. Built for HR teams, L&D managers, and anyone who creates employee training content at scale. --- What This Workflow Does - Accepts video input via form — Collects the video URL, department topic, and desir

Free

Manage emails via WhatsApp with Gmail, GPT and voice recognition

How it works This workflow turns WhatsApp into a smart email command center using AI. Users can speak or type instructions like: - "Send a follow-up to Claire” - "Write a draft email to Claire to confirm tomorrow’s meeting at 5 PM” - "What is the name of Claire's firm?” The agent transcribes voice notes, extracts intent with GPT, interacts with Gmail (send, draft, search), and replies with a confirmation via WhatsApp — either as text or a voice message. ⚙️ Key Modules Used - Whats

Free

Convert RSS news to AI avatar videos with Heygen & GPT-4o

Automated News-to-Video Workflow (n8n + Heygen + GPT-4o) 📄 Overview: This n8n workflow turns news from an RSS feed (e.g., CNN) into short, AI-generated avatar videos using Heygen. It: 1. Fetches news from an RSS feed. 2. Logs headlines to Google Sheets. 3. Uses GPT-4o or Google Gemini to generate a 30–60 sec script. 4. Sends the script to Heygen to create an avatar video. 5. Monitors and retrieves the final video. 6. Logs video metadata (title, link, etc.) to Google Sheets. 🎯 Ideal for content c

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free