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

296 views · 🎬 Content Creation & Video

Description

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


⚙️ Workflow Structure

StepNodePurpose
1Schedule TriggerRuns daily at 10 AM
2Fetch Industry Trends (NewsAPI)Retrieves trending articles
3Message a model (Gemini)Generates trending topic ideas
4Message a model1 (Gemini)Writes full SEO blog content
5Code in JavaScriptCleans, validates, and normalizes Gemini output
6HTTP Request (Replicate)Generates an image using Ideogram
7HTTP Request1Retrieves generated image URL
8Wait + IfPolls until image generation succeeds
9Edit FieldsAssembles blog fields into final JSON
10Publish to SupabasePosts to your CMS
11Slack NotificationSends 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


🧩 Tags

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

🔗 Nodes Used

Cron, HTTP Request, Slack, Google Gemini

📥 Import

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

📖 Importing guide · 🔑 Credential setup