Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects Discord and Google Gemini Chat Model. It also calls hn.algolia.com and api.gdeltproject.org over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- Hacker News (Free) (HTTP Request): calls hn.algolia.com
- NewsAPI (Free) (HTTP Request): calls an HTTP API
- GDELT Global Event (HTTP Request): calls api.gdeltproject.org
- Merge: merges the data from its input branches
- Format Trend Data (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Parse AI Output (Code): runs custom JavaScript code
- Send a message (Discord): work with message
Services it uses
HTTP calls to: hn.algolia.com, api.gdeltproject.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.
Nodes used (8)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - Discord
n8n-nodes-base.discord - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
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…