AI Agents
Automated workflow
8 nodes
234
162
Automatic trigger
Workflow Description
An intelligent workflow that combines an AI Agent with conversation memory to handle continuous requests. It receives messages via Chat Trigger, maintains user context in Memory, leverages OpenAI for intelligence, and accesses MongoDB for data retrieval as needed.
How it works
- 1.Receive incoming message through Chat Trigger
- 2.Load prior conversation context from Memory Buffer
- 3.Process request using AI Agent with OpenAI models
- 4.Execute available tools based on agent reasoning
- 5.Query MongoDB for relevant data if required
- 6.Send response while preserving updated context
Use cases
- Smart customer support that remembers previous conversation history
- Personal assistant handling multiple tasks based on user context
- Information system combining AI intelligence with secure data access
Requirements
- Valid and active OpenAI API key
- Active connection to MongoDB database
- Chat Trigger authorization to receive incoming messages
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
234
Downloads
162
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