Stock market information assistant with Telegram, Yahoo Finance, and GPT-4 Nano
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on Telegram events (plus 1 other trigger). Along the way it connects Telegram, OpenRouter Chat Model and HTTP Request.
How it runs
Trigger: On Telegram events (plus 1 other trigger).
- Stock Market Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 2 tools (Get Stock Info, Get Ticker Name); memory: Simple Memory
- Google Search (HTTP Request): calls an HTTP API
- Telegram: uses Telegram
- Information Extractor: extracts structured fields from text with AI, with model: OpenRouter Chat Model
- Ticker Name Search (HTTP Request): calls an HTTP API
- Set Ticker (Edit Fields (Set)): sets or maps fields
Services it uses
Other Telegram + OpenRouter templates (136)
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 (11)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Http Request Tool
n8n-nodes-base.httpRequestTool - Telegram
n8n-nodes-base.telegram - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
How it works 1. Listens to Telegram messages to detect stock-related queries. 2. Extracts company name and identifies its exact stock ticker symbol. 3. Searches Yahoo Finance for stock info using the ticker. 4. Fetches and formats the latest stock data like…