CoinMarketCap telegram price bot
Needs changesWhat this workflow does
This AI workflow has 7 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and HTTP Request. It also calls pro-api.coinmarketcap.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- Adds SessionId (Edit Fields (Set)): sets 1 field: sessionId
- CoinMarketCap Price Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (CoinMarketCap Price); memory: Window Buffer Memory
- Telegram: uses Telegram
Services it uses
HTTP calls to: pro-api.coinmarketcap.com
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in CoinMarketCap Price Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- HTTP Request Tool (legacy) in CoinMarketCap Price: replace with HTTP Request node connected to the AI Agent's Tool input.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) CoinMarketCap Price Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) CoinMarketCap Price | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (7)
- Telegram
n8n-nodes-base.telegram - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest
From the author
Get real-time cryptocurrency prices directly in Telegram! This workflow integrates CoinMarketCap API with Telegram, allowing users to request live crypto prices simply by sending a message to the bot. Ideal for crypto traders, analysts, and enthusiasts who…