Templates / Generate personalized tour itineraries via email with GPT-4o and Pinecone

Generate personalized tour itineraries via email with GPT-4o and Pinecone

Needs changes

by Mohan Gopal ✓ · 257 views · created 2025-06-21 · Lead Nurturing, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs when a new email arrives over IMAP. Along the way it connects OpenRouter Chat Model, OpenAI Chat Model, Vector Store Question Answer and Pinecone Vector Store and 1 more.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Route Workflow by Email Type (Text Classifier): classifies text into categories with AI, with model: OpenRouter Chat Model
  2. Format email content (Code): runs custom JavaScript code
  3. Tour Recommendation AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Answer questions with a vector store); memory: Simple Memory
  4. Package Response Email (Send Email): sends an email over SMTP

Services it uses

OpenRouter Chat ModelOpenAI Chat ModelVector Store Question AnswerPinecone Vector StoreEmbeddings OpenAI

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Tour Recommendation AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Tour Recommendation AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

🏖️ AI-Based Tour Itineraries via Email Using OpenAI & Pinecone Vector Search Overview This workflow automates the process of handling new tour package requests received via email, analyzes the request, and provides personalized tour package recommendations…

Excerpt from Mohan Gopal's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.