AutomationMart
Home/Browse/End-to-end Ai blog research and writer with Gemini AI, Supabase and Nano-Banana
n8n

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

n8nn8n42 modulesv1.0
OpenAIGeminiPerplexity

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) - Triggers: Runs on schedule (default: daily at 4

At a glance

End-to-end Ai blog research and writer with Gemini AI, Supabase and Nano-Banana is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Gemini, Perplexity. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Gemini, Perplexity
Modules
42
Price
Free
Version
v1.0
End-to-end Ai blog research and writer with Gemini AI, Supabase and Nano-Banana workflow diagram

About this workflow

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) - Triggers: Runs on schedule (default: daily at 4 AM) - Process: - Fetches existing blog titles from Supabase to avoid duplicates - Uses Google Search + RSS feeds to identify trending topics in your niche - Scrapes competitor content to find content gaps - Generates detailed topic briefs with SEO keywords, search intent, and differentiation angles - Output: Comprehensive research document with SERP analysis and content strategy 2. Writer Agent (Content Creation) - Triggers: Receives research from Agent 1 - Process: - Writes full blog article based on research brief - Follows strict SEO and readability guidelines (no AI fluff, natural tone, actionable content) - Structures content with proper HTML markup - Includes key sections: hook, takeaways, frameworks, FAQs, CTAs - Places image placeholders with mock URLs ( etc.) - Output: Complete JSON object with title, slug, excerpt, tags, category, and full HTML content 3. Image Prompt Writer (Visual Generation) - Triggers: Receives blog content from Agent 2 - Process: - Analyzes blog content to determine number and type of images needed - Generates detailed 150-word prompts for each image (feature image + content images) - Creates prompts optimized for Nano-Banana image model - Names each image descriptively for SEO - Output: Structured prompts for 3-6 images per blog post 4. Image Generation Pipeline - Process: - Loops through each image prompt - Generates images via Nano-Banana API (Wavespeed.ai) - Downloads and converts images to PNG - Uploads to Supabase storage bucket - Generates permanent signed URLs - Replaces mock URLs in HTML with real image URLs - Output: Blog HTML with all images embedded 5. Publication - Final blog post saved to Supabase blogs table as draft - Ready for immediate publishing or review 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 - Google Gemini API: For Gemini 2.5 Pro/Flash models (content generation/writing) - Groq API (optional): For Kimi-K2-Instruct model (research/writing) - Serper.dev API: For Google Search (2,500 free searches/month) - Wavespeed.ai API: For Nano-Banana image generation - Supabase Account: For database and image storage 2. Supabase Setup - Create blogs table with fields: - title, slug, excerpt, category, tags, featuredimage, status, featured, content - Create storage bucket for blog images - Configure bucket as public or use signed URLs 3. Workflow Configuration Update these placeholders: - RSS Feed URLs: Replace [your website's rss.xml] with your site's RSS feed - Storage URLs: Update Supabase storage paths in "Upload object" and "Generate presigned URL" nodes - API Keys: Add your credentials to all HTTP Request nodes - Niche/Brand: Customize Research Agent system prompt with your industry keywords - Writing Style: Adjust Writer Agent prompt for your brand voice Customization Options Change Image Provider Replace the "nano banana" node with: - Gemini Imagen 3/4 - DALL-E 3 - Midjourney API - Any Wavespeed.ai model Adjust Schedule Modify "Schedule Trigger" to run: - Multiple times daily - Specific days of week - On-demand via webhook Alternative Research Tools Replace Serper.dev with: - Perplexity API (included as alternative node) - Custom web scraping - Different search providers Output Format Performance Notes - Average runtime: 15-25 minutes per blog post - Cost per post: $0.10-0.30 (depending on API usage) - Image generation: 10-15 seconds per image with Nano-Banana - Retry logic: Automatically handles API timeouts with 5-15 minute wait periods 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: - Wait nodes between agents prevent rate limiting - Retry logic on agent failures (max 2 retries) - Conditional checks ensure content quality before proceeding --- Result: Hands-free blog publishing that maintains quality while saving 3-5 hours per post.

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

Transcribe audio files with Google Gemini and Telegram

Transcribe audio messages from Telegram using Google Gemini for free. Send an audio file to your Telegram bot and get a full transcription using Gemini’s free model. Who is this template for? Anyone who needs quick and accurate transcriptions of audio messages. Perfect for: - Creators and podcasters - Coaches or educators - People who receive a lot of audio on Telegram You can also adapt this workflow to transcribe audio from other sources, like WhatsApp, Google Drive, or direct uploads. How it

Free

Filter and update rows in Google Sheets using a ChatGPT assistant for advanced messaging

Automatically filter Google Sheets rows, generate advanced messages with a ChatGPT assistant, and update rows for enhanced data management and communication.

Free

Generate M&A due diligence reports with Decodo, OpenAI and Pinecone

Turn unstructured pitch decks and investment memos into polished Due Diligence PDF reports automatically. This n8n workflow handles everything from document ingestion to final delivery, combining internal document analysis with live web research to produce analyst-grade output in minutes. The Problem It Solves Reviewing a single deal manually reading the deck, cross-checking claims online, formatting the summary easily takes half a day. Multiply that by 10–20 inbound deals per week, and your tea

Free

Automate news publishing to LinkedIn with Gemini AI and RSS feeds

LinkedIn News Auto-Publisher Overview 📋 This project is an automated news publisher for LinkedIn. It uses RSS feeds to fetch news, processes the content with the Gemini API to generate precise summaries, and automatically publishes to LinkedIn via its API. How It Works Architecture and Workflow ⚙️ - n8n: Efficient orchestration of workflow with automation. - RSS: News sources such as TechCrunch and MIT Technology Review. - Gemini API: Dynamic generation of content and precise summaries. - Link

Free

Send multi-city weather forecasts with AI-enhanced formatting from OpenWeatherMap to Gmail

Overview This workflow automates weather forecast delivery by collecting city names, fetching 5-day forecasts from OpenWeatherMap, and generating professionally formatted HTML emails using GPT-4. The AI creates condition-based color-coded reports with safety precautions and sends them via Gmail. How It Works A form trigger collects up to three city names, which are geocoded via OpenWeatherMap API to retrieve coordinates and 5-day forecasts. JavaScript nodes process the raw weather dat

Free

Auto-Generate & Publish SEO Blog Posts to WordPress with OpenRouter & Runware

Automate Blog Creation and Publishing with Ultra-Low Cost AI This n8n workflow — BlogBlizt: Runaware Edition — automates the creation, enrichment, and publishing of SEO-optimized blog posts for WordPress using entirely free OpenRouter AI models for text and metadata generation, plus ultra-low-cost Runware AI for realistic featured images (as low as $0.0016 per image). It’s triggered every 3 hours or manually via Telegram. Each run generates 1,500–3,500-word articles on trending topics in Technol

Free

Automate incident response with Jira, Slack, Google Sheets & Drive

Description: This workflow automates the incident response lifecycle — from creation to communication and archival. It instantly creates Jira tickets for new incidents, alerts the on-call Slack team, generates timeline reports, logs the status in Google Sheets, and archives documentation to Google Drive — all automatically. It helps engineering and DevOps teams respond faster, maintain audit trails, and ensure no incident details are lost, even after Slack or Jira history expires. ⚙️ What This W

Free

Telegram bot for item multi select and saving to Postgres (Module "Checkbox")

Who is this for? This template is for developers and automation specialists looking to create a Telegram bot that enables users to select items from a predefined list and save their choices to a Postgres database. What problem is this workflow solving? It provides a simple and efficient way to collect structured user input via Telegram and store it in a Postgres database, useful for inventory selection, order systems, or preference tracking. What this workflow does - Displays a list of selectabl

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