Templates / Connect apps / OpenAI + MongoDB
Connect OpenAI to MongoDB with n8n
16 public n8n templates use both OpenAI and MongoDB. We checked each one against the n8n 3.0 breaking changes: 9 ready, 7 need changes, 0 unknown (community nodes we can’t verify). Data from the 30 November 2026 library snapshot.
Together these templates have 335,400 views on n8n.io. The most viewed is AI-powered WhatsApp chatbot for text, voice, images, and PDF with RAG (258,304 views, needs changes for 3.0). Other apps these templates often use: WordPress (4), X (Twitter) (4), Gmail (3), Google Docs (3), Google Calendar (2), Google Gemini (2).
What needs fixing for n8n 3.0 in this group: AI Agent v1 (old agent modes) (7 templates).
How to connect OpenAI to MongoDB in n8n
- Start from a template instead of a blank canvas. The most viewed one that passes our n8n 3.0 check is Content farming - : AI-powered blog automation for WordPress.
- Pick how it starts. Most of these workflows start with Chat Trigger (6 templates), Manual Trigger (6 templates), Schedule Trigger (4 templates).
- Add your own credentials. Templates never include credentials, so open each OpenAI and MongoDB node and connect your accounts. In this group, for OpenAI all of them use n8n’s built-in OpenAI node; for MongoDB, all of them use n8n’s built-in MongoDB node.
- Run it once with test data, then turn it on. Before upgrading to n8n 3.0, paste your version into the 3.0 checker.
OpenAI + MongoDB templates
- Needs changes AI-powered WhatsApp chatbot for text, voice, images, and PDF with RAG · 258,304 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Content farming - : AI-powered blog automation for WordPress · 35,913 views
- Needs changes Build a knowledge base chatbot with OpenAI, RAG and MongoDB vector embeddings · 14,863 views
Fix: AI Agent v1 (old agent modes) - Needs changes Build a chatbot with Reinforced Learning Human Feedback (RLHF) and RAG · 7,309 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 AI-powered multi-platform assistant with Google Suite, LinkedIn & Twitter · 6,214 views
- Needs changes Travel planning assistant with MongoDB Atlas, Gemini LLM and vector search · 3,766 views
Fix: AI Agent v1 (old agent modes) - Needs changes MongoDB AI agent - intelligent movie recommendations · 3,104 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Document Q&A system with Voyage-Context-3 embeddings and MongoDB Atlas · 1,381 views
- Ready for 3.0 AI blog automation: Publish hourly SEO articles to WordPress & Twitter v3 · 1,273 views
- Needs changes Predictive health monitoring & alert system with GPT-4o-mini · 1,237 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Process voice, images & documents with GPT-4o, MongoDB & Gmail tools · 893 views
- Ready for 3.0 Content Farming v4 - Blog Automation for Wordpress using ChatGPT 5 and Gemini · 584 views
- Ready for 3.0 Generate & publish SEO-optimized Shopify blog articles with Gemini & ChatGPT · 247 views
- Needs changes Dynamic MongoDB knowledge base chatbot with OpenAI GPT · 132 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Build a WordPress RAG chatbot with OpenAI, Qdrant or MongoDB · 129 views
- Ready for 3.0 Generate business strategy canvases with GPT-4o, Tavily, MongoDB and Gmail · 51 views
Check your own OpenAI → MongoDB workflow or see all OpenAI templates and all MongoDB templates
Other OpenAI pairs
- OpenAI + Google Sheets (2,011)
- OpenAI + Gmail (1,623)
- OpenAI + Slack (979)
- Telegram + OpenAI (807)
- OpenAI + Google Drive (628)
- OpenAI + Google Gemini (249)
- Apify + OpenAI (230)
- OpenAI + Airtable (215)
Other MongoDB pairs
- Google Gemini + MongoDB (11)
- Telegram + MongoDB (10)
- MongoDB + Gmail (7)
- MongoDB + Google Sheets (6)
- X (Twitter) + MongoDB (6)
- Google Calendar + MongoDB (4)
- MongoDB + Slack (4)
- WordPress + MongoDB (4)
FAQ
Is there an n8n template to connect OpenAI to MongoDB?
Yes. 16 public n8n templates use both OpenAI and MongoDB. The most viewed is “AI-powered WhatsApp chatbot for text, voice, images, and PDF with RAG” with 258,304 views.
Do the OpenAI and MongoDB n8n templates work in n8n 3.0?
By our static check, 9 are ready for n8n 3.0, 7 need changes and 0 are unknown because they use community nodes we can’t verify. The most common fix: AI Agent v1 (old agent modes).
Does n8n have a built-in OpenAI node?
Yes, every template here uses n8n’s built-in OpenAI node.
Static check of the workflow JSON, not a live run on n8n 3.0. Apps are detected from the nodes in each workflow and from well-known API addresses in HTTP Request nodes. All app pairs.
Tools we use or recommend
- Make: Visual automation platform; a good alternative when an n8n flow needs a rebuild. Free plan available.
- Firecrawl: Turns any website into clean, LLM-ready data; simpler than hand-rolled scraping. New users get 10% off their first purchase.
Affiliate links: we may earn a commission at no cost to you.