Skip to main content

Automated blog creation from news to publication using Gemini, Ideogram & Slack

Workflow preview

Workflow preview
100%
Automated blog creation from news to publication using Gemini, Ideogram & Slack preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

The AI Blog Creator with Gemini, Replicate Image, Supabase Publishing & Slack is a fully automated content generation and publishing workflow designed for modern marketing and SaaS teams. It automa...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.slack, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.code, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.cron

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Parag Javale.

Original n8n.io source

1.1 Workflow description

Title
Automated blog creation from news to publication using Gemini, Ideogram & Slack
Workflow name
Automated blog creation from news to publication using Gemini, Ideogram & Slack

The AI Blog Creator with Gemini, Replicate Image, Supabase Publishing & Slack is a fully automated content generation and publishing workflow designed for modern marketing and SaaS teams. It automatically fetches the latest industry trends, generates SEO-optimized blogs using AI, creates a relevant featured image, publishes the post to your CMS (e.g., Supabase or custom API), and notifies your team via Slack all on a daily schedule.

This workflow connects multiple services NewsAPI, Google Gemini, Replicate, Supabase, and Slack into one intelligent content pipeline that runs hands-free once set up.


✨ Features

  • 📰 Fetch Trending Topics — pulls the latest news or updates from your selected industry (via NewsAPI).
  • 🤖 AI Topic Generation — Gemini suggests trending blog topics relevant to AI, SaaS, and Automation.
  • 📝 AI Blog Authoring — Gemini then writes a full 1200-1500 word SEO-optimized article in Markdown.
  • 🧹 Smart JSON Cleaner — A resilient code node parses Gemini’s output and ensures clean, structured data.
  • 🖼️ Auto-Generated Image — Replicate’s Ideogram model creates a blog cover image based on the content prompt.
  • 🌐 Automatic Publishing — Posts are automatically published to your Supabase or custom backend.
  • 💬 Slack Notification — Notifies your team with blog details and live URL.
  • Fully Scheduled — Runs automatically every day at your preferred time (default 10 AM IST).

⚙️ Workflow Structure

Step Node Purpose
1 Schedule Trigger Runs daily at 10 AM
2 Fetch Industry Trends (NewsAPI) Retrieves trending articles
3 Message a model (Gemini) Generates trending topic ideas
4 Message a model1 (Gemini) Writes full SEO blog content
5 Code in JavaScript Cleans, validates, and normalizes Gemini output
6 HTTP Request (Replicate) Generates an image using Ideogram
7 HTTP Request1 Retrieves generated image URL
8 Wait + If Polls until image generation succeeds
9 Edit Fields Assembles blog fields into final JSON
10 Publish to Supabase Posts to your CMS
11 Slack Notification Sends message to your Slack channel

🔧 Setup Instructions

  1. Import the Workflow in n8n and enable it.

  2. Create the following credentials:

    • NewsAPI (Query Auth) — from https://newsapi.org
    • Google Gemini (PaLM API) — use your Gemini API key
    • Replicate (Bearer Auth) — API key from https://replicate.com/account
    • Supabase (Header Auth) — endpoint to your /functions/v1/blog-api (set your key in header)
    • Slack API — create a Slack App token with chat:write permission
  3. Edit the NewsAPI URL query parameter to match your industry (e.g., q=AI automation SaaS).

  4. Update the Supabase publish URL to your project endpoint if needed.

  5. Adjust the Slack Channel name under “Slack Notification”.

  6. (Optional) Change the Schedule Trigger time as per your timezone.


💡 Notes & Tips

  • The Code in JavaScript node is robust against malformed or extra text in Gemini output — it sanitizes Markdown and reconstructs clean JSON safely.
  • You can replace Supabase with any CMS or Webhook endpoint by editing the “Publish to Supabase” node.
  • The Replicate model used is ideogram-ai/ideogram-v3-turbo — you can swap it with Stable Diffusion or another model for different aesthetics.
  • Use the slug field in your blog URLs for SEO-friendly links.
  • Test with one manual execution before activating scheduled runs.
  • If Slack notification fails, verify the token scopes and channel permissions.

🧩 Tags

#AI #Automation #ContentMarketing #BlogGenerator #n8n #Supabase #Gemini #Replicate #Slack #WorkflowAutomation

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Fetch Industry Trends

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 2 - Publish to Supabase

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 3 - Slack Notification

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 1

Block 4 - Message a model

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 5 - Message a model1

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 6 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Schedule Trigger

Type / Role
n8n-nodes-base.cron - cron
Config choices
Version 1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - HTTP Request1 (Replicate Polling)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - HTTP Request (Replicate – Generate Image)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated blog creation from news to publication using Gemini, Ideogram & Slack
Complexity advanced
Nodes 25
Categories Content Creation, Multimodal AI
Author Parag Javale
Published 14 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9658/9658.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated blog creation from news to publication using Gemini, Ideogram & Slack do?

The AI Blog Creator with Gemini, Replicate Image, Supabase Publishing & Slack is a fully automated content generation and publishing workflow designed for modern marketing and SaaS teams. It automa...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.