Plan AI-powered travel itineraries with Apify, OpenAI, and Google Docs

Go to Workflow
1 views
Built by Theodoros Mastromanolis Theodoros Mastromanolis
Created on June 07, 2026

Description

Who is this for

Travel agencies, freelance travel planners, or anyone who wants to automate personalized trip planning by combining real-time hotel and flight data with AI-generated recommendations.

What this workflow does

Collects travel details (airports, dates, travelers) through an n8n form
Scrapes the top 5 hotels from Booking.com sorted by review score via Apify
Scrapes the best available flights from Google Flights via Apify
Generates restaurant, attraction, and day-by-day itinerary recommendations using OpenAI
Merges all results into a formatted Google Doc and returns the link to the user

How to set up

Create an Apify account and add your API token as both an "Apify API" credential and an "HTTP Query Auth" credential (parameter name: token)
Add your OpenAI API key as an "OpenAI" credential
Connect your Google account via OAuth2 and update the folderId in the "Create Document" node to your Google Drive folder
Activate the workflow and share the form URL

Requirements

Apify account with API token (for Booking.com and Google Flights scrapers)
OpenAI API key
Google account with Docs and Drive access

How to customize

Swap the form trigger for a webhook or chatbot input
Change the output from Google Docs to email, Slack, or Notion
Adjust the OpenAI prompt to focus on budget travel, luxury, or specific interests

Nodes Used (5)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Docs
n8n-nodes-base.googleDocs
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi