Analyze crypto trades and sentiment with Binance, NewsAPI, OpenAI, and Telegram
Needs changesWhat this workflow does
This AI workflow has 26 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and OpenAI. It also calls newsapi.org and api.chart-img.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- Code: runs custom JavaScript code
- Binance - 1h (HTTP Request): calls an HTTP API
- Binance - 4h (HTTP Request): calls an HTTP API
- Binance - 1w (HTTP Request): calls an HTTP API
- Binance - 1m (HTTP Request): calls an HTTP API
- Sentiment (HTTP Request): calls newsapi.org
- HTTP Request: calls api.chart-img.com (POST)
- Binance - 1d (HTTP Request): calls an HTTP API
- Edit Fields (Edit Fields (Set)): sets 2 fields: timeframe, candles
- Edit Fields (Edit Fields (Set)): sets 2 fields: timeframe, candles
…plus 14 more steps. See the full node list below.
Services it uses
Other Telegram + OpenAI templates (807)
HTTP calls to: newsapi.org, api.chart-img.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent1 (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent1 (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Telegram Trigger
n8n-nodes-base.telegramTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow listens for a crypto ticker in Telegram, pulls multi-timeframe candlestick data from Binance and recent headlines from NewsAPI, uses OpenAI to score market sentiment and generate trade ideas, and sends back a TradingView chart…