Skip to main content

Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord

Workflow preview

Workflow preview
100%
Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Try It Out! The Daily AI Powered Global Trend Analysis Workflow transforms your Discord server into a real time AI driven global intelligence dashboard . Every 6 hours, this automation gathers worl...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.discord, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord
Workflow name
Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord

Try It Out!

The Daily AI-Powered Global Trend Analysis Workflow transforms your Discord server into a real-time AI-driven global intelligence dashboard. Every 6 hours, this automation gathers worldwide data from GDELT, Hacker News, and NewsAPI — analyzing patterns in technology, economics, and geopolitics to uncover emerging global narratives before they hit mainstream awareness.

An integrated AI Trend Analyzer Agent distills this massive dataset into concise, actionable insights including:

  • Top 5 emerging global trends
  • A short AI-written daily summary
  • Regional intelligence highlights
  • Notable mentions in innovation, finance, and politics

Each insight is automatically posted to your Discord channel, formatted for quick scanning and decision-making — keeping your team or community ahead of the curve.


How It Works

  1. Automated Trigger (Schedule Node) – Executes every 6 or 24 hours (customizable) to fetch the latest global data.

  2. Multi-Source Intelligence Aggregation:

    • GDELT – Captures worldwide media signals and geopolitical movements.
    • Hacker News API – Surfaces trending stories in startups, AI, and innovation.
    • NewsAPI – Collects major headlines across global media outlets filtered by defined keywords.
  3. Data Normalization (JavaScript Node) – Cleans and merges all incoming data into a unified format with timestamps.

  4. AI Trend Analyzer (LLM Node) – Evaluates data contextually to identify:

    • 📰 Top 5 Global Trends
    • 🌍 Regional Highlights
    • 💡 Key Industry Insights
    • 📈 100–150 Word Summary
  5. Output Structuring Node – Parses and formats AI responses into a clean, Discord-friendly layout.

  6. Discord Delivery – Sends the compiled report to your specified channel using a webhook or bot token.


How to Use

  1. Import the workflow into n8n.

  2. Configure the following credentials:

    • NewsAPI Key – for aggregating headlines.
    • LLM API Key (OpenAI or Gemini) – for AI-based summarization.
    • Discord Webhook URL or Bot Token – for automated posting.
  3. Edit NewsAPI keywords to match your industry focus (e.g., “AI,” “blockchain,” “defense,” “renewable energy”).

  4. Adjust the schedule trigger interval as desired (default: every 6 hours).

  5. Activate the workflow — and start receiving continuous, AI-curated global intelligence in Discord.


(Optional) Extend This Workflow

  • Sector Prioritization: Focus on AI, finance, energy, or web3 insights only.
  • Regional Filters: Segment analysis by continent or language.
  • Trend Scoring: Introduce a numeric score to rank importance.
  • Cross-Platform Broadcast: Expand reports to Telegram, Slack, or X (Twitter).
  • Knowledge Archive: Auto-store each daily report in Notion or Airtable.

Requirements

  • n8n Instance with HTTP Request, LLM, and Discord Nodes
  • NewsAPI Key
  • Access to GDELT (no authentication required)
  • OpenAI or Gemini Key for AI Analysis
  • Discord Webhook URL or Bot Token

APIs Used

  • GET https://api.gdeltproject.org/api/v2/doc/doc?query=crypto&format=json
  • GET https://hn.algolia.com/api/v1/search?query=startup%20OR%20trend&tags=story&hitsPerPage=10
  • GET https://newsapi.org/v2/everything?q=crypto OR bitcoin OR web3 OR AI&language=en&sortBy=publishedAt&pageSize=10

Summary

The Daily AI-Powered Global Trend Analysis Workflow (Discord Edition) delivers machine-curated global intelligence right where your community communicates. It combines AI-driven reasoning with real-time data aggregation from open sources — converting raw news into structured, actionable insights.

Ideal for founders, analysts, researchers, and DAOs, this workflow ensures your Discord server becomes a live intelligence hub — automatically updated with what truly matters worldwide.


Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog

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 - Hacker News (Free)

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

Block 2 - Format Trend Data

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

Block 3 - Parse AI Output

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

Block 4 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 5 - AI Agent

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

Block 6 - Send a message

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

Block 7 - GDELT Global Event

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

Block 8 - NewsAPI (Free)

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

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 10 - Every 6 Hours

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

Block 11 - Google Gemini Chat Model

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

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

Block 16 - Sticky Note4

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

Block 17 - Sticky Note5

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

Block 18 - Sticky Note6

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

3. Summary Table

Workflow Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord
Complexity advanced
Nodes 18
Categories Market Research, AI Summarization
Author AFK Crypto
Published 23 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10093/10093.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 Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord do?

Try It Out! The Daily AI Powered Global Trend Analysis Workflow transforms your Discord server into a real time AI driven global intelligence dashboard . Every 6 hours, this automation gathers worl...

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 Market Research, AI Summarization use case.