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.
Reviews
There are no reviews yet.