🎬 End-to-end Ai blog research and writer with Gemini AI, Supabase and Nano-Banana

⚡ 1,225 views · 🎬 Content Creation & Video

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Blog Research and Writer n8n Workflow - Ai Blog Writer

Fully automated blog creation system using n8n + AI Agents + Image Generation

Example Blog

Overview

This workflow automates the entire blog creation pipeline—from topic research to final publication. Three specialized AI agents collaborate to produce publication-ready blog posts with custom images, all saved directly to your Supabase database.

How It Works

1. Research Agent (Topic Discovery)

2. Writer Agent (Content Creation)

3. Image Prompt Writer (Visual Generation)

4. Image Generation Pipeline

5. Publication

Key Features

âś… Duplicate Prevention: Checks existing blogs before researching new topics
âś… SEO Optimized: Natural language, proper heading structure, keyword integration
âś… Human-Like Writing: No robotic phrases, varied sentence structure, actionable advice
✅ Custom Images: Generated specifically for each blog’s content
âś… Fully Structured: JSON output with all metadata (tags, category, excerpt, etc.)
âś… Error Handling: Automatic retries with wait periods between agent calls
âś… Tool Integration: Google Search, URL scraping, RSS feeds for research

Setup Requirements

1. API Keys Needed

2. Supabase Setup

3. Workflow Configuration

Update these placeholders:

Customization Options

Change Image Provider

Replace the “nano banana” node with:

Adjust Schedule

Modify “Schedule Trigger” to run:

Alternative Research Tools

Replace Serper.dev with:

Output Format

{
  "title": "Your SEO-Optimized Title",
  "slug": "your-seo-optimized-title",
  "excerpt": "Compelling 2-3 sentence summary with key benefits.",
  "category": "Your Category",
  "tags": ["tag1", "tag2", "tag3", "tag4"],
  "author_name": "Your Team Name",
  "featured": false,
  "status": "draft",
  "content": "<article>...complete HTML with embedded images...</article>"
}

Performance Notes

Best Practices

  1. Review Before Publishing: Workflow saves as “draft” status for human review
  2. Monitor API Limits: Track Serper.dev searches and image generation quotas
  3. Test Custom Prompts: Adjust Research/Writer prompts to match your brand
  4. Image Quality: Review generated images; regenerate if needed
  5. SEO Validation: Check slugs and meta descriptions before going live

Workflow Architecture

3 Main Phases:

  1. Research → Writer → Image Prompts (Sequential AI Agent chain)
  2. Image Generation → Upload → URL Replacement (Loop-based processing)
  3. Final Assembly → Database Insert (Single save operation)

Error Handling:


Result: Hands-free blog publishing that maintains quality while saving 3-5 hours per post.

đź”— Nodes Used

Edit Image, HTTP Request, Supabase, Schedule Trigger, AI Agent, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup