# Find cheap flight deals with Gemini and OpenAI: n8n workflow

> Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to Gemini and OpenRouter.

Source: https://millionrounds.com/workflow/find-cheap-flight-deals-with-gemini-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [CRM](https://millionrounds.com/workflows?category=CRM#library)

# Find cheap flight deals with Gemini and OpenAI

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to Gemini and OpenRouter. 17 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: Gemini, OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-cheap-flight-deals-with-gemini-and-openai)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 8 Logic 4 Service 4

The steps in the order they run, from what starts it.

- 1 **Validate user Inputs** Lm Chat Google Gemini *Model*
- 2 **Google Gemini** Lm Chat Google Gemini *Model*
- 3 **OpenRouter Model** Lm Chat Open Router *Model*
- 4 **User Sends Message to Bot** Telegram trigger *Starts it*
- 5 **Validate user Input** Agent *Model*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **Chatting With User** Agent *Model*
- 8 **Analyze Data & Generate Response** Agent *Model*
- 9 **Structured Output** Output Parser Structured *Model*
- 10 **Check For Input Type** Switch *Logic*
- 11 **Answer the User** Telegram *Service*
- 12 **Split Out Generated Data** Split Out *Logic*
- 13 **Process Initialization Alert** Telegram *Service*
- 14 **Run "Low-Const Travel Finder" workflow** Browser Act *Service*
- 15 **Loop Over Items** Split In Batches *Logic*
- 16 **Avoid Rate Limits** Wait *Logic*
- 17 **Send Travel List to User** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 17, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Telegram
- **Model:** Gemini, OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for Gemini and OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Gemini and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-cheap-flight-deals-with-gemini-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also crm, with the same services where possible, closest in size first.

- [**BrowserAct Sogou WeChat SEO Content Intelligence Pipeline** 16 steps · calls a model · Notion, Telegram](https://millionrounds.com/workflow/browseract-sogou-wechat-seo-content-intelligence-pipeline)
- [**Screen and score investment deals with OpenAI and Gmail** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/screen-and-score-investment-deals-with-openai-and-gmail)
- [**Generate style-locked Seedance videos with Gmail and Jira** 18 steps · Gmail, Jira](https://millionrounds.com/workflow/generate-style-locked-seedance-videos-with-gmail-and-jira)
- [**Gumroad Clientbell: Auto-log sales, ping Telegram, & thank** 15 steps · calls a model · Airtable, Email](https://millionrounds.com/workflow/gumroad-clientbell-auto-log-sales-ping-telegram-and-thank)
- [**Auto-reel generator Telegram AI Kie.AI YouTube pipeline** 14 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/auto-reel-generator-telegram-ai-kie-ai-youtube-pipeline)
- [**Capture and Store CRM Contacts with Telegram and Gemini** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/capture-and-store-crm-contacts-with-telegram-and-gemini)
