AI Agents
Intelligent agent workflow with conversation memory
8 nodes
309
134
Automatic trigger
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
OpenAI
MongoDB
Memory
Chat Trigger
Tool
AI Agent
Details
Trigger
Automatic trigger
Nodes
8
Apps
6
Views
309
Downloads
134
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 (8)
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