Skip to main content

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

Workflow preview

Workflow preview
100%
Find cheap flight deals using Google Gemini, GPT-4, Telegram and BrowserAct preview
Open on n8n.io

1. Workflow Overview

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 scrap...

Best for

  • Market Research automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.splitinbatches, n8n-nodes-base.telegram, n8n-nodes-base.switch, n8n-nodes-base.telegramtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Madame AI Team | Kai.

Original n8n.io source

1.1 Workflow description

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

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

  1. Receive Request: You send a message to your Telegram bot (e.g., "Cheap flights from London").
  2. Extract Location: An AI Agent parses your message to identify the departure city. If you don't specify one, it asks for clarification.
  3. Scrape Deals: BrowserAct executes a background task to search a flight aggregator (like Momondo or Skyscanner) for the best deals from your chosen city.
  4. 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.
  5. Deliver: The workflow splits the curated list into multiple messages (if necessary) and sends them to your Telegram chat.

How to set up

  1. Configure Credentials: Connect your Telegram, BrowserAct, Google Gemini, and OpenRouter accounts in n8n.
  2. Prepare BrowserAct: Ensure the Low-Cost Travel Finder template is saved in your BrowserAct account.
  3. Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
  4. Activate: Turn on the workflow.
  5. 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

  1. Filter by Destination: Add logic to the Generate response agent to only show flights to specific regions (e.g., "Only show Asia destinations").
  2. Change Aggregator: Update the BrowserAct template to scrape Google Flights or Kayak instead of Momondo.
  3. Set Alerts: Add a Schedule Trigger to run this workflow automatically every morning for your home airport.

Need Help?


Workflow Guidance and Showcase Video

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 2 - Validate user Input

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 3 - Validate user Inputs

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Google Gemini

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - Structured Output

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - OpenRouter Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 7 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 8 - Chatting With User

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 9 - Answer the User

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 10 - Check For Input Type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 11 - User Sends Message to Bot

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 12 - Process Initialization Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Run "Low-Const Travel Finder" workflow

Type / Role
n8n-nodes-browseract.browserAct - browserAct
Config choices
Version 1

Block 14 - Analyze Data & Generate Response

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 15 - Split Out Generated Data

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 16 - Avoid Rate Limits

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 17 - Send Travel List to User

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 18 - Step 1 Explanation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Step 2 Explanation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Step 3 Explanation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Step 4 Explanation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Documentation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Find cheap flight deals using Google Gemini, GPT-4, Telegram and BrowserAct
Complexity advanced
Nodes 23
Categories Market Research, AI Chatbot
Author Madame AI Team | Kai
Published 03 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12435/12435.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Find cheap flight deals using Google Gemini, GPT-4, Telegram and BrowserAct do?

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 scrap...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Chatbot use case.