AI-Powered Stock Technical Analysis Agent Based on n8n
This workflow is an intelligent stock analysis agent. Users send stock codes and chart style requests via Telegram, and the AI automatically generates technical charts and conducts in-depth analysis, covering indicators such as candlestick patterns, MACD, and RSI. The analysis results are ultimately presented in an easy-to-understand manner. It supports voice-to-text conversion and stock code storage for convenient batch analysis later on. The entire process is highly automated and efficient, allowing users to quickly obtain professional stock technical analysis reports.

Workflow Name
AI-Powered Stock Technical Analysis Agent Based on n8n
Key Features and Highlights
This workflow implements an intelligent AI stock analysis agent that allows users to send stock codes and chart style requests via Telegram. The AI automatically retrieves and generates corresponding stock technical charts, then performs in-depth technical analysis—including candlestick patterns, MACD, volume, RSI, and stochastic RSI indicators—and delivers the analysis results in an easy-to-understand conversational format. It also supports voice message-to-text conversion and enables saving user-followed stock codes to Airtable for convenient batch and scheduled analysis. The entire process is highly automated without manual intervention, significantly enhancing the efficiency and convenience of stock technical analysis.
Core Problems Addressed
- Traditional stock technical analysis is complex, requiring specialized knowledge and multiple tools.
- Users struggle to quickly obtain professional, detailed, and easy-to-understand technical analysis reports.
- Voice and text requests are difficult to handle uniformly, lacking an intelligent interactive experience.
- Stock code management is fragmented, making batch automated analysis challenging.
Application Scenarios
- Individual or small investors obtain professional stock technical analysis instantly via Telegram.
- Traders use automated tools for scheduled batch analysis of tracked stocks.
- Financial education and consulting services provide decision-support information.
- Quantitative trading teams rapidly validate technical analysis hypotheses.
Main Workflow Steps
- Users send stock codes and chart style requests (text or voice) via Telegram.
- Voice messages are downloaded and transcribed into text using OpenAI’s speech-to-text API.
- Based on the input, the AI agent calls a third-party chart generation API to create stock technical charts (supporting various styles such as candlestick, bar charts, etc.).
- The generated stock chart images are downloaded and analyzed by OpenAI’s image analysis model to interpret technical indicators.
- The AI composes a detailed and easy-to-understand technical analysis report based on the results.
- The charts and analysis reports are sent back to the user via Telegram.
- Upon user request, stock codes are automatically saved to the Airtable database.
- The Airtable database supports scheduled triggers for batch automated analysis, enabling continuous monitoring.
- The AI retains conversational memory to support context awareness and enhance interaction experience.
Involved Systems and Services
- Telegram: User interaction interface for receiving requests and delivering analysis results.
- OpenAI API: Used for speech-to-text transcription, text generation (AI chat model), and image-based technical analysis (stock chart interpretation).
- Third-Party Stock Chart API: Generates diverse stock technical charts.
- Airtable: Stores user-followed stock codes, facilitating data management and scheduled batch analysis.
- n8n Automation Platform: Orchestrates the entire workflow with node-based automation and triggers.
Target Users and Value Proposition
- Individual investors and stock enthusiasts who can access authoritative technical analysis without specialized skills.
- Financial analysts and advisors who need to quickly generate technical reports for multiple stocks, improving work efficiency.
- Quantitative trading and research teams seeking automated tools to support technical decision-making.
- Educational institutions assisting learners in understanding practical applications of technical analysis.
- Users aiming to enhance investment analysis efficiency and accuracy through automation.
Leveraging n8n’s powerful automation capabilities combined with OpenAI’s intelligent models and professional stock chart APIs, this workflow achieves end-to-end automation from user input to professional analysis reports. It significantly lowers the barrier to technical analysis and offers an innovative example of intelligent services in the financial sector.