News-to-blog automation with GPT, Leonardo AI & WordPress publishing
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs on a schedule (every day at 12:00). Along the way it connects OpenAI. It also calls api.gdeltproject.org, api.openai.com and cloud.leonardo.ai over HTTP.
How it runs
Trigger: On a schedule (every day at 12:00).
- Google News RSS (RSS Read): reads an RSS feed
- GDELT Docs API (HTTP Request): calls api.gdeltproject.org
- Merge: merges the data from its input branches
- Within dedupe (Code): runs custom JavaScript code
- Top Headlines (Code): runs custom JavaScript code
- Classify Headlines (Code): runs custom JavaScript code
- Writing Style (Code): runs custom JavaScript code
- Build GPT body (Code): runs custom JavaScript code
- Research Topic – GPT (HTTP Request): calls api.openai.com (POST)
- Build Tone Request (Code): runs custom JavaScript code
…plus 14 more steps. See the full node list below.
Services it uses
HTTP calls to: api.gdeltproject.org, api.openai.com, cloud.leonardo.ai, public-api.wordpress.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - RSS Read
n8n-nodes-base.rssFeedRead - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
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 &…