AutomationMart
Home/Browse/Analyze stocks in Telegram with Twelve Data, GPT-4o and o3-mini
n8n

Analyze stocks in Telegram with Twelve Data, GPT-4o and o3-mini

n8nn8n46 modulesv1.0
OpenAITelegram

TwelveData Pro Analyst — AI-Powered Stock Analysis Bot for Telegram Turn your Telegram into a personal Bloomberg terminal. Ask any question about any stock — get institutional-grade analysis back in seconds. What Is This? TwelveData Pro Analyst is a complete, ready-to-import n8n workflow that connects a Telegram bot to live financial market data and an AI analyst called Ade — a persona built to deliver the kind of rigorous, data-backed stock analysis that professional traders rely on. You messag

At a glance

Analyze stocks in Telegram with Twelve Data, GPT-4o and o3-mini is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Telegram
Modules
46
Price
Free
Version
v1.0
Analyze stocks in Telegram with Twelve Data, GPT-4o and o3-mini workflow diagram

About this workflow

TwelveData Pro Analyst — AI-Powered Stock Analysis Bot for Telegram Turn your Telegram into a personal Bloomberg terminal. Ask any question about any stock — get institutional-grade analysis back in seconds. What Is This? TwelveData Pro Analyst is a complete, ready-to-import n8n workflow that connects a Telegram bot to live financial market data and an AI analyst called Ade — a persona built to deliver the kind of rigorous, data-backed stock analysis that professional traders rely on. You message the bot. Ade fetches live data, runs the numbers, and sends back a full analysis — technical indicators, fundamentals, risk score, sector context, and a clear BUY / HOLD / SELL verdict. No spreadsheets. No manual research. No switching between platforms. This is not a toy chatbot. Every response is grounded in real-time data from the Twelve Data API and processed through a suite of purpose-built analytical sub-workflows before Ade writes a single word. What Can It Do? 📊 Deep-Dive Stock Analysis Ask "Analyse Apple" or "What do you think about TSLA?" and Ade will pull: - Live real-time quote (price, change, volume, 52-week range) - 90 days of historical price data - RSI, MACD and Bollinger Bands technical indicators - Company profile (CEO, sector, industry, employees, description) - Income statement (revenue, net income, EBITDA, EPS, R&D spend — with YoY growth) She then calculates price momentum, volume trend, support and resistance levels from the 30-day price history, and delivers a structured report with a price target, stop-loss level and 3 data-backed reasons for her verdict. 📈 Stock Comparison Ask "Compare AAPL, MSFT and GOOGL" and get a side-by-side breakdown of price performance, RSI momentum signal, 52-week range positioning, sector and industry, and a Quick Verdict per stock — all ranked by daily performance. 🏢 Sector Analysis Ask "How is the Technology sector doing?" and get a full sector report across 5 representative stocks covering combined market cap, average P/E, average beta, top and bottom performers, industry sub-group breakdown, and a Bullish / Mixed / Bearish sector recommendation. Supported sectors: Technology, Healthcare, Finance, Energy, Consumer, Real Estate, Utilities, Industrials ⚠️ Risk Calculator Ask "What is the risk on Tesla?" or "Calculate risk for NVDA with a $5,000 position" and get: - Annualised and daily volatility - Maximum drawdown with exact peak and trough dates - Value at Risk (95% confidence, 1-day) in both % and dollar terms - Composite risk score out of 10 (across volatility, drawdown, beta, valuation and leverage) - Financial health metrics (margins, ROE, free cash flow, debt vs cash) - Short interest, institutional ownership, dividend sustainability - Stop-loss recommendation and position sizing guidance What's Included This single JSON file contains 5 fully built workflows in one import: | Workflow | Purpose | |---|---| | TwelveData Pro Analyst | Main bot — Telegram trigger, AI agent (Ade), routes to sub-tools | | Stock Analysis Tool | Deep single-stock analysis with 7 data streams + AI report | | Stock Comparison Tool | Side-by-side multi-stock comparison | | Sector Analysis Tool | Sector-wide performance and investment recommendation | | Risk Calculator Tool | Institutional risk metrics and position sizing | What You Need Before Starting 1. n8n Instance You need a running n8n instance — either: - n8n Cloud — sign up at n8n.io (easiest option, no server needed) - Self-hosted — install n8n on your own server or VPS via Docker or npm 2. Twelve Data Community Node for n8n (Required) This workflow uses the official Twelve Data community node for n8n. You must install this before importing the workflow, otherwise the Twelve Data nodes will not be recognised. Install via npm: Or install directly inside n8n: 1. Go to Settings → Community Nodes 2. Click Install a community node 3. Enter n8n-nodes-twelve-data and click Install 4. Restart n8n if prompted npm package page: > ⚠️ Important: Install the community node before importing the workflow JSON. If you import first, the Twelve Data nodes will show as unrecognised and you will need to re-link them manually. 3. Twelve Data API Key (Required) All market data in this workflow is powered by Twelve Data — one of the most comprehensive financial data APIs available. 👉 Get your API key here: Free plan — You can get started immediately at no cost. The free tier gives you access to real-time quotes and basic time series data, which means core stock analysis and comparisons will work out of the box. To unlock the full functionality of this workflow — including fundamentals, income statements, statistics, sector analysis with complete valuation metrics, and the full risk calculator — you will need one of Twelve Data's paid plans: | Plan | Price | Best For | |---|---|---| | Grow | $19.99/month | Profile endpoint, sector and comparison tools | | Pro ⭐ Recommended | $49.99/month | Full fundamentals, statistics, all 5 tools at full power | | Ultra | $99.99/month | High-volume usage, real-time WebSocket data | 👉 Upgrade here: 4. OpenAI or OpenRouter API Key (Required) The AI analysis engine uses GPT-4o (via OpenAI directly or OpenRouter). You need an active API key from either: - OpenAI — platform.openai.com - OpenRouter — openrouter.ai (supports multiple models including o3-mini) 5. Telegram Bot Token (Required) The bot communicates through Telegram. You need to create a free Telegram bot: 1. Open Telegram and search for @BotFather 2. Send /newbot and follow the prompts 3. Copy the bot token provided — you'll need it during setup Setup Instructions Step 1 — Install the Twelve Data Community Node Do this first — before importing the workflow. Inside n8n: 1. Go to Settings → Community Nodes 2. Click Install a community node 3. Enter n8n-nodes-twelve-data and confirm 4. Restart n8n if prompted Or via terminal if self-hosting: 📦 npm page: Step 2 — Import the Workflow 1. Open your n8n instance 2. Go to Workflows → Import from file 3. Select the TwelveDataProAnalystn8n.json file 4. All 5 workflows will be imported together Step 3 — Connect Your Twelve Data API Key 1. In n8n, go to Credentials → New Credential 2. Search for Twelve Data API 3. Paste your API key from 4. Save as Twelve Data account 5. Open each of the 5 workflows and confirm all Twelve Data nodes are linked to this credential Step 4 — Connect Your OpenAI / OpenRouter Key 1. Go to Credentials → New Credential 2. Search for OpenAI or OpenRouter 3. Paste your API key and save 4. Open the Stock Analysis Tool workflow and link the AI Analysis node to this credential 5. Open the TwelveData Pro Analyst workflow and link the AnalyticsModel node Step 5 — Connect Your Telegram Bot 1. Go to Credentials → New Credential 2. Search for Telegram API 3. Paste your bot token from BotFather and save 4. Open the TwelveData Pro Analyst workflow 5. Link both the Telegram Trigger node and the Send Response node to this credential Step 6 — Activate the Workflow 1. Open the TwelveData Pro Analyst workflow (the main one) 2. Toggle Active in the top right 3. Open Telegram, find your bot, and send it a message > ⚠️ Important: Only the main TwelveData Pro Analyst workflow needs to be activated. The 4 sub-workflows (Stock Analysis Tool, Stock Comparison Tool, Sector Analysis Tool, Risk Calculator Tool) are called automatically and should remain inactive — do not activate them manually. How to Use It Once your bot is active, simply message it in plain English. Here are example prompts: Single stock analysis: - "Analyse AAPL" - "What do you think about Tesla?" - "Give me a full breakdown of NVDA" Stock comparison: - "Compare AAPL and MSFT" - "AAPL vs TSLA vs GOOGL" - "Compare Apple, Amazon and Meta" Sector analysis: - "How is the Technology sector performing?" - "Give me a Healthcare sector report" - "What's happening in Energy?" Risk analysis: - "What's the risk on TSLA?" - "Calculate risk for NVDA with a $10,000 position" - "How volatile is Tesla?" On your very first message, Ade will introduce herself and ask for your name. From that point on, she remembers your conversation and personalises every response — each user gets their own private memory session. API Plan Feature Matrix | Feature | Free Plan | Grow ($19.99) | Pro ($49.99) | Ultra ($99.99) | |---|---|---|---|---| | Real-time quotes | ✅ | ✅ | ✅ | ✅ | | Stock comparison (basic) | ✅ | ✅ | ✅ | ✅ | | Technical indicators (RSI, MACD, BBands) | ✅ | ✅ | ✅ | ✅ | | Company profile & sector data | ❌ | ✅ | ✅ | ✅ | | Sector analysis tool (full) | ❌ | ✅ | ✅ | ✅ | | Fundamentals & income statement | ❌ | ❌ | ✅ | ✅ | | Risk calculator (full metrics) | ❌ | ❌ | ✅ | ✅ | | Deep stock analysis (AI report) | Partial | Partial | ✅ Full | ✅ Full | | API calls per day | 800 | 800 | 3,000 | 10,000 | 👉 Get your Twelve Data API key: Frequently Asked Questions Do I need coding experience? No. The workflow is fully pre-built. You only need to install the community node, connect your API keys and activate the bot — everything else is done for you. Do I need to install anything extra for n8n? Yes — one thing. You must install the n8n-nodes-twelve-data community node before the workflow will function. This takes less than a minute inside n8n's settings, or one command (npm i n8n-nodes-twelve-data) if you are self-hosting. Can multiple people use the bot at the same time? Yes. Each Telegram user gets their own independent memory session. Ade will remember each person's name and conversation history separately. What happens if I'm on the free Twelve Data plan? The bot will still work for basic stock analysis and comparisons. If a feature requires a paid endpoint, Ade will acknowledge the limitation honestly rather than making up data, and will suggest upgrading your plan. Can I use this with n8n Cloud? Yes, n8n Cloud is fully supported and is the easiest way to get started without managing your own server. Can I customise Ade's persona or responses? Absolutely. The AI agent system prompt is fully editable inside the TwelveData Pro Analyst workflow. You can change her name, tone, branding, and analytical framework to suit your needs. Support For questions about this workflow, contact: admin@hgrayai.agency For questions about your Twelve Data API plan: For the Twelve Data n8n community node: ⚠️ Disclaimer: This workflow is for informational and educational purposes only. Nothing produced by this tool constitutes financial advice. Always conduct your own research and consult a qualified financial adviser before making investment decisions.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

AI email assistant: Prioritize Gmail with ChatGPT summaries and Slack digests

This n8n workflow acts as an AI-powered Inbox Assistant that automatically summarizes and classifies Gmail emails, prioritizes important messages, and sends a daily digest to Slack. It’s ideal for startup founders and small teams juggling investor intros, customer leads, and support queries — all from a busy Gmail inbox. Each email is processed using ChatGPT to generate a concise summary, classify the message (e.g., Support, Investor, Spam), and determine its urgency. High and medium priority m

Free

Create a new WordPress post using ChatGPT content generation

Generate engaging WordPress posts using ChatGPT. This template creates content and publishes it directly to your WordPress site.

Free

Smart CSM assignment & AI welcome emails for HubSpot deal wins with Gmail

Who's it for This template is for Customer Success and Sales teams who use HubSpot. It automates the critical handoff from sales to success, ensuring every new customer gets a fast, personalized welcome. It's perfect for anyone looking to standardize their onboarding process, save time on manual tasks, and improve the new customer experience using AI. What it does This workflow triggers when a deal's "Is closed won" property is set to True in HubSpot. It assigns a Customer Success Manager (CSM)

Free

Generate AI stock trade recommendations from TwelveData, NewsAPI and Gemini via Telegram

This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international stock markets. Use cases - Automatically analyze stock trends using live candlestick data. - Aggregate real-time news sentiment to strengthen trading confidence. - Generate AI-backed Buy / Sell / Hold recommendations for traders. - Build an automated Telegram trading assistant or analytics

Free

Generate SEO blog posts from a keyword list and publish to Webflow

Who's it for Content marketers and SEO specialists who need to generate multiple SEO-optimized articles targeting keyword variations. Ideal for affiliate sites, niche blogs, or service-based businesses creating location/product-specific landing pages. How it works This workflow automates bulk content creation from keyword list to Webflow draft: 1. Loads keywords from Google Sheets with structured format (main keyword + slug) 2. AI generates articles - Creates 600+ word content following SEO best

Free

Build a voice AI chatbot with ElevenLabs and InfraNodus knowledge experts

Set Up ElevenLabs Voice Chat Agent using Graph RAG Knowledge Graphs as Experts This workflow creates an AI voice chatbot agent that has access to several knowledge bases at the same time (used as "experts"). These knowledge bases are provided using the InfraNodus GraphRAG using the knowledge graphs and providing high-quality responses without the need to set up complex RAG vector store workflows. We use [ElevenLabs](

Free

Generate knowledge base articles with GPT & Perplexity AI for Contentful CMS

Workflow: Auto Knowledge Base Article Generator ⚡ About the Creators This workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and deliver software development projects 500% faster than traditional agencies. Based in New York City, we specialize in custom software development, web applications, and digital transformation solutions. If you need assistance implementing this workflow or have questions about content management solutions, please

Free

Securely call private Google Cloud Run APIs with JWT authentication (simplified)

Who it’s for? Anyone who wants a dead-simple, free-tier friendly way to run custom API logic on Google Cloud Run and call it securely from n8n—no public exposure, no local hosting. What it does Minimal flow: Set → JWT (sign) → HTTP (token exchange) → HTTP (call Cloud Run with Authorization: Bearer <idtoken> ). No caching, no extras—just enough to authenticate and hit your endpoint. How to set up General instructions below—see my detailed guide for more info: Build a Secure Google Cloud

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free