Ai-optimized travel itinerary generator with Skyscanner, Booking.com and Gmail
Needs changesWhat this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Slack and OpenRouter Chat Model. It also calls skyscanner-api.p.rapidapi.com, booking-com.p.rapidapi.com and api.tequila.kiwi.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract Request Data (Edit Fields (Set)): sets 6 fields: destination, departureCity, checkInDate…
- Search Flights - Skyscanner (HTTP Request): calls skyscanner-api.p.rapidapi.com (POST)
- Search Hotels - Booking.com (HTTP Request): calls booking-com.p.rapidapi.com
- Search Alternative Flights - Kiwi (HTTP Request): calls api.tequila.kiwi.com
- Get Weather Forecast (HTTP Request): calls api.openweathermap.org
- Search Local Activities - Viator (HTTP Request): calls viator-api.p.rapidapi.com
- Merge All Data Sources (Code): runs custom JavaScript code
- Enhanced Itinerary Builder (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model
- AI Score & Recommendations (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: skyscanner-api.p.rapidapi.com, booking-com.p.rapidapi.com, api.tequila.kiwi.com, api.openweathermap.org, viator-api.p.rapidapi.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent - Itinerary Optimizer (v1): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Itinerary Optimizer (v1) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
Introduction Automates travel planning by aggregating flights, hotels, activities, and weather via APIs, then uses AI to generate professional itineraries delivered through Gmail and Slack. How It Works Webhook receives requests, searches APIs (Skyscanner,…