Financial analysis report chatbot agent with Gemini 2.5 Flash and Discord
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs when a chat message arrives. Along the way it connects Google Gemini Chat Model and Discord.
How it runs
Trigger: When a chat message arrives.
- agent (AI Agent): runs an AI agent, with model: Connect Gemini; memory: Conversation Memory; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Edit Fields (Edit Fields (Set)): sets 4 fields: clean, output.idea, chatInput…
- Discord: uses Discord
Services it uses
Other Google Gemini + Discord templates (33)
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)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Discord
n8n-nodes-base.discord - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set
From the author
This n8n template turns chat questions into structured financial reports using Gemini and posts them to a Discord channel via webhook. Ask about tickers, sectors, or theses (e.g., “NVDA long‑term outlook?” or “Gold ETF short‑term drivers?”) and receive a…