AutomationMart
Home/Browse/Generate written content with GPT Recursive Writing & Editing agents
n8n

Generate written content with GPT Recursive Writing & Editing agents

n8nn8n11 modulesv1.0
OpenAIGemini

Who is this for? Content creators, writers, and automation enthusiasts experimenting with recursive AI workflows for content generation and refinement. Ideal for those exploring AI agents that collaborate in cycles of writing and editing. What problem does this solve? This template introduces a fully automated, recursive writing‑editing loop using multi‑agent collaboration. A “Writing Agent” generates content based on an input topic. An “Editing Agent” reviews it, suggests improvements, and dete

At a glance

Generate written content with GPT Recursive Writing & Editing agents is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Gemini
Modules
11
Price
Free
Version
v1.0
Generate written content with GPT Recursive Writing & Editing agents workflow diagram

About this workflow

Who is this for? Content creators, writers, and automation enthusiasts experimenting with recursive AI workflows for content generation and refinement. Ideal for those exploring AI agents that collaborate in cycles of writing and editing. What problem does this solve? This template introduces a fully automated, recursive writing‑editing loop using multi‑agent collaboration. A “Writing Agent” generates content based on an input topic. An “Editing Agent” reviews it, suggests improvements, and determines whether the work is complete. The loop continues until the editor is satisfied—allowing for high‑quality, iterative AI‑assisted writing with minimal human input. How it works This template is a foundational setup to help you build custom recursive writing workflows: 1. Trigger: Activated by an n8n chat message containing a topic. You can customize this to work with webhooks, forms, or other input sources. 2. Edit Handler: A code node checks for previous edits and sets a default empty string if none are found. 3. Writing Agent: Generates a blurb based on the topic and any edits. Customize the prompt in this node by editing the user/system instructions to fit your tone, domain, or style preferences. 4. Editing Agent: Suggests specific edits and outputs a structured JSON object: You can adjust the JSON format or editing criteria in the prompt field. Customize the prompt in this node by editing the user/system instructions to fit your tone, domain, or style preferences. 5. Recursive Loop: If the status is “incomplete,” the edits are passed back to the Writing Agent, which revises the blurb. 6. Completion: Once the Editing Agent outputs a status of “complete,” the workflow ends, and the final blurb is returned to the n8n chat. Setup Steps 1. Import the Template into your n8n workspace. 2. Configure API Credentials: Link your OpenAI API key (or your preferred LLM like Claude or Gemini) in the credentials section. 3. Customize the Prompts (Optional but recommended): - In the Writing Agent, you can instruct it to mimic a specific tone, format, or genre. - In the Editing Agent, specify your editing standards (e.g., concise, persuasive, technical). - Modify the JSON output structure in the Structured Output Parser node if needed. 4. Test and Iterate: Run a test by sending a topic via the chat trigger and observe the loop behavior. Example Output Input Topic: “The future of remote work” Final Blurb: “Remote work is here to stay. As companies embrace flexible setups, productivity and employee satisfaction are reaching new highs. The challenge now is to build culture and collaboration tools that keep up.” This template offers a powerful starting point for recursive AI writing. Expand it with additional agents, tone shifts, formatting layers, or sentiment analysis as needed.

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

Analyze images & PDFs from Google Drive with Gemini 3 AI

Gemini 3 Image & PDF Extractor (Google Drive → Gemini 3 → Summary) Automatically summarize newly uploaded images or PDF reports using Google Gemini 3, triggered directly from a Google Drive folder. Perfect for anyone who needs fast AI-powered analysis of financial reports, charts, screenshots, or scanned documents. 🎥 Watch the full step-by-step video tutorial: What this template does This workflow watches a Google Drive folder for new files and automatically: 1. Detects new uploaded files - Uses

Free

Summarize calls & notify teams via HubSpot, Slack, Email, WhatsApp

This workflow automates the process of handling conversation transcriptions and distributing key information across your organization. Here's what it does: Trigger: The workflow is initiated via a webhook that receives a transcription (e.g., from a call or meeting). Summarization & Extraction: Using AI, the transcription is summarized, and key information is extracted — such as action items, departments involved, and client details. Department Notifications: The relevant summarize

Free

Automated Instagram comment replies using Gemini AI with context-aware responses

Instagram Auto-Comment Responder with AI Agent Integration Version: 1.1.0 ‧ n8n Version: 1.88.0+ ‧ License: MIT A fully automated workflow for managing and responding to Instagram comments using AI agents. Designed to improve engagement and save time, this system listens for new Instagram comments, verifies and filters them, fetches relevant post data, processes valid messages with a natural language AI, and posts context-aware replies directly on the original post. --- K

Free

AI-powered feedback triage: Jotform to Trello, Airtable & Slack with Gemini

Turn raw feedback into actionable product insights. This workflow collects feedback from both customers and staff via a single Jotform, uses Gemini AI to analyze and categorize it, then intelligently routes it: Actionable bugs and feature requests become tasks in specific Trello lists, tagged with source and priority. General feedback is logged in a structured Airtable base for later review. Urgent bugs trigger instant Slack alerts for your dev team. An

Free

Automate social media posts with AI content and images across Twitter, LinkedIn & Facebook

Auto-generate & post content using AI This workflow helps you create daily content using just a topic prompt. It writes a tweet, generates an image, and publishes across Twitter, Facebook, and LinkedIn — all on autopilot. --- How it works - Triggers daily at 10 PM to start the flow - Uses OpenAI to generate a niche topic title - Writes a short-form post (tweet style) with hashtags - Generates a Japanese anime-style image for visual context - Saves everything in Google Sheets

Free

Create a Slack message from ChatGPT completion via Custom WebHook

Automatically send a Slack message using ChatGPT completion via Custom WebHook. Streamline communication by integrating AI-generated content directly into your Slack channels.

Free

Automate SIEM alert enrichment with MITRE ATT&CK, Qdrant & Zendesk in n8n

n8n Workflow: Automate SIEM Alert Enrichment with MITRE ATT&CK & Qdrant --- Who is this for? This workflow is ideal for: - Cybersecurity teams & SOC analysts who want to automate SIEM alert enrichment. - IT security professionals looking to integrate MITRE ATT&CK intelligence into their ticketing system. - Organizations using Zendesk for security incidents who need enhanced contextual threat data. - Anyone using n8n and Qdrant to build AI-powered security workflows. --- What problem does

Free

Receipt Processing AI Agent (with step by step video)

Video Introduction []( Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin --- What This Workflow Does This automation eliminates the tedious task of manually entering receipt data by automatically processing receipt images uploaded to Google Drive. When you drop a new receipt into a monitored folder, the workflow extracts vendor name, date, itemized purchases, and total amount using AI, logs everything to a Google Sheet, and sends you an email confirmation

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