MongoDB Agent
AI Agent powered by OpenAI and MongoDB This flow is designed to work as an AI autonomous agent that can get chat messages, query data from MongoDB using the aggregation framework. Following by augmenting the results from the sample movies collection and allowing storing my favorite movies back to the database using an "insert" flow.
Integrations Used (6)
Prerequisites
Complexity
Some experience helpful. Multiple integrations or logic.
When to Use This Workflow
Real-time Response
React instantly when events happen - new orders, form submissions, or API calls.
Zero delay between trigger and action for time-sensitive workflows.
Time Savings
Replace repetitive manual tasks with reliable automation.
Reclaim hours every week for higher-value work.
Error Reduction
Eliminate human error from routine processes with consistent automation.
Improve accuracy and reliability across your workflows.
{
"id": "22PddLUgcjSJbT1w",
"meta": {
"instanceId": "fa7d5e2425ec76075df7100dbafffed91cc6f71f12fe92614bf78af63c54a61d",
"templateCredsSetupCompleted": true
},
"name": "MongoDB Agent",
"tags": [],
"nodes": [
{
"id": "d8c07efe-eca0-48cb-80e6-ea8117073c5f",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1300,
560
],
"parameters": {
"options": {}
},
...Related Workflows
Chat with Postgresql Database
👨🎤 Setup 1. Add your postgresql and OpenAI credentials. 2. Click Chat button and start asking questions to your datab...
Generate SQL queries from schema only - AI-powered
Run this part only once This section: loads a list of all tables from the database hosted on [db4free](https://db4free....
SQL agent with memory
Run this part only once This section: downloads the example zip file from https://www.sqlitetutorial.net/sqlite-sample-...
Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI
Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...
Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI
Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent
AI Agent to chat with Airtable and analyze data
Replace Mapbox public key - <yourpublickey> in code