AI Agents
Intelligent agent with conversation memory and file handling
13 nodes
221
131
Automatic trigger
Workflow Description
An automation template that builds a smart agent powered by OpenAI, retaining conversation history and managing file read/write operations. Users interact with the language model through a chat interface while maintaining full dialogue context across sessions.
How it works
- 1.Activate the agent via chat trigger or manual request
- 2.Call OpenAI model with buffered conversation memory
- 3.Read required files and process data with compression
- 4.Store responses and updated files locally
- 5.Return results to user with context preserved
Use cases
- Intelligent assistant that handles files while understanding conversation history
- Interactive document processor that updates files and preserves context
- Customer support agent that remembers past interactions and related documents
Requirements
- Valid OpenAI API key configured
- Read and write file system permissions
- Chat interface or HTTP endpoint to receive requests
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Memory
OpenAI
Read Write File
AI Agent
Chat Trigger
Details
Trigger
Automatic trigger
Nodes
13
Apps
5
Views
221
Downloads
131
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 (13)
/
Window Buffer Memory
Memory Buffer Window
OpenAI Chat Model
OpenAI
When clicking "Test workflow"
Manual Trigger
Get chinook.zip example
HTTP Request
Extract zip file
Compression
Save chinook.db locally
Read Write File
Load local chinook.db
Read Write File
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Combine chat input with the binary
Set
Sticky Note2
Sticky Note
AI Agent
Agent
Chat Trigger
Chat Trigger