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 need quick and easy access to market data.
How It Works
- A Telegram bot listens for user input (eg, "BTC" for Bitcoin).
- The workflow sends a request to the CoinMarketCap API to fetch the latest price.
- The response is processed using an AI-powered language model (GPT-4o-mini) for structured messaging.
- The workflow logs session data using a memory buffer for better response tracking.
- The latest price is sent back to the user via Telegram .
Setup Steps
-
Create a Telegram Bot
- Use @BotFather on Telegram to create a bot and obtain an API token.
-
Get a CoinMarketCap API Key
-
Configure API Credentials in n8n
- Add the CoinMarketCap API key under HTTP Header Auth .
- Add your Telegram bot token under Telegram API credentials .
-
Deploy and Test
- Send a message (eg, "BTC") to your Telegram bot and receive live price updates instantly!
Automate your crypto price tracking today with this powerful Telegram bot!