Back to Templates

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

Last update

Last update 3 hours ago

Share


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

  1. Create an Apify account and add your API token as both an "Apify API" credential and an "HTTP Query Auth" credential (parameter name: token)
  2. Add your OpenAI API key as an "OpenAI" credential
  3. Connect your Google account via OAuth2 and update the folderId in the "Create Document" node to your Google Drive folder
  4. 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