# Plan AI-powered travel itineraries with Apify and OpenAI: n8n workflow

> Started by someone submitting a form, and works across Apify and Google Docs. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/plan-ai-powered-travel-itineraries-with-apify-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

# Plan AI-powered travel itineraries with Apify and OpenAI

Started by someone submitting a form, and works across Apify and Google Docs. It hands the judgement calls to OpenAI. 15 steps: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fplan-ai-powered-travel-itineraries-with-apify-and-openai)

**15 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 5 Service 7

The steps in the order they run, from what starts it.

- 1 **Travel Form** Form trigger *Starts it*
- 2 **OpenAI Recommendations Model** Lm Chat Open Ai *Model*
- 3 **Set Variables** Set *Logic*
- 4 **AI Recommendations** Chain Llm *Model*
- 5 **Booking.com Scraper** Apify *Service*
- 6 **Google Flights Scraper** Apify *Service*
- 7 **Merge All Data** Merge *Logic*
- 8 **HTTP Request Hotels** Http Request *Service*
- 9 **HTTP Request Flights** Http Request *Service*
- 10 **Process All Data** Code *Logic*
- 11 **Create Document** Google Docs *Service*
- 12 **Prepare Document Content** Code *Logic*
- 13 **Update Document** Google Docs *Service*
- 14 **Prepare Form Ending** Code *Logic*
- 15 **Form Ending** Form *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 15
- **Size:** Medium: a working afternoon
- **Connects to:** Apify, Google Docs
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Apify and Google Docs accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fplan-ai-powered-travel-itineraries-with-apify-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Apify](https://millionrounds.com/workflows?service=Apify#library)[Google Docs](https://millionrounds.com/workflows?service=Google+Docs#library)

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Build a company website RAG chatbot with Apify and Pinecone** 14 steps · calls a model · Apify, Pinecone](https://millionrounds.com/workflow/build-a-company-website-rag-chatbot-with-apify-and-pinecone)
- [**Convert CDP network topology to Lucidchart prompts with AWX** 14 steps · calls a model · Google Docs](https://millionrounds.com/workflow/convert-cdp-network-topology-to-lucidchart-prompts-with-awx)
- [**Smart knowledge base with Google Docs and Discord** 16 steps · calls a model · Google Docs](https://millionrounds.com/workflow/smart-knowledge-base-with-google-docs-and-discord)
- [**Team knowledge management with Google Docs and Discord** 16 steps · calls a model · Google Docs](https://millionrounds.com/workflow/team-knowledge-management-with-google-docs-and-discord)
- [**AI-powered WhatsApp chatbot with Venom Bot and Gemini** 13 steps · calls a model · Google Docs](https://millionrounds.com/workflow/ai-powered-whatsapp-chatbot-with-venom-bot-and-gemini)
- [**Generate natural health remedies guides with OpenAI** 13 steps · calls a model · Google Docs, n8n data table](https://millionrounds.com/workflow/generate-natural-health-remedies-guides-with-openai)
