Get Colombian Peso to USD Exchange Rate with Telegram Bot and AI Date Recognition
π 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.
π§ Date Extraction
AI (OpenAI) is used to identify the date in YYYY-MM-DD format.
π
Validation
If the date is in the future, the user is notified that it is not valid.
π‘ TRM Query
The bot queries the open data API from the Colombian government.
π₯ 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.
π€ Final Response
The most recent available value is sent, or a message indicating no information is available.
π Data Source
datos.gov.co β TRM
Tags
Related Templates
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...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
β‘ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments