Chat agent for movie recommendations using MongoDB aggregation and favorites
Loading workflow…
Workflow Description
Automated workflow leveraging an AI agent powered by OpenAI to respond to user inquiries via chat while maintaining conversation context in memory and accessing MongoDB data when needed for enhanced responses.
How it works
- 1.Receive user inquiries through the chat trigger
- 2.Process messages using OpenAI model with buffered memory
- 3.Call tools or MongoDB to retrieve required information
- 4.Send intelligent response back to user
Use cases
- Build intelligent chatbots that retain conversation history across sessions
- Respond to customer queries with real-time database lookups
- Create AI-powered support agents that understand context
Requirements
- Valid OpenAI API key configured
- Active MongoDB connection with proper credentials
- Chat trigger and AI agent properly configured
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (6)
OpenAI Chat Model
OpenAI
MongoDBAggregate
Mongo Db Tool
Window Buffer Memory
Memory Buffer Window
When chat message received
Chat Trigger
insertFavorite
Tool Workflow
AI Agent - Movie Recommendation
Agent
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides