Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs on a schedule (cron 0 8 * * *). Along the way it connects Google Gemini Chat Model and Wordpress. It also calls newsapi.org over HTTP.
How it runs
Trigger: On a schedule (cron 0 8 * * *).
- Fetch Tech News (HTTP Request): calls newsapi.org
- Split Articles (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- AI News Summarizer (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
- Title and Content (Code): runs custom JavaScript code
- Publish to WordPress (Wordpress): uses Wordpress
Services it uses
Other WordPress + Google Gemini templates (29)
HTTP calls to: newsapi.org
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Wordpress
n8n-nodes-base.wordpress - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code
From the author
WordPress Daily News Digest Generator Overview: This automation automatically fetches trending tech news every morning, uses AI to create engaging blog posts from each article, and publishes them directly to your WordPress site. What it does: - Fetches top 10…