Skip to content
FlowHubFluxonLab
A
AI Automationfree

Travel Planning Assistant with MongoDB Atlas, Gemini LLM and Vector Search

by Pavel Duchovnyadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle Gemini Chat ModelMongoDB Atlas Vector StoreMongoDB Atlas Vector StoreMongoDB Chat MemoryMongoDB Chat MemoryRecursive Character Text SplitterRecursive Character Text Splitter
Share Post Share
ChWhen chat message receivedWhen chat messa…MMMongoDB Chat MemoryMongoDB Chat Me…Google Gemini Chat ModelGoogle Gemini C…VSMongoDB Atlas Vector StoreMongoDB Atlas V…Embeddings OpenAIEmbeddings Open…AgAI Traveling Planner AgentAI Traveling Pl…WeWebhookDDDefault Data LoaderDefault Data Lo…TSRecursive Character Text SplitterRecursive Chara…VSMongoDB Atlas Vector Store1MongoDB Atlas V…Embeddings OpenAI1Embeddings Open…12345
1/5
FLOWS
STEPS · 5
Starts from a chat message

Building agentic AI workflows often requires multiple moving parts: memory management, document retrieval, vector similarity, and orchestration. Until now, these pieces had to be custom-wired. But with the new native n8n nodes for MongoDB Atlas, we reduce that overhead dramatically. With just a few clicks: Store and recall long-term memory from MongoDB Query vector embeddings stored in Atlas Vector Search Use these results in your LLM chains and automation logic In this example we present an ingestion and AI Agent flows that focus around Travel Planning. The different interest points that we want the agent to know about can be ingested into the vector store. The AI Agent will use the vector store tool to get relevant context about those points of interest if it needs to. Prerequisites MongoDB Atlas project and Cluster OpenAI Valid API Key for embeddings (can be other provider) Gemini API Key for the LLM (can be other provider) How it works: There are 2 main flows. One is ingesting flow: Gets a document from a webhook and use MongoDB Vector Atlas to embed the document title and description into points_of_interest collection.

Tags

n8nreference-onlyagentdocument-default-data-loaderembeddings-open-ailm-chat-google-geminimemory-mongo-db-chattext-splitter-recursive-character-text-splittervector-store-mongo-dbatlas
Connects
AAI AgentDDefault Data LoaderembeddingsopenaiEmbeddings OpenAIGoogle Gemini Chat ModelmongodbatlasvectorstoreMongoDB Atlas Vector StoremongodbchatmemoryMongoDB Chat Memory
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes11
AddedApr 16, 2025

Related workflows

See all AI Automation
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
binaryinputloaderembeddingsopenaigoogledriveopenaichatmodel
free

Ask questions about a PDF using AI

The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by David Roberts