Track Top Meme Coin Prices with Telegram Bot and CoinGecko API
Platform: n8n (Telegram Bot Integration) Purpose: Let users fetch top meme coin prices in real-time using a simple /memecoin Telegram command How It Works (Logic Breakdown) This flow listens for a Telegram command and fetches data from the CoinGecko API to respond with live memecoin prices.
š¹ 1. Telegram Trigger Node Listens for incoming Telegram messages from users.
Activated when a message is sent in a Telegram chat connected to the bot.
Passes the raw message (e.g., /memecoin) to the next node.
š¹ 2. IF Node ā Check if Message is /memecoin Condition: {{$json"message"}} === "/memecoin"
If true ā continue to fetch data from CoinGecko.
If false ā nothing happens.
š¹ 3. HTTP Request ā Fetch Meme Coins from CoinGecko API: https://api.coingecko.com/api/v3/coins/markets?...category=meme-token
Fetches top 5 meme tokens by market cap.
Data includes:
Name
Symbol
Current price (USD)
Coin ID (for URL linking)
š¹ 4. Function Node ā Format the Message Parses the JSON response from CoinGecko.
Builds a clean message like:
ruby Copy Edit š Dogecoin (DOGE) š° Price: $0.123 š More: https://www.coingecko.com/en/coins/dogecoin Loops through top 5 meme coins and adds line breaks.
š¹ 5. Telegram Send Node ā Reply to User Sends the formatted message to the original chat.
Uses chat_id from the trigger to ensure correct user receives it.
š¼ Sample User Flow š¤ User types /memecoin in Telegram bot
š¤ Bot fetches meme coin prices
š¬ Bot replies with live prices + links
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
š° AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments