Get Colombian peso to USD exchange rate with Telegram bot and AI
📌 Request TRM (Colombian Peso to US Dollar exchange rate) 🎯 Objective Retrieve the TRM (Colombian Peso to US Dollar exchange rate) for a specific date prov...
🔌 Nodes & Integrations Used (11)
📖 Implementation & Setup Guide
📌 Request TRM (Colombian Peso to US Dollar exchange rate)
🎯 Objective
Retrieve the TRM (Colombian Peso to US Dollar exchange rate) for a specific date provided by the user via Telegram.
🔄 Summary Flow
- 📨 **Telegram Message**
- The user sends a text or audio message to the Telegram Bot.
2. 🧠 **Date Extraction** AI (OpenAI) is used to identify the date in `YYYY-MM-DD` format.
3. 📅 **Validation** If the date is in the future, the user is notified that it is not valid.
4. 📡 **TRM Query** The bot queries the open data API from the Colombian government.
5. 📥 **Result** - ✅ If TRM data exists for that date → The bot replies to the user. - ❌ If not → It searches up to 10 previous days for available data.
6. 📤 **Final Response** The most recent available value is sent, or a message indicating no information is available.
🔗 Data Source
**datos.gov.co** – [TRM](https://www.datos.gov.co/)
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Get_Colombian_peso_to_USD_exchange_rate_with_Telegram_bot_and_AI.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....