Conversational travel booker: Automate flight & hotel reservations with GPT-3.5
Needs changesWhat this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.aviationstack.com and api.booking.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- AI Request Parser (OpenAI): uses OpenAI
- Booking Type Router (Switch): routes items into branches
- Flight Data Processor (Code): runs custom JavaScript code
- Hotel Data Processor (Code): runs custom JavaScript code
- Flight Search API (HTTP Request): calls api.aviationstack.com
- Hotel Search API (HTTP Request): calls api.booking.com
- Flight Booking Processor (Code): runs custom JavaScript code
- Hotel Booking Processor (Code): runs custom JavaScript code
- Confirmation Message Generator (OpenAI): uses OpenAI
- Send Confirmation Email (Send Email): sends an email over SMTP
…plus 1 more step. See the full node list below.
HTTP calls to: api.aviationstack.com, api.booking.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in AI Request Parser, Confirmation Message Generator: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) AI Request Parser, Confirmation Message Generator | OpenAI node (AI section) |
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - OpenAI
n8n-nodes-base.openAi - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Send Email
n8n-nodes-base.emailSend - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This guide walks you through setting up an AI-driven workflow to automate flight and hotel reservation processes using a conversational travel booking system. The workflow accepts booking requests, processes them via APIs, and sends confirmations, enabling a…