Find cheap flight deals using Google Gemini, GPT-4, Telegram and BrowserAct

Go to Workflow
29 views
Built by Madame AI Team | Kai Madame AI Team | Kai
Created on June 05, 2026

Description

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?
How to Find Your BrowserAct API Key & Workflow ID
How to Connect n8n to BrowserAct
How to Use & Customize BrowserAct Templates

Workflow Guidance and Showcase Video

Build a Low-Cost Flight Finder with n8n & AI (Telegram Bot Tutorial)


Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram