Skip to main content

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

Workflow preview

Workflow preview
100%
Plan AI-powered travel itineraries with Apify, OpenAI, and Google Docs preview
Open on n8n.io

1. Workflow Overview

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...

Best for

  • Miscellaneous automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, @apify/n8n-nodes-apify.apify, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.merge, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Theodoros Mastromanolis.

Original n8n.io source

1.1 Workflow description

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

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Travel Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - Set Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Booking.com Scraper

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 4 - HTTP Request Hotels

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Google Flights Scraper

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 6 - HTTP Request Flights

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - AI Recommendations

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 8 - OpenAI Recommendations Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 9 - Merge All Data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 10 - Process All Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Create Document

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 12 - Prepare Document Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Update Document

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 14 - Prepare Form Ending

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Form Ending

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.4

Block 16 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Plan AI-powered travel itineraries with Apify, OpenAI, and Google Docs
Complexity advanced
Nodes 20
Categories Miscellaneous, Multimodal AI
Author Theodoros Mastromanolis
Published 06 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13921/13921.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Plan AI-powered travel itineraries with Apify, OpenAI, and Google Docs do?

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 do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Miscellaneous, Multimodal AI use case.