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

3,043 views · 🎬 Content Creation & Video

Description

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:

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:

Customization:

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

🔗 Nodes Used

HTTP Request, Wordpress, Schedule Trigger, AI Agent, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup