🤖 News search & categorization chatbot with Google News, SerpAPI, and OpenAI

658 views · 🤖 AI Chatbots & Agents

💡 Pro Tip — For competitive intelligence, ScraperNode can automate the data collection — Yelp reviews, Glassdoor company data, and Crunchbase profiles all return structured JSON you can feed straight into this workflow.

View All Scrapers

Description

🧑‍💻 Description

This workflow connects SerpApi with OpenAI inside n8n to automate Google News monitoring and analysis.

It’s built for market researchers, analysts, communications teams, and business leaders who need to stay on top of fast-changing news without wasting time scrolling through endless headlines. Instead of manually searching, this workflow automatically fetches news, groups it into meaningful categories, and recommends the most relevant articles.

Problem it solves:

Disclaimer: this template can only be used on self-hosted installations.

image.png


📌 Use Cases


⚙️ Setup Instructions

Preconditions


1️⃣ Set Up SerpApi Connection

  1. Create a free account at SerpApi
  2. Copy your API Key from the dashboard
  3. In n8n → Credentials → New → SerpApi
    • Paste your API Key → Save
  4. In the workflow, select your SerpApi credential in the Google News Search node.

2️⃣ Set Up OpenAI Connection

  1. Go to OpenAI Platform
  2. Navigate to Billing and ensure your account has credits/funding
  3. Copy your API Key into the OpenAI credentials in n8n

🧠 Workflow Breakdown

  1. Chat Trigger → A user enters a search query (e.g., “EV market 2025”).
  2. Google News Search (SerpApi) → Fetches the latest headlines for that query.
  3. Split Out Links → Separates articles into individual items.
  4. Aggregate Node → Merges article titles and links into a structured list.
  5. OpenAI Agent → Summarizes, categorizes, and selects the most relevant article per category.
  6. Response Output → Returns a clean, categorized digest with clickable links.

🎛️ Customization Guidance


💬 Example Q&A

Question: “What’s happening in renewable energy today?”
Response:


📬 Contact

Need help customizing this template (e.g., tracking multiple industries, adding auto-delivery, or integrating dashboards)?

📧 robert@ynteractive.com
🔗 Robert Breen
🌐 ynteractive.com

🔗 Nodes Used

AI Agent, OpenAI Chat Model, Simple Memory, Chat Trigger

📥 Import

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

📖 Importing guide · 🔑 Credential setup