News-to-Blog Automation with GPT, Leonardo AI & WordPress Publishing - n8n Workflow | Neura Market
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.
Platform
n8n
Category
Media & Entertainment
Price
Free
Creator
Dean Gallop
if
code
wait
merge
stickyNote
httpRequest
rssFeedRead
scheduleTrigger
openAi
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.