Skip to main content

Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress

Workflow preview

Workflow preview
100%
Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 d...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.wordpress, n8n-nodes-base.splitinbatches, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by David Olusola.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress
Workflow name
Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress

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 US technology news stories every day at 8 AM via NewsAPI
  • Splits articles into individual items for processing
  • Processes each article through a loop system
  • AI creates expanded, engaging blog posts (600-800 words) from each news article
  • Parses AI response to extract clean titles and content
  • Publishes individual blog posts to WordPress automatically

Setup Required:

  1. NewsAPI Configuration

    • Get free API key from newsapi.org (1,000 requests/day free)
    • Replace YOUR_API_KEY in the HTTP Request URL with your actual key
    • Customize country/category parameters in URL if needed
  2. WordPress Connection

    • Configure WordPress credentials in the "Publish to WordPress" node
    • Enter your WordPress site URL, username, and password/app password
  3. AI Configuration

    • Set up Google Gemini API credentials
    • Connect the Gemini model to the "AI News Summarizer" node
  4. Customization Options

    • Publishing Schedule: Modify schedule trigger (default: daily 8 AM)
    • News Sources: Change country, category, or pageSize in NewsAPI URL
    • Content Style: Adjust AI system message for different writing tones
    • Post Status: Change from "publish" to "draft" for manual review
  5. Testing

    • Run workflow manually to test all connections
    • Verify news articles are fetched correctly
    • Check that blog posts appear properly on your WordPress site

Features:

  • Automatic daily content creation
  • AI-generated unique titles and expanded content
  • Loop processing for multiple articles per day
  • Duplicate content filtering (removes incomplete articles)
  • SEO-optimized blog post formatting
  • Automatic tagging and categorization

Customization:

  • Change news categories (technology, business, science, etc.)
  • Adjust posting frequency (hourly, twice daily, etc.)
  • Modify AI prompts for different writing styles
  • Add custom categories and tags
  • Change article limits (currently 5 articles max)

Need Help? For n8n coaching or one-on-one consultation

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Daily 8AM Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Fetch Tech News

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 4 - AI News Summarizer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 5 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 6 - Publish to WordPress

Type / Role
n8n-nodes-base.wordpress - wordpress
Config choices
Version 1

Block 7 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 8 - Title and Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Split Articles

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress
Complexity intermediate
Nodes 9
Categories Content Creation, Multimodal AI
Author David Olusola
Published 14 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7397/7397.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate tech news blog posts with NewsAPI & Google Gemini to WordPress do?

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 d...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.