AI Agents
Automated workflow
8 nodes
233
138
Automatic trigger
Workflow Description
An automated workflow powered by an AI agent that processes inquiries through a chat interface, maintains conversation context in memory, and stores data in MongoDB for later analysis and auditing.
How it works
- 1.Receive incoming message via Chat Trigger
- 2.Process request using AI Agent backed by OpenAI model
- 3.Preserve conversation history through Memory Buffer Window
- 4.Retrieve data from MongoDB when needed
- 5.Execute available tools based on task requirements
- 6.Deliver processed response to the user
Use cases
- Automated customer support that intelligently responds to common questions
- Virtual assistant that learns from previous conversation context
- Support system that automatically retrieves customer information from database
Requirements
- Valid OpenAI API key configured
- Active connection to MongoDB database
- Chat Trigger enabled to receive incoming messages
- Memory buffer settings configured for context retention
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
233
Downloads
138
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