Cryptocurrency Price Alerts via Telegram

somdn_product_page

This workflow automates the process of receiving cryptocurrency price updates via Telegram, using AI to interpret user queries and fetch data from CoinMarketCap.

The sequence begins with a Telegram trigger that listens for messages from users. When a message is received, it assigns a session ID based on the chat ID and sends the message content to an AI-powered language model (GPT-4), which interprets the user’s intent.

The AI model then interacts with a specialized CoinMarketCap agent to determine the specific cryptocurrency and converts the user’s request into a query. This query is used by an HTTP request node to fetch the latest price of the requested cryptocurrency from the CoinMarketCap API.

The retrieved price is stored in a buffer memory to maintain context in ongoing conversations. Finally, the bot sends a response back to the user on Telegram, displaying the latest cryptocurrency price.

This workflow is useful for real-time, automated cryptocurrency price alerts or inquiries, providing users instant updates via a popular messaging platform.

Node Count

6 – 10 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.toolHttpRequest, set, telegram, telegramTrigger

Reviews

There are no reviews yet.

Be the first to review “Cryptocurrency Price Alerts via Telegram”

Your email address will not be published. Required fields are marked *