Find cheap flight deals using AI, Telegram and BrowserAct
This workflow transforms your Telegram bot into an intelligent travel agent. Ask for deals (e.g., "Flights from Berlin"), and it will scrape real-time prices from a flight aggregator, curate the best offers using AI, and deliver a formatted list directly to your chat.
Target Audience
Travel enthusiasts, digital nomads, and budget-conscious flyers looking for automated deal alerts.
How it works
- Receive Request: You send a message to your Telegram bot (e.g., "Cheap flights from London").
- Extract Location: An AI Agent parses your message to identify the departure city. If you don't specify one, it asks for clarification.
- Scrape Deals: BrowserAct executes a background task to search a flight aggregator (like Momondo or Skyscanner) for the best deals from your chosen city.
- Curate & Format: A second AI Agent processes the raw flight data. It sorts deals by price, groups them for readability, adds country flags, and formats the list into Telegram-friendly HTML.
- Deliver: The workflow splits the curated list into multiple messages (if necessary) and sends them to your Telegram chat.
How to set up
- Configure Credentials: Connect your Telegram, BrowserAct, Google Gemini, and OpenRouter accounts in n8n.
- Prepare BrowserAct: Ensure the Low-Cost Travel Finder template is saved in your BrowserAct account.
- Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
- Activate: Turn on the workflow.
- Test: Send a message like "Flights from NYC" to your bot.
Requirements
- BrowserAct account with the Low-Cost Travel Finder template.
- Telegram account (Bot Token).
- Google Gemini & OpenRouter accounts.
How to customize the workflow
- Filter by Destination: Add logic to the Generate response agent to only show flights to specific regions (e.g., "Only show Asia destinations").
- Change Aggregator: Update the BrowserAct template to scrape Google Flights or Kayak instead of Momondo.
- Set Alerts: Add a Schedule Trigger to run this workflow automatically every morning for your home airport.
Need Help?
Workflow Guidance and Showcase Video