AI Agents
A very simple human-in-the-loop email system using AI
16 nodes
217
145
Manual trigger
Workflow Description
A hybrid email system that reads incoming messages via IMAP, analyzes them using an AI agent and OpenAI LLM chain, generates intelligent responses, and sends approved replies automatically through SMTP, keeping humans in control at every step.
How it works
- 1.Retrieve incoming emails using IMAP protocol connection
- 2.Process message content through AI agent and OpenAI language model chain
- 3.Display proposed response for human review and approval
- 4.Send the approved reply via email if authorized, or flag for manual handling
Use cases
- Customer support automation with quality assurance by a team member
- Intelligent response generation for repetitive inquiries while maintaining oversight
- Reducing response time while ensuring brand voice and accuracy
Requirements
- Active email account with IMAP enabled and secure credentials
- Valid OpenAI API key with sufficient quota
- n8n workflow execution environment with manual approval nodes
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Email Read Imap
Email Send
LLM Chain
AI Agent
OpenAI
Details
Trigger
Manual trigger
Nodes
16
Apps
5
Views
217
Downloads
145
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 (16)
/
Email Trigger (IMAP)
Email Read Imap
Markdown
Markdown
Send Email
Email Send
Email Summarization Chain
Chain Summarization
Write email
Agent
OpenAI
OpenAI
Sticky Note2
Sticky Note
Sticky Note5
Sticky Note
Sticky Note1
Sticky Note
Sticky Note7
Sticky Note
Approve Email
Email Send
OpenAI Chat Model
OpenAI
Set Email text
Set
Sticky Note
Sticky Note
Sticky Note11
Sticky Note
Approved?
If