News-to-Blog Automation with GPT, Leonardo AI & WordPress Publishing
This workflow automates the end-to-end process of generating and publishing blog posts from live news headlines.
Fetch Headlines – Collects the latest top stories from Google News and GDELT, merges them, and removes duplicates.
Headline Selection & Classification – Picks top headlines, checks relevance, and applies style rules.
Draft Generation – Uses GPT to create an initial blog article in a natural, human tone.
Tone & Expansion – Refines the draft for clarity, length, and style (customized to your own writing voice).
Image Generation – Sends the article topic to Leonardo AI, waits for the image to finish rendering, and retrieves the final asset.
Publish to WordPress – Uploads the generated image, assigns alt-text, creates a WordPress post with the article and image, and logs the publication to Google Sheets for tracking.
Purpose
Designed for hands-off content automation, this workflow continuously produces SEO-ready blog posts enriched with AI-generated images and publishes them directly to WordPress. It’s ideal for:
Running an automated blog that reacts to trending news.
Keeping websites updated with fresh, styled content without manual effort.
Creating a repeatable content engine that combines research, writing, and media assets in one pipeline.
Setup Instructions: Add Your Credentials
Go to Credentials in n8n and create:
OpenAI (for article generation)
Leonardo AI (for image generation)
WordPress (to publish posts)
(Optional) Google Sheets (to log published articles)
Attach these credentials to the matching nodes in the workflow.
Check the WordPress Node
Update the WordPress site URL to your own blog.
Make sure the category, tags, and status (publish/draft) are set the way you want.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments