# AI-optimized travel itinerary generator with Skyscanner: n8n workflow

> Started by another system calling it, and works across Gmail and Slack. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/ai-optimized-travel-itinerary-generator-with-skyscanner (Millionrounds; every figure on the page links to its filing or article)

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

# AI-optimized travel itinerary generator with Skyscanner

Started by another system calling it, and works across Gmail and Slack. It hands the judgement calls to OpenRouter. 16 steps: a working afternoon to understand properly.

Medium Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-optimized-travel-itinerary-generator-with-skyscanner)

**16 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 5 Service 7

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

- 1 **Webhook - Travel Request** Webhook *Starts it*
- 2 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 3 **Extract Request Data** Set *Logic*
- 4 **AI Agent - Itinerary Optimizer** Agent *Model*
- 5 **Search Flights - Skyscanner** Http Request *Service*
- 6 **Search Hotels - Booking.com** Http Request *Service*
- 7 **Search Alternative Flights - Kiwi** Http Request *Service*
- 8 **Get Weather Forecast** Http Request *Service*
- 9 **Search Local Activities - Viator** Http Request *Service*
- 10 **AI Score & Recommendations** Code *Logic*
- 11 **Merge All Data Sources** Code *Logic*
- 12 **Generate Premium HTML Email** Code *Logic*
- 13 **Enhanced Itinerary Builder** Code *Logic*
- 14 **Send Email via Gmail** Gmail *Service*
- 15 **Respond to Webhook** Respond To Webhook *Starts it*
- 16 **Send Slack Notification** Slack *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 16
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Slack
- **Model:** OpenRouter

## Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 16 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 16 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%2Fai-optimized-travel-itinerary-generator-with-skyscanner)
- **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.

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

## Workflows like it

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

- [**AI-powered salon booking with OpenAI and Google Calendar** 16 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-powered-salon-booking-with-openai-and-google-calendar)
- [**Analyze Google Calendar patterns with OpenAI** 16 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/analyze-google-calendar-patterns-with-openai)
- [**Automatic reminders for follow-ups with OpenAI and Gmail** 16 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automatic-reminders-for-follow-ups-with-openai-and-gmail)
- [**Generate consulting KPI summaries with OpenAI and Slack** 16 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/generate-consulting-kpi-summaries-with-openai-and-slack)
- [**Handle WhatsApp sales inquiries with OpenAI and Pinecone** 16 steps · calls a model · Google Calendar, Pinecone](https://millionrounds.com/workflow/handle-whatsapp-sales-inquiries-with-openai-and-pinecone)
- [**Run a personal LINE assistant with Gemini and Gmail** 16 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/run-a-personal-line-assistant-with-gemini-and-gmail)
