Accounting & Finance
Technical stock analysis with Telegram, Airtable and a GPT-powered AI Agent
This n8n workflow automates technical stock analysis, triggered by user requests via Telegram (text or voice) or a recurring schedule reading from Airtable. An AI agent, powered by a Large Language Model and a "Get Chart" tool, generates stock charts from an external API and…
Built · ~7.5 hours saved per week
Technical Stock Analysis AI Agent
This workflow creates a sophisticated, conversational AI agent for technical stock analysis, accessible via Telegram. It automates the process of fetching stock data, generating advanced trading charts, performing a detailed technical analysis on the chart image itself, and delivering the insights back to the user. Additionally, it can be scheduled to automatically perform and deliver analysis for a predefined list of stocks.
Technologies & Automation
- Technologies Used: Telegram, Airtable, OpenAI (GPT-4o), Chart-Img API, n8n (HTTP Request, Webhook, Scheduler). - What it Automates: The workflow automates the entire lifecycle of a stock analysis request. Instead of manually using charting software, analyzing indicators, and formulating a report, a user can simply send a message (text or voice) to a Telegram bot. The system handles: - Receiving and understanding user requests in natural language. - Generating a custom, indicator-rich stock chart image. - Performing a multi-faceted technical analysis of the chart. - Saving tickers for future automated reports. - Delivering a comprehensive analysis with the chart directly to the user. - Proactively running analyses on a schedule for a list of saved stocks.
AI Integration
AI is the central intelligence of this workflow, enabling it to go far beyond simple data retrieval.
- AI Agent (LangChain): An AI Agent, powered by OpenAI's GPT-4o, acts as the main conversational brain. It interprets user requests, manages conversation history (Window Buffer Memory), and decides when to use its specialized tools. It is instructed to act as a financial analyst, ensuring responses are professional and insightful without giving direct financial advice.
- AI-Powered Tools: The agent is equipped with two key tools: 1. Get Chart (Workflow Tool): When the agent determines a user wants stock analysis, it calls this tool. This tool triggers a sub-workflow that generates a chart and, most impressively, uses OpenAI's GPT-4o vision capabilities to perform a detailed technical analysis by _reading the generated chart image_. 2.
Tags: CRM, Audio/Music/Voice, Data Transformation, Telegram, AI Assistant
Integrations: AI Agent, Telegram, HTTP, OpenAI, Webhook, Airtable, Schedule