Templates / Analyze stocks via Telegram with GPT‑4, TwelveData, NewsAPI and chart images

Analyze stocks via Telegram with GPT‑4, TwelveData, NewsAPI and chart images

Ready for 3.0

by Jitesh Dugar ✓ · 159 views · created 2026-05-12 · Crypto Trading, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on Telegram events (message). Along the way it connects OpenAI, OpenAI Chat Model, HTTP Request and Telegram. It also calls api.twelvedata.com, newsapi.org and api.chart-img.com over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Convert to Stock Symbol (OpenAI): uses OpenAI
  2. Fetch 4H Market Data (HTTP Request): calls api.twelvedata.com
  3. Fetch Daily Market Data (HTTP Request): calls api.twelvedata.com
  4. Fetch Weekly Market Data (HTTP Request): calls api.twelvedata.com
  5. Fetch Stock News (HTTP Request): calls newsapi.org
  6. Merge: merges the data from its input branches
  7. News Sentiment Analyzer (OpenAI): uses OpenAI
  8. Structure Technical Dataset (Aggregate): combines items into one
  9. Merge: merges the data from its input branches
  10. Final AI Context Builder (Aggregate): combines items into one

…plus 2 more steps. See the full node list below.

Services it uses

OpenAIOpenAI Chat ModelHTTP RequestTelegram

HTTP calls to: api.twelvedata.com, newsapi.org, api.chart-img.com

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 (9)

From the author

AI-Powered Stock Analysis Agent is a Telegram-based AI workflow it transforms a simple stock name into a complete trading analysis report. Users send a stock/company name through Telegram, and the workflow automatically: - Converts the company name into a…

Excerpt from Jitesh Dugar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.