MongoDB Agent
Triggered manually or by an app event. Connects Mongo Db Tool, Stop And Error. 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 "
Front matter
name: MongoDB Agent
description: Triggered manually or by an app event. Connects Mongo Db Tool, Stop And Error. ## 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. ## Process The message is being processed by the "Chat Model" and the correct tool is used according to the message.
category: Automation
kind: Workflow
software: Mongo Db Tool|Stop And ErrorMongoDB Agent
Triggered manually or by an app event. Connects Mongo Db Tool, Stop And Error. ## 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. ## Process
The message is being processed by the "Chat Model" and the correct tool is used according to the message.
Steps
- Manual Trigger (manualTrigger)
- OpenAI Chat Model (noOp)
- MongoDBAggregate (mongoDbTool)
- Window Buffer Memory (noOp)
- When chat message received (noOp)
- insertFavorite (noOp)
- AI Agent - Movie Recommendation (noOp)
- Sticky Note (stickyNote)
- Sticky Note1 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.